A .NET 11 MCP server exposing Roslyn compiler analysis (16 tools: diagnostics, hover, references, code fixes) to AI coding agents. Works with Reasonix, Claude, Cursor.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"roslyn-mcp-server": {
"command": "npx",
"args": [
"-y",
"SunNull/roslyn-mcp-server"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add roslyn-mcp-server npx -y SunNull/roslyn-mcp-server
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"roslyn-mcp-server": {
"command": "npx",
"args": [
"-y",
"SunNull/roslyn-mcp-server"
]
}
}
}
📋 Copy