VS Code MCP Server
@juehang
VS Code MCP Server について
MCP server to expose VS Code editing features to an LLM for AI coding
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"vscode-mcp-server": {
"command": "npx",
"args": [
"mcp-remote@next",
"http://localhost:3000/mcp"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is VS Code MCP Server?
A Visual Studio Code extension that allows Claude and other MCP clients to code directly in VS Code. It creates a local MCP server exposing VS Code's filesystem, editing, symbol, diagnostics, and shell capabilities to AI coding agents via the streamable HTTP API.
How to use VS Code MCP Server?
Install the extension from the VS Code Marketplace. Configure Claude Desktop with mcp-remote@next pointing to http://localhost:3000/mcp. The server runs locally on a configurable port (default 3000) and host (default 127.0.0.1), and can be toggled on/off via the status bar item. Users can enable individual tool categories (file, edit, shell, diagnostics, symbol) through extension settings.
Key features of VS Code MCP Server
- List and read files in the VS Code workspace
- Create, move, rename, and copy files with refactoring support
- Search symbols and get definitions across the workspace
- Check code diagnostics (errors/warnings) in files
- Execute shell commands in the integrated terminal
Use cases of VS Code MCP Server
- Extending coding agents like Claude Code with VS Code-specific capabilities (symbol search, document outlines) without duplicating existing tools
- Letting AI assistants edit code files directly in VS Code with proper refactoring and diagnostics feedback
- Running CLI commands, git operations, and build tasks through the integrated terminal via AI agents
- Exploring codebase structure using document symbol trees and symbol search to reduce context consumption
FAQ from VS Code MCP Server
How is VS Code MCP Server different from similar tools like Serena?
It uses VS Code's built-in capabilities rather than duplicating tools that coding agents like Claude Code already have, focusing on VS Code-specific features such as symbol search and diagnostics.
What runtime or dependencies are required?
The extension runs inside VS Code and requires Node.js to install via npx. It uses the streamable HTTP API protocol, not the SSE API.
Where does data live and what are the security considerations?
The server runs locally on 127.0.0.1 only and is not exposed to the network. Because it allows shell command execution, the README warns about potential security risks and recommends ensuring the MCP client is trusted and the port is not exposed.
What are the known limitations?
Only one workspace is supported at a time. The MCP authentication spec is still in flux, so authentication has not been implemented. Only local use is supported.
What transports and configuration options are available?
The server uses HTTP. Configurable settings include port (default 3000), host (default 127.0.0.1), default enabled state on startup, and selective tool categories (file, edit, shell, diagnostics, symbol).
「開発者ツール」の他のコンテンツ
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
test
prysmaticlabsGo implementation of Ethereum proof of stake
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
コメント