The Project MCP Server is a powerful tool for managing project knowledge graphs, helping project managers track progress, dependencies, resources, and team members through a structured representation of project entities and their relationships.
There are several ways to install and run the Project MCP Server:
To install and run directly from GitHub using npx:
claude_desktop_config.json
:{
"mcpServers": {
"project": {
"command": "npx",
"args": [
"-y",
"github:tejpalvirk/project"
]
}
}
}
To install globally and run directly:
npm install -g github:tejpalvirk/project
Then configure Claude Desktop by adding this to your claude_desktop_config.json
:
{
"mcpServers": {
"project": {
"command": "contextmanager-project"
}
}
}
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"project": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp/project"
]
}
}
}
You can customize where data is stored using environment variables:
./project/memory.json
)./project/sessions.json
)Example usage:
# Store data in the current directory
MEMORY_FILE_PATH="./pm-memory.json" SESSIONS_FILE_PATH="./pm-sessions.json" npx github:tejpalvirk/contextmanager-project
# Store data in a specific location (absolute path)
MEMORY_FILE_PATH="/path/to/data/project-memory.json" npx github:tejpalvirk/contextmanager-project
The server provides several tools for managing project knowledge:
To begin a new project management session:
Let's start a new project management session to review the Mobile App Development project.
This will generate a unique session ID and display current projects, tasks, milestones, risks, and recent sessions.
To view details for a specific entity:
Load the context for the Mobile App Development project so I can see its current status.
After completing a project meeting or work session:
I've just finished a project review meeting for Mobile App Development. We completed the UI design milestone, identified 2 new risks related to the backend API, and assigned 3 new tasks to the development team. The UI tasks are now marked as complete, and we've set the API development tasks as high priority. The project is still on track but we need to monitor the API risks closely.
Creating new tasks:
Create a new task called "Implement User Authentication" that's part of the Mobile App Development project, assigned to Sarah, with high priority and due in two weeks. Set its status to active and make it precede the "User Profile" task.
Updating task status:
Update the status of the "Database Migration" task to "completed" and add an observation that it was finished ahead of schedule.
The server recognizes various entity types:
Entities can be connected through relationships such as:
The server includes domain-specific functions for project management:
These capabilities help project managers maintain context continuity, track dependencies, monitor risks, allocate resources effectively, and make informed decisions based on comprehensive project data.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "project" '{"command":"npx","args":["-y","github:tejpalvirk/project"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"project": {
"command": "npx",
"args": [
"-y",
"github:tejpalvirk/project"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"project": {
"command": "npx",
"args": [
"-y",
"github:tejpalvirk/project"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect