vsc-mcp
3
vsc-mcp is an MCP server for interacting with Visual Studio Code and its variants. It supports file management and theme management functionalities, facilitating seamless server-client communication within VSCode environments and its forks.
vsc-mcp - VSCode MCP Server
MCP server for interacting with VSCode and forks (Cursor, Windsurf and others)
Installation
- Install the extension from the VSCode marketplace
- The server will start automatically when VSCode launches
- You can manually start/stop the server using the commands:
Start MCP Server
Stop MCP Server
Configuration
Configure your MCP client to connect to the server at: http://localhost:3344/sse
Example Configuration for Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"vsc-mcp": {
"url": "http://localhost:3344/sse"
}
}
}
Currently supported tools
-
File Management
getOpenedFiles
: Retrieves a list of currently opened filescloseFiles
: Closes files based on provided labels
-
Theme Management
listAvailableThemes
: Lists all available VSCode themesgetCurrentTheme
: Gets the currently active themesetThemeByDisplayName
: Changes the current theme by display name