vscode-as-mcp-server

vscode-as-mcp-server

60

VSCode as MCP Server is a VSCode extension that transforms the editor into an MCP server, providing advanced coding assistance. It supports code edits, terminal operations, and tool previews within VSCode, and is intended as a cost-effective solution to expensive coding tools.

VSCode as MCP Server

A VSCode extension that allows VSCode to function as an MCP server, providing advanced coding assistance from MCP clients such as Claude Desktop.

Key Features

  • Code Editing Support: Review code changes with diffs, accept or reject changes, and provide feedback. Real-time diagnostic messages are sent to the LLM for corrections.
  • Terminal Operations: Execute commands in VSCode's terminal with support for background and foreground execution.
  • Preview Tools: View URLs directly in VSCode's built-in browser.
  • Multi-instance Switching: Switch between multiple VSCode windows.
  • Relay Functionality: Expose built-in MCP servers externally, allowing access to tools like GitHub Copilot.

Available Built-in Tools

  • Execute commands, retrieve diagnostics, manage debug sessions, and more with various tools integrated into VSCode.

Installation & Setup

  1. Install via the VSCode Marketplace.
  2. Configure your MCP client, using mcp-installer or adding configurations for other clients like Claude Desktop.
  3. Monitor the MCP server status via VSCode's status bar.

Motivation

This extension was created as a cost-effective, self-hosted solution integrated into VSCode, addressing the high costs of metered coding tools.

Future Roadmap

  • Plans for additional exposure of MCP servers, WebView-based UI enhancements, integration with file history, and more.