Code MCP Server

This monorepo contains the VSCode MCP Server and its companion VSCode Extension, which together enable AI agents and assistants, like Goose or

Local serverstdio

What is the Code MCP MCP server?

Code MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Code MCP directly instead of describing what you should do. This monorepo contains the VSCode MCP Server and its companion VSCode Extension, which together enable AI agents and assistants, like Goose or Claude, to interact with VSCode through the Model Context Protocol.

What the assistant can call

Once Code MCP is connected, these are the calls the assistant has available:

  • create_diff — The create_diff tool exposed by this server
  • open_file — The open_file tool exposed by this server
  • open_project — The open_project tool exposed by this server
  • check_extension_status — The check_extension_status tool exposed by this server
  • get_extension_port — The get_extension_port tool exposed by this server
  • list_available_projects — The list_available_projects tool exposed by this server

Setting it up

vscode-mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Code MCP's toolset — create_diff, open_file, open_project and 3 more — is a fair guide to whether it matches your workflow. It is maintained by block; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the code mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
create_diffThe create_diff tool exposed by this server.
open_fileThe open_file tool exposed by this server.
open_projectThe open_project tool exposed by this server.
check_extension_statusThe check_extension_status tool exposed by this server.
get_extension_portThe get_extension_port tool exposed by this server.
list_available_projectsThe list_available_projects tool exposed by this server.

How to install the Code MCP MCP server

{
  "mcpServers": {
    "code": {
      "command": "npx",
      "args": ["-y", "vscode-mcp-server"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Code MCP to create diff.
  • Use Code MCP to open file.
  • Use Code MCP to open project.

Frequently asked questions

It connects Code MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (create_diff, open_file, open_project, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Code MCP directly.