Vsc MCP Server

MCP server for interacting with VSCode and forks (Cursor, Windsurf and others)

Local serverstdio

What is the Vsc MCP Server?

MCP server for interacting with VSCode and forks (Cursor, Windsurf and others)

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
getOpenedFilesRetrieves a list of currently opened files
closeFilesCloses files based on provided labels
listAvailableThemesLists all available VSCode themes
getCurrentThemeGets the currently active theme
setThemeByDisplayNameChanges the current theme by display name

How to install the Vsc MCP Server

{
  "mcpServers": {
    "vsc-mcp": {
      "url": "http://localhost:3344/sse"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use Vsc to getOpenedFiles.”
  • “Use Vsc to closeFiles.”
  • “Use Vsc to listAvailableThemes.”

Frequently asked questions

The server listens on `http://localhost:3344/sse` using SSE (Server-Sent Events).