MCP VS Code MCP server
io.github.mario-andreschak/mcp-vscode·v0.2.2·1 starsA self-hosted VS Code workbench embedded as an interactive MCP App.
1 stars95 downloads/wk
Reviews
Write oneNobody has reviewed MCP VS Code yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
MCP VS Code tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-11-04 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 15 days ago15/15
- Maintainer identitynamespace and repository owner differ3/10
How MCP VS Code compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 70% of 48,243 servers
- GitHub stars
- 1
- more than 65% of 28,706 servers
- Downloads a week
- 95
- more than 61% of 12,306 servers with a package
Install MCP VS Code in Claude Code, Cursor or VS Code
Runs npx -y @mario.andreschak/mcp-vscode on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-vscode -- npx -y @mario.andreschak/mcp-vscode
What the publisher says
From the MCP VS Code repository's README, as published. We do not edit it. Read it on GitHub
MCP VS Code
MCP VS Code runs a self-hosted Code OSS/OpenVSCode workbench beside an MCP server so the human and the model operate the same workspace, open editors, diagnostics, commands, extensions, and terminal sessions. This is not remote control of a separately installed desktop VS Code. Supported distributions carry their own OpenVSCode runtime and bridge extension. Microsoft-hosted vscode.dev is not used because it disallows framing.
The caveman picture
There are four pieces:
- The MCP host—for example FLUJO or Claude Desktop—owns the outer sandbox and its security policy.
- The small MCP App document asks the host for permission to reach and, in default mode, frame the workbench origin.
- The mcp-vscode gateway exposes only the routes needed to reach the private runtime.
- The OpenVSCode process runs on the MCP server machine, binds to loopback, opens the configured workspace, and connects its bridge extension back to the MCP server.
flowchart LR
H["MCP host"] <-->|"stdio or Streamable HTTPS"| S["mcp-vscode server"]
H --> A["sandboxed MCP App"]
A -->|"default: allowed frameDomains"| I["OpenVSCode iframe"]
A <-->|"opt-in: authenticated /stream WebSocket"| C["pixel canvas"]
A -->|"honest fallback: openLink"| X["separate browser tab"]
I --> G["browser-reachable gateway origin"]
X --> G
C <-->|"JPEG frames + input"| B["server-side system Chromium"]
B --> O["loopback OpenVSCode"]
G --> O
O <-->|"authenticated /bridge WebSocket"| S
S --> W["confined workspace and PTYs"]
O --> WThe default iframe and browser-tab paths deliver OpenVSCode directly. Experimental streaming launches an existing Edge, Chrome, or Chromium on the server, points it at that same OpenVSCode runtime, and transports its pixels and user input. The canvas is a remote display, not another editor implementation.
Rendering modes
probing is a temporary UI state, not a renderer.
Default behavior: iframe or browser
With no render-mode environment variable, the App:
- waits for the bundled OpenVSCode runtime;
- compares the workbench origin with the effective frameDomains reported by the host when that information is available;
- skips iframe navigation immediately when the host explicitly denied the origin;
- otherwise navigates the iframe and waits for the injected mcp-vscode:workbench-alive message;
- commits embedded only after that positive signal; or
- shows the browser card with the exact policy, network, or runtime reason.
A CSP-blocked iframe can emit neither a useful load nor error event, so a plain iframe event is not treated as success. The liveness timeout prevents a permanent blank view.
An MCP server's CSP declaration is a permission request, not a way to overrule the host. A host may approve it, restrict it, or deny it. CORS headers on mcp-vscode cannot repair a frame-src decision made by the outer host.
Experimental streaming
Set:
MCP_VSCODE_RENDER_MODE=streamShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
MCP VS Code: common questions
- Is MCP VS Code MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the MCP VS Code safety report
- How do I install MCP VS Code?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does MCP VS Code need an API key?
- No secret keys are declared. It reads 4 settings from the environment.
- Is MCP VS Code maintained?
- The last commit was 16 days ago (2026-10-20). The latest release is v0.2.2.
- How does MCP VS Code compare with other MCP servers?
- safety score 85/100 (higher than 70% of 48,243 servers); github stars 1 (more than 65% of 28,706 servers); downloads a week 95 (more than 61% of 12,306 servers with a package). Full comparison.