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 Server?

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

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

Recorded tools

  • 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.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

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 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

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.