VSCode as MCP Server
@acomagu
关于 VSCode as MCP Server
Expose VSCode features such as file viewing and editing as MCP, enabling advanced AI-assisted coding directly from tools like Claude Desktop
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": [
"vscode-as-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is VSCode as MCP Server?
A VSCode extension that turns your VSCode into an MCP server, enabling advanced coding assistance from MCP clients like Claude Desktop. It provides code editing, terminal operations, preview tools, multi-instance switching, and an experimental relay for built-in MCP servers.
How to use VSCode as MCP Server?
Install the extension from the VSCode Marketplace. Configure your MCP client using npx vscode-as-mcp-server in the client’s config file (e.g., claude_desktop_config.json) or use mcp-installer. The server status appears in the VSCode status bar; click to start if not running.
Key features of VSCode as MCP Server
- Review and accept/reject code changes via diffs
- Real-time diagnostic messages sent to the LLM
- Execute commands in VSCode’s integrated terminal
- Preview URLs in VSCode’s built-in browser
- Switch MCP server between multiple VSCode windows
- Relay external access to built-in MCP servers (experimental)
Use cases of VSCode as MCP Server
- Integrate Claude Desktop as an advanced coding assistant within VSCode
- Automate code review and correction with live diagnostics
- Run terminal commands and preview web apps during development
- Manage debug sessions from an MCP client
- Expose VSCode’s built-in MCP tools (e.g., GitHub Copilot) to external clients
FAQ from VSCode as MCP Server
What are the dependencies or runtime requirements?
You need VSCode with the extension installed, and an MCP client that supports the standard MCP protocol, such as Claude Desktop.
How does this differ from other coding tools like Roo Code or Cursor?
This extension is a self-hosted, affordable alternative integrated directly into VSCode, designed to reduce costs associated with metered coding tools.
Where does the code data live?
All operations happen within your local VSCode environment; the extension does not send code to external servers.
What transport or authentication does it use?
The extension communicates via the standard MCP protocol; no specific authentication is described. The server runs locally over stdio.
Are there any known limits?
The relay functionality for built-in MCP servers is experimental. There is no built-in approval UI yet; that is on the future roadmap.
开发工具 分类下的更多 MCP 服务器
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Grafana MCP server
grafanaMCP server for Grafana

Sentry
modelcontextprotocolModel Context Protocol Servers
评论