vscode-mcp
vscode-mcp
Ein MCP-Server (Model Context Protocol), der Claude IDE-Funktionen innerhalb von VS Code und Cursor bereitstellt. Claude kann Dateien lesen, schreiben, bearbeiten, durchsuchen und Befehle in Ihrem Workspace ausführen — direkt aus dem Chat heraus.
Tools
Tool | Beschreibung |
| Dateiinhalt lesen, mit optionalem Zeilenbereich |
| Datei schreiben oder überschreiben (erstellt übergeordnete Verzeichnisse) |
| Eine exakte Zeichenfolge in einer Datei ersetzen |
| Dateien und Verzeichnisse auflisten (optional rekursiv) |
| Einen Verzeichnisbaum erstellen |
| Datei oder Verzeichnis löschen |
| Datei/Verzeichnis verschieben oder umbenennen |
| Grep-artige Regex-Suche in Dateien |
| Dateien nach Glob-Muster finden (z. B. |
| Beliebigen Shell-Befehl ausführen, Ausgabe erfassen |
| Plattform, Node-Version, Git-Branch & Status |
| Dateimetadaten (Größe, Änderungszeit, Typ) |
Related MCP server: code-context
Installation
npm install
npm run buildVerwendung mit Cursor
Cursor liest die MCP-Server-Konfiguration aus:
Global:
~/.cursor/mcp.jsonProjekt:
.cursor/mcp.json(im Projekt-Root)
Option A — Ausführung via node (nach dem Build)
Fügen Sie dies zu Ihrer Cursor-MCP-Konfiguration hinzu:
{
"mcpServers": {
"vscode-mcp": {
"command": "node",
"args": ["/absolute/path/to/vscode-mcp/dist/index.js"]
}
}
}Option B — Ausführung via npx (kein manueller Build erforderlich)
{
"mcpServers": {
"vscode-mcp": {
"command": "npx",
"args": ["--yes", "vscode-mcp"]
}
}
}Öffnen Sie nach dem Bearbeiten der Konfiguration Cursor Settings → Features → MCP und klicken Sie auf Refresh (oder starten Sie Cursor neu).
Verwendung mit VS Code + Copilot Chat (MCP-Unterstützung)
Fügen Sie dies zu Ihrer VS Code settings.json hinzu:
"mcp": {
"servers": {
"vscode-mcp": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/vscode-mcp/dist/index.js"]
}
}
}Entwicklung
npm run dev # watch mode (recompiles on save)
npm start # run the built serverTipps
Alle Pfade können absolut oder relativ zum Workspace-Root sein.
Übergeben Sie
workspace_rootan ein beliebiges Tool, um relative Pfade an ein bestimmtes Verzeichnis zu binden.run_commandakzeptiert jeden Shell-Befehl — verwenden Sie ihn fürgit,npm, Linter, Compiler usw.search_filesüberspringt automatischnode_modules,distund versteckte Ordner.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.15304MIT
- AlicenseAqualityCmaintenanceAn MCP server that provides dynamic codebase context to Claude Code through tools like hybrid search, recent changes, and symbol definitions, enhancing AI-assisted coding with local RAG.8MIT
- AlicenseNot gradedqualityFmaintenanceMCP server that integrates with VS Code to enable file operations, git diffs, and line highlighting via MCP clients like Claude.42MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows Claude Desktop to remotely control Claude Code instances for executing commands and managing files.61GPL 3.0
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KloutDevs/vscode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server