MCP directory
RM

Roslyn Mcp

by github.com/darylmcd · v5.1.1 · updated Nov 14, 2026

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

NuGet

Run it locally

Install the package and point your AI client at it.

NuGet

dnx Darylmcd.RoslynMcp --yes

Environment variables

  • ROSLYNMCP_SANCTIONED_ROOTS

    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.

More MCP servers