# RoselineMCP

Gives a coding agent a structural view of a C# solution — symbols, references, call graphs, member-level edits — instead of whole-file reads.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 6
- Author: Atypical-Consulting
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Atypical-Consulting/RoselineMCP
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/roselinemcp

## What it does

RoselineMCP exposes the Roslyn compiler platform as an MCP server. The agent asks where a symbol is declared, who calls a method, which types implement an interface, and gets an answer built from the solution's structure. Edits work the same way: a single member is replaced, added or deleted, a rename spans the whole solution, and the result comes back as a unified diff rather than a rewritten file. Preview is the default.

The seven navigation tools plus the diagnostics and patch tools never touch disk. Writing requires an explicit `previewOnly: false`. Diagnostics come from Roslyn and Roslynator analyzers, and each one can arrive with an automated fix as a reviewable patch.

Startup goes through `dnx`, the .NET counterpart to `npx`, so there is no install step. The .NET 10 SDK is required. A NuGet global tool and Docker are also available. An optional `PostToolUse` hook runs the compiler after any file write, not only after RoselineMCP's own edits.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- find every caller of a method across a solution
- rename a symbol in all projects at once
- collect analyzer diagnostics with ready patches
- swap out one class member without rewriting the file
- outline a file's shape without reading it end to end

## Example prompts
- Find every caller of `OrderService.Checkout` in the solution
- Rename `Foo` to `Bar` across the solution and show me the diff
- Run diagnostics on the solution and propose patches

## Similar
- [Serena MCP: the IDE for your agent](https://affpapa.org/en/nevibecode/mcp/serena-mcp-the-ide-for-your-agent.md) — MCP server · ★ 30739
- [Compiler Explorer](https://affpapa.org/en/nevibecode/mcp/compiler-explorer.md) — MCP server · ★ 19155
- [Claude Code Explorer MCP](https://affpapa.org/en/nevibecode/mcp/claude-code-explorer-mcp.md) — MCP server · ★ 6236
- [Tolgee](https://affpapa.org/en/nevibecode/mcp/tolgee.md) — MCP server · ★ 4140
- [jshookmcp](https://affpapa.org/en/nevibecode/mcp/jshookmcp.md) — MCP server · ★ 2066
- [pyscn](https://affpapa.org/en/nevibecode/mcp/pyscn.md) — MCP server · ★ 1097

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
