vscode-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vscode-mcpFind all .ts files in the src folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vscode-mcp
An MCP (Model Context Protocol) server that gives Claude IDE capabilities inside VS Code and Cursor. Claude can read, write, edit, search, and run commands in your workspace — directly from the chat.
Tools
Tool | Description |
| Read file contents, with optional line range |
| Write or overwrite a file (creates parent dirs) |
| Replace an exact string in a file |
| List files and dirs (optionally recursive) |
| Create a directory tree |
| Delete a file or directory |
| Move or rename a file/directory |
| Grep-style regex search across files |
| Find files by glob pattern (e.g. |
| Execute any shell command, capture output |
| Platform, Node version, git branch & status |
| File metadata (size, modified time, type) |
Installation
npm install
npm run buildUsing with Cursor
Cursor reads MCP server configuration from:
Global:
~/.cursor/mcp.jsonProject:
.cursor/mcp.json(in your project root)
Option A — run via node (after build)
Add to your Cursor MCP config:
{
"mcpServers": {
"vscode-mcp": {
"command": "node",
"args": ["/absolute/path/to/vscode-mcp/dist/index.js"]
}
}
}Option B — run via npx (no manual build needed)
{
"mcpServers": {
"vscode-mcp": {
"command": "npx",
"args": ["--yes", "vscode-mcp"]
}
}
}After editing the config, open Cursor Settings → Features → MCP and click Refresh (or restart Cursor).
Using with VS Code + Copilot Chat (MCP support)
Add to your VS Code settings.json:
"mcp": {
"servers": {
"vscode-mcp": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/vscode-mcp/dist/index.js"]
}
}
}Development
npm run dev # watch mode (recompiles on save)
npm start # run the built serverTips
All paths can be absolute or relative to the workspace root.
Pass
workspace_rootto any tool to anchor relative paths to a specific directory.run_commandaccepts any shell command — use it forgit,npm, linters, compilers, etc.search_filesskipsnode_modules,dist, and hidden folders automatically.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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