Vscode MCP
未认领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.
agentaiclaudecursoreslintlanguage-server-protocollintllmlspmcpmcp-serverstylelinttsctypescriptvscodevscode-extensionwindsurf
安装
$
claude mcp add vscode-mcp -- npx -y @vscode-mcp/vscode-mcp-server@latest工具(8 个)
execute_command
⚠️ Execute VSCode commands with JSON string arguments
get_diagnostics
Get real-time diagnostics, replace slow tsc/eslint
get_references
Find symbol references with usage context code
get_symbol_lsp_info
Get comprehensive LSP info (definition, hover, signatures, etc.)
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