Vscode MCP Server
by flujo-appio.github.mario-andreschak/mcp-vscodev0.2.2
A self-hosted VS Code workbench embedded as an interactive MCP App.
context tax
queued
security
queued
cold start
queued
freshness
Maintained34d ago
Install Vscode MCP server
Install in Claude Code
claude mcp add vscode -e MCP_VSCODE_WORKSPACE='<mcp-vscode-workspace>' -- npx -y @mario.andreschak/mcp-vscode --stdio '<--stdio>'Install in Cursor
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": [
"-y",
"@mario.andreschak/mcp-vscode",
"--stdio",
"<--stdio>"
],
"env": {
"MCP_VSCODE_WORKSPACE": "<mcp-vscode-workspace>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": [
"-y",
"@mario.andreschak/mcp-vscode",
"--stdio",
"<--stdio>"
],
"env": {
"MCP_VSCODE_WORKSPACE": "<mcp-vscode-workspace>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"vscode": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mario.andreschak/mcp-vscode",
"--stdio",
"<--stdio>"
],
"env": {
"MCP_VSCODE_WORKSPACE": "<mcp-vscode-workspace>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": [
"-y",
"@mario.andreschak/mcp-vscode",
"--stdio",
"<--stdio>"
],
"env": {
"MCP_VSCODE_WORKSPACE": "<mcp-vscode-workspace>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MCP_VSCODE_WORKSPACE | yes | — | Absolute path to the workspace directory exposed through VS Code and MCP tools. |
| MCP_VSCODE_RENDER_MODE | — | — | Set to 'stream' to opt into experimental genuine-workbench pixel streaming; omit for normal iframe/browser behavior. |
| MCP_VSCODE_STREAM_BROWSER | — | — | Optional absolute path to an installed Edge, Chrome, or Chromium executable used by experimental streaming. |
| MCP_VSCODE_STREAM_NO_SANDBOX | — | — | Unsafe container-only escape hatch: set to 1 to launch streaming Chromium without its process sandbox. |
Freshness
Maintained — last maintenance signal 34d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-05 · 34d ago · GitHub
Latest release
2026-09-04 · 36d ago · GitHub · v0.2.4
Package published
no data · npm/PyPI
Registry entry updated
2026-08-10 · 2mo ago · official registry · v0.2.2
FAQ
›How do I install the Vscode MCP server in Claude Code?
Run: claude mcp add vscode -e MCP_VSCODE_WORKSPACE='<mcp-vscode-workspace>' -- npx -y @mario.andreschak/mcp-vscode --stdio '<--stdio>'. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Vscode require an API key?
Yes. It expects MCP_VSCODE_WORKSPACE.
›Can I use Vscode as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Vscode in the official MCP registry?
Yes, as io.github.mario-andreschak/mcp-vscode.