VS Code
About
Enables direct interaction with VS Code through bidirectional communication, providing tools for file diffing, project navigation, shell command execution, and editor information retrieval for seamless coding assistance.
Details
- Author
- block
- Repository
- block/vscode-mcp
- GitHub stars
- 44
- Downloads
- 4,437
- License
- Apache License 2.0
- Categories
- Developer Tools, Productivity, Design, File Management, AI, Infrastructure, Project Management
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
VS CodeCommand (node, npx, python, etc.)npxArguments-
Argument 1
vscode-mcp-server
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository

- ID: code-mcp
- Name: VS Code
- Description: Allows interaction with VS Code through the Model Context Protocol
- Command: npx vscode-mcp-server
Add this to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"vscode-mcp-server": {
"command": "npx",
"args": ["vscode-mcp-server"],
"env": {}
}
}
}
create_diff
Creates and shows a diff for modifying existing files. Shows changes preview before applying and requires user approval. Only works with existing files.
open_file
Opens files in the VS Code editor for viewing new or modified files.
open_project
Opens a project folder in VS Code, setting up the working directory for the AI agent.
check_extension_status
Checks if the extension is installed and responding.
get_extension_port
Gets the port number for the VS Code MCP Extension.
list_available_projects
Shows projects from the port registry file.
The Code MCP server provides the following tools for AI agents to interact with VS Code:
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"vs code": {
"env": {},
"args": [
"vscode-mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": [],
"args": [
"vscode-mcp-server"
],
"command": "npx"
}
Macos
{
"env": [],
"args": [
"vscode-mcp-server"
],
"command": "npx"
}
Windows
{
"env": [],
"args": [
"/c",
"npx",
"vscode-mcp-server"
],
"command": "cmd"
}
This monorepo contains the VSCode MCP Server and its companion VSCode Extension, which together enable AI agents and assistants, like Goose or Claude, to interact with VSCode through the Model Context Protocol.
vscode-mcp/ ├── server/ # MCP server implementation └── extension/ # VS Code extension
- ID:code-mcp
- Name:VS Code
- Description:Allows interaction with VS Code through the Model Context Protocol
- Command:npx vscode-mcp-server
Add this to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json):
{ "mcpServers": { "vscode-mcp-server": { "command": "npx", "args": ["vscode-mcp-server"], "env": {} } } }
The Code MCP server provides the following tools for AI agents to interact with VS Code:
Creates and shows a diff for modifying existing files:
- Shows changes preview before applying
- Requires user approval
- Only works with existing files
Checks if extension is installed and responding
Gets the port number for VS Code MCP Extension
This project is licensed under the Apache License 2.0 - see theLICENSEfile for details.
This product includes software developed atBlock, Inc.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.
Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.
Remote, no-auth MCP server providing AI-powered codebase context and answers
Instead of direct calling MCP tools, mcpcode server transforms MCP tool calls into TypeScript programs, enabling smarter, lower-latency orchestration by LLMs.
Help agents automatically write and test stories for your UI components
Official Svelte MCP server, provides docs and suggestions on the generated code.
Supercharge your Agent with Semantic Code Intelligence and save 💰 in the process!
Execute any LLM-generated code in the YepCode secure and scalable sandbox environment and create your own MCP tools using JavaScript or Python, with full support for NPM and PyPI packages
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





