
dhq-boiler/unofficial-vs-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Visual Studioのモデルコンテキストプロトコル(MCP)サーバー
概要
— Claude Code のような AI エージェントが、デバッグ、ビルド、編集、UI 自動化などの Visual Studio 機能を制御することを可能にします。 です。 GitHub の問題に関するフィードバックとバグ報告を歓迎します。 — このプロジェクトのすべてのコードは、AI (Claude) によって完全に生成されました。 VS MCPの特長 サーバは、次のカテゴリに渡る: - (16.0 以降)、または — コミュニティ、プロフェッショナル、またはエンタープライズ版 - - - (StdioProxy コンポーネントの場合) 1. Visual Studio マーケットプレイスから拡張機能をインストールするか、.vsix ファイルをダウンロードする 2。 Visual Studio 3 を再起動します。 Visual Studio が起動したときに MCP サーバーが自動的に起動します。 %LOCALAPPDATA% は bash で認識されません。 絶対パス(例:C:\Users\\AppData\Local...)を指定しなければなりません。 — 手動設定(MCP config JSON に追加):
概要(AI 翻訳)
Model Context Protocol (MCP) Server for Visual Studio — Claude Code のような AI エージェントが、デバッグ、ビルド、編集、UI 自動化などの Visual Studio 機能を制御することを可能にします。
これは**ベータ版リリースです。 GitHub の問題に関するフィードバックとバグ報告を歓迎します。
100% AI Generated — このプロジェクトのすべてのコードは、AI (Claude) によって生成されました。
##特徴
VS MCP Server は、次のカテゴリで115ツールを公開しています。
| カテゴリー | ツール | 説明 | お問い合わせ | 一般 | 7 | VS コマンドの実行、IDE ステータスの取得、ビューツールのヘルプ、フォーカスガードのトグル、監査フォアグラウンドの移行 | | ソリューション・プロジェクト | 5 | ソリューション・プロジェクト | ソリューション・プロジェクト | | ビルド | 6 | ソリューション・プロジェクト・クリーン・再構築・ビルドエラー・スイッチ構成の構築 | | 編集 | 7 | 開閉・読み書き・編集ファイル | | 編集プレビュー | 4 | 差分プレビュー、VS 差分ビューアによる編集の承認・拒否 | | コードナビゲーション | 3 | 定義、参照を見つける、実装に行く | | ソリューションエクスプローラ | 6 | プロジェクト・ファイル・参照の追加・削除 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
VS MCP Server
Model Context Protocol (MCP) server for Visual Studio — Enables AI agents like Claude Code to control Visual Studio features including debugging, building, editing, and UI automation.
This is a beta release. Feedback and bug reports are welcome on GitHub Issues.
100% AI Generated — All code in this project was generated entirely by AI (Claude).
Features
VS MCP Server exposes 115 tools across the following categories:
| Category | Tools | Description |
|---|---|---|
| General | 7 | Execute VS commands, get IDE status, view tool help, toggle focus guard, audit foreground transitions |
| Solution & Project | 5 | Open/close solutions, list/inspect projects |
| Build | 6 | Build solution/project, clean, rebuild, get build errors, switch configuration |
| Editor | 7 | Open/close/read/write/edit files, find in files |
| Edit Preview | 4 | Diff preview, approve/reject edits with VS diff viewer |
| Code Navigation | 3 | Go to definition, find references, go to implementation |
| Solution Explorer | 6 | Add/remove projects, files, and references |
| Debugger | 13 | Start/stop/restart, attach, stepping, call stack, locals, threads, evaluate, run without debugging |
| Breakpoints | 4 | Set/remove/list, enable/disable breakpoints |
| Output & Diagnostics | 5 | Read/write/clear output panes, error list, XAML binding errors |
| Console | 3 | Read console output, send input/keys, get console info for debugged apps |
| UI Automation | 10 | Capture screenshots, inspect UI trees, find/click/right-click/drag/invoke elements |
| Web | 12 | Browser automation via Chrome CDP and Firefox RDP — navigation, DOM, console, network, screenshots |
| Test | 3 | Discover, run, and view test results |
| NuGet | 5 | Search, install, update, remove NuGet packages |
| Advanced Debug | 20 | Watch, thread/process management, immediate window, registers, memory, parallel stacks |
Tool Details
General
| Tool | Description |
|---|---|
execute_command |
Execute a Visual Studio command by name |
get_status |
Get the current Visual Studio status including solution state, active document, and debugger mode |
get_help |
Get a categorized list of all available vs-mcp tools with descriptions |
focus_guard_get |
Get whether the focus guard is currently on |
focus_guard_set |
Turn the focus guard on or off — when on, MCP-driven builds, output writes, and debug launches do not steal foreground focus from the currently focused application, and VS is kept minimized across debug_start if it was already minimized |
focus_guard_audit_read |
Read recent foreground-window transitions from a bounded ring buffer — each entry names the process/window that gained (and lost) foreground, with timestamp and whether the guard was on. Use this to identify what actually stole focus. |
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"vs-mcp": {
"command": "C:\\Users\\<USERNAME>\\AppData\\Local\\VsMcp\\bin\\VsMcp.StdioProxy.exe"
}
}
}