About
Overview
The VS Code MCP Server enables AI agents to interact with Visual Studio Code. It provides tools for opening and editing files, running terminal commands, managing extensions, navigating code with go-to-definition and find-references, and accessing the VS Code workspace configuration.
Capabilities
Tools & Capabilities
⚡open_file
Open a file in the editor
⚡edit_file
Make edits to a file
⚡run_terminal
Run a command in the integrated terminal
⚡search_workspace
Search across the workspace
⚡list_extensions
List installed extensions
Setup
Installation
bash
Install
npx -y mcp-server-vscodeExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"vscode": {
"command": "npx",
"args": ["-y", "mcp-server-vscode"]
}
}
}Quick Info
Authornicepkg
LanguageTypeScript
StatusBeta
Stars★ 180
Last UpdatedFeb 12, 2026