MCP server for Claude Code/VSCode/Cursor/Windsurf to use editor self functionality. ⚡ Get real-time LSP diagnostics, type information, and code navigation for AI coding agents without waiting for slow tsc/eslint checks.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"vscode-mcp": {
"args": [
"@vscode-mcp/vscode-mcp-server@latest"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
VSCode MCP is a comprehensive monorepo solution that enables MCP (Model Context Protocol) clients to access rich VSCode context information in real-time. This project bridges the gap between AI assistants and your development environment, providing accurate code analysis, diagnostics, and intelligent code navigation.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@vscode-mcp/vscode-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @vscode-mcp/vscode-mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Copy/paste detector for programming source code, supports 223 formats. AI-ready with token-efficient reporter, skill and MCP server.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
MCP Security Weekly
Get CVE alerts and security updates for Vscode Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Connect VSCode with MCP (Model Context Protocol) for enhanced AI assistant capabilities
Design Motivation • Available Tools • Installation • CLI • Architecture • License
VSCode MCP is a comprehensive monorepo solution that enables MCP (Model Context Protocol) clients to access rich VSCode context information in real-time. This project bridges the gap between AI assistants and your development environment, providing accurate code analysis, diagnostics, and intelligent code navigation.
VSCode MCP Bridge primarily serves AI IDEs (like Cursor) and AI coding agents, helping them develop and analyze code more efficiently.
Traditional AI coding agents often need to execute time-consuming commands when validating code modifications:
tsc --noEmit - TypeScript type checkingeslint . - Code style checkingnpm run build - Project buildingThese commands run slowly in large projects, severely impacting AI development efficiency. VSCode MCP Bridge provides real-time LSP (Language Server Protocol) information, allowing AI agents to:
get-diagnostics) - Replace time-consuming type checking and lint commandsget-symbol-lsp-info) - Get definition, hover, signatures, and type info in one callget-references) - Understand code structure and dependencies with usage contextVSCode MCP provides the following tools through the MCP protocol:
| Tool | Description |
|---|---|
| execute_command | ⚠️ Execute VSCode commands with JSON string arguments |
| get_symbol_lsp_info | Get comprehensive LSP info (definition, hover, signatures, etc.) |
| get_diagnostics | Get real-time diagnostics, replace slow tsc/eslint |
| get_references | Find symbol references with usage context code |
| health_check | Test connection to VSCode MCP Bridge extension |
| list_workspaces | List all available VSCode workspaces |
| open_files | Open multiple files with optional editor display |
| rename_symbol | Rename symbols across all files in workspace |
⚠️ Security Warning: The
execute_commandtool can execute ar