プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Roslyn Workbench MCP

作者:lantean-codeバージョン 1.2.0i★ 2iパソコンで動く
レジストリ名io.github.lantean-code/roslyn-workbench-mcp

インストール方法

What it does

Bring Visual Studio-style C# fixes and refactorings to your AI agent with local Roslyn Code Actions.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

チェック 3/3 合格 · あなたのパソコンで動きます

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

  1. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  2. この設定を貼り付けて保存

    {
      "mcpServers": {
        "roslyn-workbench": {
          "command": "dnx",
          "args": [
            "Lantean.Roslyn.Workbench.Mcp",
            "--yes"
          ]
        }
      }
    }
  3. Claude を終了してもう一度開く

  4. 試してみる

    Roslyn Workbench MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Roslyn Workbench MCP を使っていると言うか、回答に Roslyn Workbench MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Roslyn Workbench MCP につなげません

Roslyn Workbench MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Roslyn Workbench MCP につなげるアプリを使う

  • キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • キー不要、インストール不要
  • キー不要、インストール不要
  • キー不要、インストール不要

B · 開発者ツール の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --scope user roslyn-workbench -- dnx Lantean.Roslyn.Workbench.Mcp --yes
  3. Claude Code で /mcp と入力

    Roslyn Workbench MCP が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    Roslyn Workbench MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Roslyn Workbench MCP を使っていると言うか、回答に Roslyn Workbench MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    Roslyn Workbench MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Roslyn Workbench MCP を使っていると言うか、回答に Roslyn Workbench MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    Roslyn Workbench MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Roslyn Workbench MCP を使っていると言うか、回答に Roslyn Workbench MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Roslyn Workbench MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user roslyn-workbench -- dnx Lantean.Roslyn.Workbench.Mcp --yes

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "roslyn-workbench": {
      "command": "dnx",
      "args": [
        "Lantean.Roslyn.Workbench.Mcp",
        "--yes"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "roslyn-workbench": {
      "command": "dnx",
      "args": [
        "Lantean.Roslyn.Workbench.Mcp",
        "--yes"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "roslyn-workbench": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Lantean.Roslyn.Workbench.Mcp",
        "--yes"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンで動く
最新バージョンi
1.2.0
レジストリ公開日i
2026年11月3日
コードの最終更新i
2026年11月11日
作者
lantean-code
パッケージ
nuget: Lantean.Roslyn.Workbench.Mcp
ウェブサイト
lantean-code.github.io
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント lantean-code で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

Google でログインして投稿

ユーザーレビュー

まだレビューはありません

Google でログインしてレビューを書く

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの5802件のうち77%よりスターが多い
  • このカテゴリのほかの5802件のうち70%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5802件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Roslyn Workbench MCPは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(1.2.0)がレジストリに届いたのは9 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンに.NETも必要です。

代わりに使えるものは?

同じカテゴリには:REA, GitHub, Serena MCP: the IDE for your agent

同じカテゴリのほかの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto広く使われている↓ 38.9万/週★ 45.3万18 日前更新

パソコンで動く

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github広く使われている★ 3.4万9 日前更新

パソコンでもクラウドでも

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Roslyn MCP Server - Roslyn Workbench MCP

Your Visual Studio C# workflow, now available to your agent

The C# fixes and refactorings you use in Visual Studio 2026—now available to your AI coding agent.

Roslyn Workbench MCP is a local Roslyn MCP server for C# and .NET coding agents. It provides Roslyn Code Actions, compiler-aware analysis and reviewable source changes through the Model Context Protocol. Your agent can discover applicable fixes and refactorings, apply the compiler-generated changes, and show you the result before writing source files. It uses the same .NET Compiler Platform that powers Visual Studio's C# tooling.

Put Roslyn Code Actions to work

Over 230 eligible built-in Roslyn Code Fix and refactoring providers sit behind one discovery and staging workflow. Ask your agent to:

  • Extract a method, introduce a parameter, inline a temporary variable or encapsulate a field.
  • Convert a loop to LINQ or modernise code with an applicable Roslyn refactoring.
  • Discover fixes for compiler and analyzer diagnostics in the current document.
  • Prepare supported Fix All operations across a document, project or solution.
  • Stage the selected changes, inspect the transaction diff, then commit or roll back.

These are Roslyn-generated changes, selected for your actual code and project configuration—not instructions for an agent to imitate a refactoring with text replacements. See the Code Action guide for discovery, Fix All and staging.

The provider count is not a count of individual actions: a provider can offer multiple choices, and applicability depends on the code, diagnostics and project configuration. Actions requiring interactive option dialogs, package installation or unsupported project-system changes are excluded; this is not complete Visual Studio feature parity.

Understand the code before changing it

  • Navigate to definitions, find references and implementations, and trace callers and callees using compiler semantics.
  • Explore type hierarchies, project dependencies and the public API surface across persistent multi-workspace sessions.
  • Inspect diagnostics, async usage, nullability and control flow, and investigate change and test impact.
  • Keep agent responses bounded instead of loading an entire solution into the conversation.

The built-in reference catalogue contains 57 MCP tool definitions covering navigation, analysis, Code Actions and workspace management. The live tool set depends on operational mode, configuration and enabled plugins; the three Code Action tools expose many applicable fixes and refactorings without adding one MCP tool per provider.

Compiler-powered changes, reviewable transactions

Source changes are staged through transactions with preview, history, rollback, conflict detection and crash recovery. Code Actions and symbol renames use the same transaction boundary: nothing writes source files until an explicit transaction commit. In approval-required mode, review is bound to an exact-change receipt.

The server runs locally over stdio, with workspace analysis and refactoring performed on your machine. Inspection-only is the default; you choose when to enable source changes. Builds, tests and Git commits remain part of your normal development workflow.

Install

Roslyn Workbench is distributed through NuGet.org as the Lantean.Roslyn.Workbench.Mcp .NET tool and requires a supported .NET 10 SDK. Pin the exact release version you intend to run. The compatibility policy defines the stable 1.x guarantees for tools, errors and continuations, recovery formats and plugin APIs.

Run an exact package version without a permanent installation:

dnx Lantean.Roslyn.Workbench.Mcp@VERSION --yes -- --version

Alternatively, install the same package as a global tool with dotnet tool install --global Lantean.Roslyn.Workbench.Mcp --version VERSION.

See the documentation site for installation and MCP client configuration.

Configure any MCP client capable of launching a local stdio process to run:

{

"command": "roslyn-workbench-mcp", "args": [ "--operational-mode", "inspection-only", "--state-directory", "/absolute/path/to/roslyn-workbench-state" ] }

inspection-only is the safe default and exposes no source-mutation or transaction tools. Select transactional for client-mediated commit confirmation, approval-required for confirmation bound to an exact transaction-review receipt, or deliberately select autonomous-trusted for transactions without Host confirmation. See the configuration guide for client elicitation requirements.

Supported environments

Windows x64, Linux x64 and WSL2 x64 are supported. macOS x64 and ARM64 are best effort until hosted validation exists. Windows ARM64 and Linux ARM64 are not currently supported release targets. The server can be used by any MCP client that supports local stdio servers; operations requiring elicitation depend on the client advertising and permitting it.

Roslyn Workbench skill

The optional skill guides agents through workspace selection, semantic inspection, Code Actions, transactions and recovery. Clients with MCP resource support can read skill://roslyn-workbench/SKILL.md from the installed server, with 11 task-specific references loaded only when needed.

For separate installation, download the development skill bundle and follow the installation guidance. Select documentation matching your installed server to obtain a release-specific bundle once available. Extract the complete roslyn-workbench directory, including its references, client metadata and logo, into your client's supported skill location. Discovery and activation depend on the client; the skill does not change permissions or Host policy.

Improve agent tool selection

Connecting Roslyn Workbench makes its tools available, but an MCP client may not select them automatically when ordinary file and text-search tools can also attempt the task. Short repository instructions can tell an agent when compiler-aware tooling is the better choice without forcing it into every C# workflow.

Add this basic instruction to the user-level guidance used by your agent, or to repository guidance when it should apply only to a particular codebase:

## Roslyn Workbench

When Roslyn Workbench MCP is available, consider using it for C# work that benefits from compiler semantics, including precise symbol navigation, references, diagnostics, code structure, Code Actions, change-impact analysis and transactional source changes. Its semantic tools are particularly useful when symbol identity or compiler interpretation matters, while the repository's normal tools and commands remain suitable for builds, tests, package management, documentation and non-semantic file operations. Transaction previews and structured next actions can help keep source changes safe and easy to review.

The documentation site explains user-level and repository-level setup for Codex, GitHub Copilot, Claude Code and other MCP clients. User-level guidance avoids repeating the instruction when Roslyn Workbench is available across repositories, while repository guidance can provide a more specific layer for an individual codebase.

Trust and transaction safety

Open only workspaces you trust. Loading a workspace evaluates MSBuild project logic and later operations can load project analyzers with the Host process's operating-system permissions. External plugin loading is disabled by default; supplying --enable-plugins explicitly opts into loading configured third-party plugins as trusted in-process code, which is not sandboxed.

A typical safe workflow when transactional or autonomous-trusted mode is configured is:

  1. Inspect server-status and open a trusted solution, solution filter or project with workspace-open.
  2. Use query tools to inspect the loaded workspace.
  3. Check workspace-status, then begin a transaction with transaction-start.
  4. Stage a mutation or Code Action and inspect it with transaction-preview.
  5. Commit the reviewed transaction or discard it with transaction-rollback.

The live MCP tools/list response is authoritative for the tools and schemas exposed by a running instance. The documentation site provides the richer versioned tool reference and agent guide.

Plugins and contributions

Plugin authors reference the separate Lantean.Roslyn.Workbench.Mcp.Plugins package. See the plugin-authoring guide for the supported API and deployment layout. Users install trusted plugins manually; there is no curated plugin repository.

External pull requests are accepted. Discuss the scope first and sign every contributed commit with a cryptographic signature that GitHub can verify. See the contribution policy for the process.

Support and project links

Thanks

Roslyn Workbench MCP is made possible by the .NET Compiler Platform. Thank you to the Roslyn team for building and maintaining the compiler tooling that powers its semantic analysis and refactoring capabilities.

Thank you to Sentry for supporting the project with an open-source licence for its opt-in error-reporting service.

Roslyn Workbench MCP is licensed under the MIT License.