Local-first MCP server for semantic C# analysis & refactoring via Roslyn & MSBuildWorkspace.
Local-first MCP server for semantic C# analysis & refactoring via Roslyn & MSBuildWorkspace. The roslyn mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 11 defined tools rather than through you.
Local-first MCP (Model Context Protocol) server for semantic C# analysis, navigation, validation, and refactoring on real .sln / .slnx / .csproj workspaces. It uses Roslyn and MSBuildWorkspace, runs over stdio, and does not require Visual Studio.
Everything the assistant can do here goes through one of these:
Updates — dotnet tool update -g Darylmcd.RoslynMcproslyn — //server/catalog for the machine-readable contractClient — Config fileCursor — .cursor/mcp.json (repo root) or ~/.cursor/mcp.json (global)Variable — DefaultROSLYNMCP_MAX_WORKSPACES — 8ROSLYNMCP_BUILD_TIMEOUT_SECONDS — 300ROSLYNMCP_TEST_TIMEOUT_SECONDS — 600ROSLYNMCP_PREVIEW_TTL_MINUTES — 5ROSLYNMCP_REQUEST_TIMEOUT_SECONDS — 120Prerequisites — The Prerequisites tool exposed by this serverSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
10.0.100 in global.json (rollForward: latestFeature)Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Roslyn's toolset — Updates, roslyn, Client and 8 more — is a fair guide to whether it matches your workflow. It is maintained by darylmcd; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Updates | dotnet tool update -g Darylmcd.RoslynMcp |
| roslyn | //server/catalog for the machine-readable contract |
| Client | Config file |
| Cursor | .cursor/mcp.json (repo root) or ~/.cursor/mcp.json (global) |
| Variable | Default |
| ROSLYNMCP_MAX_WORKSPACES | 8 |
| ROSLYNMCP_BUILD_TIMEOUT_SECONDS | 300 |
| ROSLYNMCP_TEST_TIMEOUT_SECONDS | 600 |
| ROSLYNMCP_PREVIEW_TTL_MINUTES | 5 |
| ROSLYNMCP_REQUEST_TIMEOUT_SECONDS | 120 |
| Prerequisites | The Prerequisites tool exposed by this server. |
10.0.100 in global.json (rollForward: latestFeature)Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.