Roz MCP Server

Roslyn-powered C# code navigation, blast-radius analysis, and verified edits for coding agents.

Local serverstdioGo

What is the Roz MCP server?

Roz MCP server exists for a simple reason — assistants are far more useful when they can act on Roz directly instead of describing what you should do. Roslyn-powered C# code navigation, blast-radius analysis, and verified edits for coding agents.

What you get

roz is an MCP server that gives C# coding agents the compiler's view of a solution. It finds every real reference to a symbol, including the edges text search misses: overrides, interface dispatch, DI registrations. It renames a symbol across the whole solution in one call, previews the blast radius of a proposed change, and makes edits that verify themselves against the compiler in the same round trip. roz runs as a .NET global tool over stdio; one roz-mcp setup command configures Claude Code, Cursor, VS Code Copilot Chat, or Codex CLI.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

What the assistant can call

Once Roz is connected, these are the calls the assistant has available:

  • find_symbol — navigation
  • get_symbols_overview — navigation
  • go_to_definition — navigation
  • find_overloads — navigation
  • analyze_method — navigation
  • find_references — references
  • find_implementations — references
  • analyze_change_impact — references
  • get_type_hierarchy — types
  • get_diagnostics — diagnostics
  • get_workspace_info — workspace
  • get_unused_references — workspace

Configuration and credentials

You will need 3 environment variables: ROZ_TOOLS, ROZ_SOLUTION_PATH, ROZ_VS_INSTALL_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Roz.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the roz mcp server does with a few real requests.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Roz's toolset — find_symbol, get_symbols_overview, go_to_definition and 11 more — is a fair guide to whether it matches your workflow. It is maintained by andypgray; 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.

Available tools

ToolWhat it does
find_symbolnavigation
get_symbols_overviewnavigation
go_to_definitionnavigation
find_overloadsnavigation
analyze_methodnavigation
find_referencesreferences
find_implementationsreferences
analyze_change_impactreferences
get_type_hierarchytypes
get_diagnosticsdiagnostics
get_workspace_infoworkspace
get_unused_referencesworkspace
rename_symbolediting
edit_symbolediting

Configuration

VariableDescriptionRequired
ROZ_TOOLSConfiguration value read at startup.Optional
ROZ_SOLUTION_PATHFilesystem location the server is allowed to use.Optional
ROZ_VS_INSTALL_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Roz to find symbol.
  • Use Roz to get symbols overview.
  • Use Roz to go to definition.

Frequently asked questions

It connects Roz to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (find_symbol, get_symbols_overview, go_to_definition, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Roz directly.