Local-first MCP server for semantic C# analysis & refactoring via Roslyn & MSBuildWorkspace.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add roslyn-mcp \ -- dnx [email protected] --yes
Environment
ROSLYNMCP_SANCTIONED_ROOTS (optional, not in the config above): 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 value fails closed: every path-taking tool rejects its input.We don't run packages, so we can't list this server's tools.