MCP Context Manager
@tejpalvirk
关于 MCP Context Manager
MCP Servers for persistent context across work sessions using knowledge graphs
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"contextmanager": {
"command": "npx",
"args": [
"github:tejpalvirk/contextmanager"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Context Manager?
MCP Context Manager is a collection of Model Context Protocol (MCP) servers that provide AI models with persistent context across work sessions throughout the project lifecycle. It stores context in domain‑specific knowledge graphs and offers a central manager for unified access to multiple domain servers.
How to use MCP Context Manager?
Install via npx github:tejpalvirk/contextmanager (recommended) or globally with npm install -g github:tejpalvirk/contextmanager and run mcp-server-contextmanager. Use tools such as setActiveDomain, startsession, endsession, buildcontext, loadcontext, and deletecontext to manage context. Configure domain selection with the --domains flag and data paths with environment variables MEMORY_FILE_PATH and SESSIONS_FILE_PATH.
Key features of MCP Context Manager
- Persistent context with buildcontext, loadcontext, and deletecontext tools
- Session management with startsession and endsession tools
- Cross‑domain support for relationships between different knowledge domains
- Knowledge graph storage for token efficiency and context window performance
- Unified interface with smart routing to domain‑specific servers
- Standardized status, priority, and sequencing across domains
Use cases of MCP Context Manager
- Manage software development context (projects, components, tasks) with status and priority tracking
- Handle project management knowledge (tasks, resources) with sequencing and progress tracking
- Support educational workflows (courses, assignments, exams) with learning sequences
- Organize qualitative research data (studies, participants, interviews) with analysis sequencing
- Structure quantitative research datasets (variables, analyses) with sequential process management
FAQ from MCP Context Manager
What problem does MCP Context Manager solve compared to plain context windows?
It uses knowledge graphs to free up the AI’s context window (performance) and minimize token cost (efficiency), providing persistent, organized context across sessions.
What are the runtime requirements?
Node.js v16 or higher and npm v7 or higher are required. No external databases or services are needed beyond the local file system.
Where does the knowledge graph data live?
Data is stored in two files per domain: a memory file (default <domain_directory>/memory.json) and a sessions file (default <domain_directory>/sessions.json). Paths can be customized with environment variables MEMORY_FILE_PATH and SESSIONS_FILE_PATH.
What transport protocol does MCP Context Manager use?
It uses the MCP Client SDK to communicate between the Context Manager and domain servers, and it exposes an MCP server interface for integration with clients like Claude Desktop.
How do I handle a “port already in use” error?
Use the --port argument to specify a different port (default is 3000), for example npx github:tejpalvirk/contextmanager --port 3001.
其他 分类下的更多 MCP 服务器

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
ICSS
chokcoco不止于 CSS
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
评论