Codereach MCP
Roslyn call graph for ASP.NET Core: which endpoints and jobs reach a method
Codereach MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI
- Runs
- Locally
- Version
- 0.3.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add codereach-mcp -- dnx CodeReach.Mcp --yesAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"codereach-mcp": {
"command": "dnx",
"args": [
"CodeReach.Mcp",
"--yes"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"codereach-mcp": {
"command": "dnx",
"args": [
"CodeReach.Mcp",
"--yes"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"codereach-mcp": {
"command": "dnx",
"args": [
"CodeReach.Mcp",
"--yes"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"codereach-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"CodeReach.Mcp",
"--yes"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add codereach-mcp -- dnx CodeReach.Mcp --yesOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.codereach-mcp]
command = "dnx"
args = ["CodeReach.Mcp", "--yes"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"codereach-mcp": {
"command": "dnx",
"args": [
"CodeReach.Mcp",
"--yes"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Or run: gemini mcp add -s user codereach-mcp dnx -- CodeReach.Mcp --yes
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "codereach-mcp": { "command": "dnx", "args": [ "CodeReach.Mcp", "--yes" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Codereach MCP
Grep stops at the first interface in a layered application, while this server loads a C# solution with Roslyn and builds its call graph from the compiler's own semantic model. A call through an interface is followed to its implementation, and chains are traced up to controller actions, minimal API handlers and background services.
The tool most people will start with maps a git diff, whether uncommitted changes, a base ref or pasted diff text, to the endpoints and jobs it affects. Others list routes with verb, full template and authorization, including custom permission attributes, with an option to show only unprotected ones. The DI tool reports captive dependencies, services that are injected but not registered and double registrations. Tests are excluded because their project references a test framework, not because of a file name.
It runs on your machine with no account or hosted service, installs no hooks, and writes nothing into the solution; the index lives in a user cache directory. It needs the .NET 10 SDK and a solution that builds. Answers state whether the analysis was complete or partial and whether the index is stale. Every tool also works as a shell command, and a local browser page offers a command bar and health report.
Tools this server provides (13)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 13 tools read data; 10 names don't say.
From the server's own tool labels and tool names; not verified by us.
- trace_to_entrypoints
- Entry points that reach a symbol, with one call path each
- impact
- Map a git diff to the endpoints and jobs it affects
- routes
- Endpoints with verb, route, handler and authorization
- callers
- Callers of a symbol with interface dispatch resolved
- callees
- Callees of a symbol with interface dispatch resolved
- find_usagesName suggests: reads
- Every reference bound to a symbol
- find_symbolName suggests: reads
- Declarations by name
- entrypoints
- All roots a trace can stop at
- architecture
- Projects, cross-project usage and most-called methods
- type_hierarchy
- Inheritance, implementations and members of a type
- di_registrations
- Dependency injection registrations and problems
- statusName suggests: reads
- Index state and freshness
- reindex
- Force an index refresh
What it does
- Diff impact
- Maps a git diff to the endpoints and jobs it touches.
- Entry point tracing
- Shows each endpoint, hosted service or other root that reaches a symbol with one call path.
- Route and auth listing
- Lists endpoints with full route and authorization, including custom permission attributes.
- DI diagnostics
- Flags captive dependencies, unregistered services and double registrations.
- Interface-aware callers
- Resolves interface and virtual dispatch when listing callers and callees.
- Honest completeness
- Answers say whether analysis was complete or partial and whether the index is stale.
- Ready-made prompts
- Prompts cover diff review, change blast radius, auth audit and endpoint explanation.
Good for
- Review which endpoints a pull request affects
- Audit endpoints that have no authorization
- Check the blast radius before changing a method
- Explain an endpoint from route to data access
- Find dependency injection mistakes in a solution
Pricing
Open source
Codereach MCP FAQ
What does Codereach MCP need?
The .NET 10 SDK and a C# solution that builds.
Does Codereach MCP send code anywhere?
No. It runs locally with no account or hosted service.
Does Codereach MCP change my solution?
No. It writes nothing into the solution; the index sits in your user cache directory.
Can I use Codereach MCP without an MCP client?
Yes. Each tool is also a shell command, and a local page offers a command bar.
Is Codereach MCP free?
Yes. Codereach MCP is open source, so you can use and self-host it for free.
How do I add Codereach MCP to Claude Code?
Run this command in your terminal: claude mcp add codereach-mcp -- dnx CodeReach.Mcp --yes
What are the best alternatives to Codereach MCP?
The closest alternatives to Codereach MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


