MCP Context Manager
MCP Servers for persistent context across work sessions using knowledge graphs for efficiency
Overview
MCP Context Manager is a framework that enhances AI models with a project management system, providing persistent context across work sessions throughout the project lifecycle.
You can use the MCP Context Manager by running it via npx or installing it globally. It allows you to manage multiple domain-specific servers for various contexts.
- Persistent Context: Build, load, and delete context as you progress through your project. - Efficient Access: AI models can access the exact context they need when required. - Session Management: Tools to start and end sessions, analyzing past work and updating knowledge graphs. - Cross-Domain Support: Manage multiple knowledge domains through a unified interface.
- Managing software development projects with context on tasks and components.
- Overseeing educational projects with context on courses and assignments.
- Conducting qualitative and quantitative research with relevant context.
Add to your AI client
Use these steps to connect MCP Context Manager in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"contextmanager-tejpalvirk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-contextmanager-tejpalvirk"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"contextmanager-tejpalvirk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-contextmanager-tejpalvirk"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"contextmanager-tejpalvirk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-contextmanager-tejpalvirk"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"contextmanager-tejpalvirk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-contextmanager-tejpalvirk"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"contextmanager-tejpalvirk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-contextmanager-tejpalvirk"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"contextmanager-tejpalvirk": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-contextmanager-tejpalvirk"
]
}
}
}FAQ
Can I use MCP Context Manager for different domains?
Yes! It supports multiple domains like development, project management, education, and research.
Is there a command-line interface?
Yes! You can interact with the Context Manager and domain servers through command-line arguments.
How do I troubleshoot common issues?
The documentation provides solutions for common errors like port conflicts and connection issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3102,"uuid":"16fff09b-6f72-4dee-9b2f-16406648b973","name":"contextmanager","title":"MCP Context Manager","description":"MCP Servers for persistent context across work sessions using knowledge graphs for efficiency","avatar_url":"https://avatars.githubusercontent.com/u/29261990?v=4","created_at":"2025-03-18T02:40:40.255Z","updated_at":"2025-03-23T05:10:22.612Z","status":"created","author_name":"tejpalvirk","author_avatar_url":"https://avatars.githubusercontent.com/u/29261990?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/tejpalvirk/contextmanager","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"1\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-04-06 00:11:42\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]