dotMCP 0.3.0
See the version list below for details.
{ "servers": { "dotMCP": { "type": "stdio", "command": "dnx", "args": ["dotMCP@0.3.0", "--yes"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global dotMCP --version 0.3.0
dotnet new tool-manifest
dotnet tool install --local dotMCP --version 0.3.0
#tool dotnet:?package=dotMCP&version=0.3.0
nuke :add-package dotMCP --version 0.3.0
dotMCP
MCP server that exposes a C# solution as a semantic graph over Roslyn, instead of requiring an LLM agent to grep files and re-parse text on every step.
What it's for
Connect this server to an MCP-capable client (Claude Code, VS Code + Copilot, Cursor, etc.) so the agent can navigate, analyze, and edit a C# solution through typed tool calls (get_type, get_call_graph, find_writes, rename_symbol, concurrency_audit, tests_run, and more) instead of raw file search-and-replace.
All tool responses are TOON-encoded (Token-Oriented Object Notation, spec v3): the same facts as JSON with camelCase keys and nulls omitted, at a fraction of the token cost — uniform result lists collapse into one header plus tabular rows.
See the repository at https://github.com/QsROg8320/SharpMCP —
.claude/skills/dotmcp-tools/SKILL.md there documents all 61 tools with real
tested examples, argument constraints, and known gaps.
Usage via NuGet (dnx)
VS Code / clients that use a "servers" config block:
{
"servers": {
"dotMCP": {
"type": "stdio",
"command": "dnx",
"args": ["dotMCP@0.3.0", "--yes"]
}
}
}
qwen-code / Pi Coding Agent / other clients that use a plain "mcpServers" block
(do not include "servers" or "type" here — those are VS Code-specific and
will be rejected by these clients):
{
"mcpServers": {
"dotMCP": {
"command": "dnx",
"args": ["dotMCP@0.3.0", "--yes"]
}
}
}
Requires the .NET 10 SDK (for the dnx command) on the machine running the MCP
client.
Environment variables
DOTMCP_RELOAD_DEBOUNCE_SECONDS— quiet period of the file watcher before external edits trigger a workspace reload (default 60).DOTMCP_DEPLOY_SKILL=true— opt-in: deploy the bundled Claude Code skill doc on startup.DOTMCP_SKILLS_DIR— overrides the skills directory for that deployment.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.