vsc-mcp

vsc-mcp

3.5

If you are the rightful owner of vsc-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.

VSC-MCP is a project that provides tools to expose Language Server Protocol (LSP) functionality as Model Context Protocol (MCP) tools, enabling AI clients to analyze and edit code programmatically.

VSC-MCP started as a TypeScript-focused project and evolved into a full-featured MCP server supporting any language supported by VS Code. It offers two modes: Standalone Mode, which uses a local TypeScript language server, and Docker Mode, which uses a headless VS Code server to provide LSP support for multiple languages. Docker Mode is preferred for its unified LSP, rich extension ecosystem, and live editing capabilities. The server runs inside Docker, exposing ports for IDE UI and LSP bridge, and pre-installs necessary VS Code extensions. VSC-MCP tools include file I/O and LSP tools, and it integrates with AI clients like Claude Desktop for enhanced code interaction.

Features

  • Unified LSP support for multiple languages via Docker Mode.
  • Rich extension ecosystem inherited from VS Code.
  • Live editing capabilities through a web interface.
  • Security features like Docker workspace and path restrictions.
  • Integration with AI clients for enhanced code interaction.

Tools

  1. editSymbol

    Edit symbols (functions, classes, methods, etc.) in a file by name and type

  2. readSymbol

    Read symbols in files by name and type

  3. readFile

    Read file content

  4. writeFile

    Create a new file or overwrite an existing file

  5. searchReplaceFile

    Search for content in file and replace with new content