Code MCP Server
VSCode MCP
このモノレポには、VSCode MCP サーバーとその付属 VSCode 拡張機能が含まれており、これらを組み合わせることで、Goose や Claude などの AI エージェントやアシスタントがモデル コンテキスト プロトコルを介して VSCode と対話できるようになります。
プロジェクト構造
vscode-mcp/
├── server/ # MCP server implementation
└── extension/ # VS Code extensionRelated MCP server: LSP-MCP
クイックスタート
MCPサーバーをインストールする
npx vscode-mcp-server installMCP拡張機能をインストールする
構成
Gooseデスクトップセットアップ

ID:
code-mcp名前:
VS Code説明:
Allows interaction with VS Code through the Model Context Protocolコマンド:
npx vscode-mcp-server
クロードデスクトップセットアップ
これを Claude Desktop 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.json ) に追加します。
{
"mcpServers": {
"vscode-mcp-server": {
"command": "npx",
"args": ["vscode-mcp-server"],
"env": {}
}
}
}利用可能なツール
Code MCP サーバーは、AI エージェントが VS Code と対話するための次のツールを提供します。
create_diff
既存のファイルの変更に対する差分を作成して表示します。
適用前に変更のプレビューを表示します
ユーザーの承認が必要
既存のファイルでのみ動作します
open_file
VS Code エディターでファイルを開きます:
新しいファイルや変更されたファイルを表示するために使用されます
open_project
VS Code でプロジェクト フォルダーを開きます。
AIエージェントの作業ディレクトリを設定する
check_extension_status
拡張機能がインストールされ、応答しているかどうかを確認します
get_extension_port
VS Code MCP拡張機能のポート番号を取得します
list_available_projects
ポートレジストリファイルからプロジェクトを表示します
ライセンス
このプロジェクトは、Apache License 2.0 に基づいてライセンスされています。詳細については、 LICENSEファイルを参照してください。
著作権 2025 Block, Inc.
この製品には、Block, Inc.で開発されたソフトウェアが含まれています。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA lightweight bridge extension that enables Claude Desktop to connect to VSCode workspaces via Model Context Protocol, allowing Claude to read and write files, create directories, and list contents in your workspace.9MIT
- Alicense-qualityFmaintenanceBridges the Model Context Protocol with Language Server Protocol to provide AI agents with persistent access to code intelligence features including navigation, diagnostics, refactoring, and completion across 7+ programming languages.3,043MIT
- Alicense-qualityAmaintenanceEnables AI assistants to leverage VS Code's language intelligence for code navigation, refactoring, and analysis via the MCP protocol.MIT
- Alicense-qualityFmaintenanceEnables AI assistants to interact with VS Code for language intelligence, debugging, and code execution.16MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Connect AI agents to Replynodes over the Model Context Protocol.
Appeared in Searches
- Developing and redeveloping web frontend and Python backend projects, including frontend-backend integration and debugging
- Exploring information about DeepSeek
- A search for resources or information about coding
- How to reformat Claude code to match the original Anthropic version
- A server for opening and running applications on Windows and Mac
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/block/vscode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server