roslyn-mcp
io.github.darylmcd/roslyn-mcp · v5.0.1 stdio
Local-first MCP server for semantic C# analysis & refactoring via Roslyn & MSBuildWorkspace.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #1589 of 1,679 Other servers on Socketlist by score, with 1 GitHub stars and a last code push 19d ago.
Install
dnx Darylmcd.RoslynMcp@5.0.1 --yesAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect roslyn-mcp to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.
claude mcp add --transport stdio roslyn-mcp -- dnx Darylmcd.RoslynMcp@5.0.1 --yes.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.
{
"mcpServers": {
"roslyn-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"Darylmcd.RoslynMcp@5.0.1",
"--yes"
]
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"roslyn-mcp": {
"command": "dnx",
"args": [
"Darylmcd.RoslynMcp@5.0.1",
"--yes"
]
}
}
}Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
ROSLYNMCP_SANCTIONED_ROOTS | No | No | Server-owned filesystem boundary for path validation and solution discovery. Path-separator-delimited (';' on Windows, ':' on macOS/Linux). '.' scopes the server to its working directory. An empty val |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"dnx",
"Darylmcd.RoslynMcp@5.0.1",
"--yes"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 40/40 | Last push 19d ago, 0 open issues | Strong |
| Security hygiene | 29/35 | Licence MIT, SECURITY.md present, no published package | Strong |
| Adoption | 2/25 | 1 GitHub stars | Weak |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Other. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 1 |
| npm weekly downloads | - |
| Last push | 19d ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | Yes |
| Language | C# |
| Latest version published | 2026-11-07 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers
Roslyn CodeLens
Score 89. Maintenance 40 of 40, security 35 of 35, adoption 14 of 25.io.github.MarcelRoozekrans/roslyn-codelens
Roslyn MCP server: semantic .NET/C# intelligence - analysis, refactoring, tests, IL inspection.
SharpLens
Score 73. Maintenance 36 of 40, security 25 of 35, adoption 13 of 25.io.github.pzalutski-pixel/sharplens
67 semantic C#/.NET analysis tools via Roslyn: navigation, refactoring, codegen, audit.
Persome
Score 86. Maintenance 36 of 40, security 35 of 35, adoption 15 of 25.io.github.Intuition-Lab/personal-model
Local-first personal memory and model server for trusted MCP agents on macOS.