MCP.Market

Roslyn MCP server

by darylmcd·io.github.darylmcd/roslyn-mcp·v5.0.0·1 stars

Local-first MCP server for semantic C# analysis & refactoring via Roslyn & MSBuildWorkspace.

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

not scanned yet

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed Roslyn yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Roslyn tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Roslyn compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 75% of 48,255 servers
GitHub stars
1
more than 65% of 28,688 servers

Release history: 4 versions in the registry since 2026-09-14, latest 2026-10-29, typically one every 10 days.

Install Roslyn in Claude Code, Cursor or VS Code

The registry entry has no remote endpoint or installable package.

What the publisher says

From the Roslyn repository's README, as published. We do not edit it. Read it on GitHub

Roslyn-Backed MCP Server

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.

Correct package ID: Darylmcd.RoslynMcp  ·  CLI: roslynmcp  ·  Plugin: roslyn-mcp@roslyn-mcp-marketplace

What It Does

  • Loads real C# solutions and projects with session-scoped workspaceIds.
  • Exposes semantic navigation, diagnostics, build/test helpers, and preview/apply refactoring workflows over MCP.
  • Ships as a .NET global tool, a Claude Code plugin, and a source-buildable stdio host.
  • Publishes the authoritative live surface through server_info and roslyn://server/catalog.

Why Roslyn-Backed MCP

  • No Visual Studio dependency — runs anywhere the .NET SDK runs (Windows, macOS, Linux, containers, CI).
  • Production ops discipline — repeatable CI mirror (just ci), release verification scripts, and documented update paths for the global tool and release-pinned Claude Code plugin.
  • Safe install defaults — no ${userconfig.} placeholder substitution that breaks prompt-skipping install flows; the server starts with compiled-in defaults and accepts literal overrides via project-scope .mcp.json.
  • Authoritative live surface — every release publishes server_info + roslyn://server/catalog so clients can discover the exact tool/resource/prompt set and support tier (stable vs experimental) without guessing.
  • Preview → apply discipline — refactoring tools issue preview tokens with TTLs and a verify step before mutating the workspace, so agents can dry-run multi-file edits.
  • Three install paths — pick one: global tool (dotnet tool install), zero-install via dnx (.NET 10), or the Claude Code plugin.

Quick Start

Prerequisites

  • .NET 10 SDK — source builds use the 10.0.400 floor in global.json (rollForward: latestFeature); published install paths retain their own package/runtime requirements

Option A — Install As A Global Tool

dotnet tool install -g Darylmcd.RoslynMcp
  • Package ID: Darylmcd.RoslynMcp
  • CLI command: roslynmcp
  • Updates: dotnet tool update -g Darylmcd.RoslynMcp

Configure a filesystem boundary before first use. The global tool ships a binary, not a

config — you write your own .mcp.json, and an unset boundary is fail-closed: every

path-taking tool (workspace_load, edits, symbol lookups) rejects its input, and solution

discovery returns nothing. Set ROSLYNMCPSANCTIONEDROOTS in your client config:

json

{

"mcpServers": {

"roslyn": {

"type": "stdio",

"command": "roslynmcp",

"env": { "ROSLYNMCPSANCTIONEDROOTS": "." }

}

}

}

. resolves against the server process's working directory, which your MCP client chooses —

use an absolute path if you want the boundary pinned regardless of how the server is launched.

See Configuration. The Claude Code plugin and Desktop extension ship this

default already; only hand-written configs need it.

Option B — Zero-Install Via dnx (.NET 10)

dnx is the .NET SDK's npx-equivalent: it resolves a tool package from NuGet on demand, without installing a global shim. Requires .NET 10 SDK 10.0.100 or later (dnx ships with the SDK).

One-shot smoke test:

dnx Darylmcd.RoslynMcp

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Roslyn: common questions

Is Roslyn MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the Roslyn safety report
Does Roslyn need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is Roslyn maintained?
The last commit was 34 days ago (2026-10-01). The latest release is v5.0.0.
What can I use instead of Roslyn?
Servers from other publishers that do the same job: Sem MCP server.
How does Roslyn compare with other MCP servers?
safety score 88/100 (higher than 75% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers). Full comparison.

Alternatives to Roslyn

Same job from other publishers: the closest match first, then the best rated.

  • Sem
    Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents
    B