context-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | HTTP bind host (default: localhost) | localhost |
| PORT | No | HTTP server port (default: 3100) | 3100 |
| DATA_DIR | No | Path to the data directory (default: ~/.context-mcp) | ~/.context-mcp |
| ACCESS_GIT | No | Enable git tools for HTTP clients (default: false) | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| codegraph_buildA | Scan a project directory and build the knowledge graph from code files. Uses tree-sitter AST (with regex fallback) for all code files. Fast, local, no API key needed. Run once per project; rebuild whenever code changes. |
| codegraph_queryA | Ask a structural question about the codebase OR look up a specific node by name — or both in one call. Pass |
| codegraph_reportC | Return CODEGRAPH_REPORT.md — god nodes, clusters, surprising connections, suggested questions. |
| codegraph_nodesB | List all nodes of a given type in the graph. |
| codegraph_pathC | Find the shortest relationship path between two concepts in the graph. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vibhasdutta/context-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server