Claude Code editor integration

Vscode As Mcp Server

Expose VSCode features such as file viewing and editing as MCP, enabling advanced AI-assisted coding directly from tools like Claude Desktop

124 stars 28 forksEditor integrations Source

Install

From source
git clone https://github.com/acomagu/vscode-as-mcp-server.git

From the README

VSCode as MCP Server

Marketplace

A VSCode extension that turns your VSCode into an MCP server, enabling advanced coding assistance from MCP clients like Claude Desktop.

Key Features

Code Editing Support
- Review proposed code changes from an LLM through diffs, allowing you to accept, reject, or provide feedback.
- Real-time diagnostic messages (e.g., type errors) sent instantly to the LLM for immediate corrections.

Terminal Operations
- Execute commands within VSCode’s integrated terminal (supports background/foreground execution, and timeout settings).

Preview Tools
- Preview URLs directly within VSCode’s built-in browser (e.g., automatically opens browser preview after starting a Vite server).

Multi-instance Switching
- Easily switch the MCP server between multiple open VSCode windows.(Just by clicking the status bar item)

Relay Functionality (Experimental)
- Relay and expose built-in MCP servers introduced in VSCode 1.99 externally.
- Allows external access to tools provided by other MCP extensions, such as GitHub Copilot.

Available Built-in Tools

- execute_command: Execute commands in VSCode’s integrated terminal
- code_checker: Retrieve current diagnostics for your code
- focus_editor: Focus specific locations within files
- list_debug_sessions / start_debug_session / restart_debug_session / stop_debug_session: Manage debug sessions
- text_editor: File operations (view, replace, create, insert, undo)
- list_directory: List directory contents in a tree format
- get_terminal_output: Fetch output from a specified terminal
- list_vscode_commands / execute_vscode_command: List and execute arbitrary VSCode commands
- preview_url: Open URLs within VSCode’s integrated browser

Installation & Setup

1. Install the extension from the VSCode Marketplace.

2.…
Read the full README on GitHub

Details

Language
TypeScript
Last updated
18 October 2025

FAQ

What is Vscode As Mcp Server?

Expose VSCode features such as file viewing and editing as MCP, enabling advanced AI-assisted coding directly from tools like Claude Desktop It is a editor integration for Claude Code, from acomagu/vscode-as-mcp-server on GitHub.

How do I install Vscode As Mcp Server?

Clone acomagu/vscode-as-mcp-server from GitHub and follow the setup steps in its README.

Is Vscode As Mcp Server popular?

acomagu/vscode-as-mcp-server has 124 GitHub stars and 28 forks. It was last updated on 18 October 2025.

More editor integrations

Browse the most popular Claude Code mods, all editor integrations, or the skills and MCP server directories.