MCP ExplorerExplorer

Vsc Mcp

@0xh3xon a year ago
4 MIT
FreeCommunity
AI Systems
MCP server for interacting with VSCode and forks (Cursor, Windsurf and others)

Overview

What is Vsc Mcp

vsc-mcp is a MCP server designed for interacting with Visual Studio Code (VSCode) and its forks, such as Cursor and Windsurf.

Use cases

Use cases for vsc-mcp include managing opened files in a coding project, customizing the development environment with different themes, and integrating with other tools or extensions that require MCP server functionality.

How to use

To use vsc-mcp, install the extension from the VSCode marketplace. The server starts automatically with VSCode, and you can manually start or stop it using the commands ‘Start MCP Server’ and ‘Stop MCP Server’.

Key features

Key features of vsc-mcp include file management (retrieving opened files and closing files) and theme management (listing available themes, getting the current theme, and changing the theme by display name).

Where to use

vsc-mcp can be used in software development environments where VSCode or its forks are utilized, particularly in projects requiring enhanced file and theme management.

Content

vsc-mcp - VSCode MCP Server

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

Installation

  1. Install the extension from the VSCode marketplace
  2. The server will start automatically when VSCode launches
  3. 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

  1. File Management

    • getOpenedFiles: Retrieves a list of currently opened files
    • closeFiles: Closes files based on provided labels
  2. Theme Management

    • listAvailableThemes: Lists all available VSCode themes
    • getCurrentTheme: Gets the currently active theme
    • setThemeByDisplayName: Changes the current theme by display name

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers