@aidotnet/codegraph-mcp
v1.0.0
Published
Code intelligence MCP server for symbol search, call graphs, impact analysis, and source context.
Maintainers
Readme
OpenCowork CodeGraph MCP
Code intelligence over MCP: symbol search, source context, callers/callees, call paths, impact analysis, and indexed file browsing.
Requirements
- Node.js 18 or later
- .NET 10 runtime
- macOS, Linux, or Windows on x64/arm64
Run with npx
npx -y @aidotnet/[email protected] \
--project /absolute/path/to/projectMCP client configuration:
{
"mcpServers": {
"codegraph": {
"command": "npx",
"args": [
"-y",
"@aidotnet/[email protected]",
"--project",
"/absolute/path/to/project"
]
}
}
}--project is optional. The server falls back to CODEGRAPH_PROJECT_PATH, then the
process working directory. Set CODEGRAPH_MCP_TOOLS to a comma-separated tool allowlist;
without it, the advertised surface contains only codegraph_explore.
The first tool call automatically creates the local index. Large projects may return an index-in-progress message; retry after indexing finishes.
License
MIT
