vscode-mcp

vscode-mcp

3.5

If you are the rightful owner of vscode-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The VSCode MCP Server and its companion VSCode Extension enable AI agents to interact with VSCode through the Model Context Protocol.

The VSCode MCP is a monorepo that contains both the VSCode MCP Server and its companion VSCode Extension. These components work together to allow AI agents and assistants, such as Goose or Claude, to interact with the Visual Studio Code environment using the Model Context Protocol. The server and extension facilitate various operations within VSCode, enabling AI-driven automation and assistance. The project is structured into two main parts: the server implementation and the VSCode extension. Users can quickly set up the system by installing the server and extension, and configuring their AI agents to communicate with VSCode through the MCP. The system is designed to enhance productivity by allowing AI agents to perform tasks like opening files, creating diffs, and managing projects directly within the VSCode environment.

Features

  • Facilitates AI interaction with VSCode through the Model Context Protocol.
  • Includes tools for creating diffs, opening files, and managing projects.
  • Supports integration with AI agents like Goose and Claude.
  • Provides a VSCode extension for seamless communication.
  • Allows checking of extension status and port information.

Tools

  1. create_diff`

    Create and display file modification differences, and apply it after user confirmation

  2. open_file`

    Open the file for viewing or editing

  3. open_project`

    Open the project folder and set the working directory

  4. check_extension_status`

    Check if the extension is installed and responds

  5. get_extension_port`

    Get the extension's port number

  6. list_available_projects`

    Displays the list of items in the port registration file