Skip to content
MCP server

MCP VS Code

A self-hosted VS Code workbench embedded as an interactive MCP App.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.2
Listing updated
4 days ago

About MCP VS Code

MCP VS Code is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-vscode --env MCP_VSCODE_WORKSPACE='<MCP_VSCODE_WORKSPACE>' -- npx -y @mario.andreschak/mcp-vscode

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "<MCP_VSCODE_WORKSPACE>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "<MCP_VSCODE_WORKSPACE>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-vscode": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "<MCP_VSCODE_WORKSPACE>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "<MCP_VSCODE_WORKSPACE>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "<MCP_VSCODE_WORKSPACE>"
      }
    }
  }
}

Configuration

  • MCP_VSCODE_WORKSPACEAbsolute path to the workspace directory exposed through VS Code and MCP tools.Required
  • MCP_VSCODE_RENDER_MODESet to 'stream' to opt into experimental genuine-workbench pixel streaming; omit for normal iframe/browser behavior.
  • MCP_VSCODE_STREAM_BROWSEROptional absolute path to an installed Edge, Chrome, or Chromium executable used by experimental streaming.
  • MCP_VSCODE_STREAM_NO_SANDBOXUnsafe container-only escape hatch: set to 1 to launch streaming Chromium without its process sandbox.

Pricing

Open source

MCP VS Code FAQ

Is MCP VS Code free?

Yes. MCP VS Code is open source, so you can use and self-host it for free.

How do I add MCP VS Code to Claude Code?

Run this command in your terminal: claude mcp add mcp-vscode --env MCP_VSCODE_WORKSPACE='<MCP_VSCODE_WORKSPACE>' -- npx -y @mario.andreschak/mcp-vscode

What are the best alternatives to MCP VS Code?

The closest alternatives to MCP VS Code are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to MCP VS Code

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools