vscode-mcp
Click on "Deploy 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-mcp Find 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.
cursor-bridge
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) |
Cursor-control tools
cursor_send, cursor_send_and_wait, cursor_read_chat, and cursor_list_workspaces talk directly to Cursor's Chrome DevTools Protocol (CDP) debug port and to its state.vscdb SQLite database — they do not require the cursor-mcp-bridge extension. All other Cursor-control tools do require the extension (see below) running in the target Cursor window, and take a port argument for its fixed HTTP bridge port.
Requirement: Cursor must be launched with --remote-debugging-port=<port> (default 9222) for the CDP-based tools to work. See CDP debug port setup below.
Tool | Description |
| Discover all open Cursor windows via CDP |
| Check bridge status for a given port |
| List Cursor/VS Code commands available in a window, optionally filtered |
| Open a new chat/composer/agent panel; returns |
| Send a message via CDP trusted input and block until Cursor's agent response is marked |
| Send a message via CDP trusted input and return as soon as it's delivered (no waiting for the reply); supports |
| Read the conversation history of a session by |
| Get the currently configured AI model |
| Change the active AI model |
| Open the model selector UI |
| Open a file in the editor, optionally at a specific line |
| Get the active editor's file, cursor position, selection, open editors |
| Get all errors/warnings from the window's language servers |
| Execute any VS Code / Cursor command by ID |
| Build, package, install, and reload the |
CDP debug port setup (required for chat tools)
cursor_send, cursor_send_and_wait, cursor_read_chat, and cursor_list_workspaces connect to Cursor's native Chrome DevTools Protocol debug port. Cursor must be relaunched with --remote-debugging-port for these to work — the flag cannot be enabled while Cursor is already running.
Set the CURSOR_CDP_PORT environment variable if you use a non-default port (default 9222) when running the cursor-bridge server — see the MCP server config examples below (env field).
macOS — quit Cursor fully, then relaunch from a terminal:
open -a Cursor --args --remote-debugging-port=9222To make this persistent (survive Dock/Spotlight launches too), edit Cursor's Info.plist launch arguments or wrap the app in a shell alias that always passes the flag before opening it normally.
Linux — launch (or add to your .desktop file's Exec= line):
cursor --remote-debugging-port=9222Windows — add the flag to the shortcut target, or launch from PowerShell/cmd:
cursor.exe --remote-debugging-port=9222For a persistent setup on any OS, edit the application's launch shortcut/.desktop entry once so every normal launch (Dock, Start Menu, taskbar) includes the flag — this needs to be done only once per machine.
Related MCP server: code-context
The cursor-mcp-bridge extension
extension/ is a small VS Code/Cursor extension that exposes an HTTP bridge for VS Code-command-dependent tools (/command, /editor/*, /diagnostics, /model/*, /commands, /status). It is cross-platform (macOS, Linux, Windows) and listens on a fixed, configurable port (default 9421, set via the cursorMcpBridge.port VS Code setting).
Chat send/read/discovery no longer go through this extension — they use CDP and direct SQLite reads from the client (see CDP debug port setup above).
Building and deploying the extension:
bash scripts/deploy.shThis builds the MCP server and the extension, packages a .vsix, installs it into Cursor's extensions directory, and reloads the active window.
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": {
"cursor-bridge": {
"command": "node",
"args": ["/absolute/path/to/cursor-bridge/dist/index.js"],
"env": { "CURSOR_CDP_PORT": "9222" }
}
}
}CURSOR_CDP_PORT (default 9222) must match the --remote-debugging-port value Cursor was launched with.
Option B — run via npx (no manual build needed)
{
"mcpServers": {
"cursor-bridge": {
"command": "npx",
"args": ["--yes", "cursor-bridge"]
}
}
}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": {
"cursor-bridge": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/cursor-bridge/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.
Contributing
Contributions are welcome — see CONTRIBUTING.md for dev setup, how to run tests, and PR guidelines. This project follows the Contributor Covenant.
Found a security issue? See SECURITY.md — please don't file it as a public issue.
Changelog
See CHANGELOG.md.
License
Available Tools
12 toolscreate_directoryA
Create a directory (and all parent directories).
Inputs: path (required), workspace_root.
delete_pathB
Delete a file or directory.
Inputs: path (required), recursive, workspace_root.
edit_fileC
Replace an exact string in a file. The old_string must appear exactly once.
Inputs: path (required), old_string (required), new_string (required), workspace_root.
find_filesB
Find files by name glob pattern (e.g. '.ts', 'index.').
Inputs: directory (required), pattern (required), max_results, workspace_root.
get_file_infoB
Get metadata about a file or directory (size, modification time, type).
Inputs: path (required), workspace_root.
get_workspace_infoA
Get information about the current workspace: root directory, platform, Node version, git status summary.
Inputs: workspace_root.
list_directoryB
List files and directories at a given path.
Inputs: path (required), recursive, workspace_root.
move_pathB
Move or rename a file or directory.
Inputs: source (required), destination (required), workspace_root.
read_fileB
Read the contents of a file. Optionally specify a line range.
Inputs: path (required), start_line, end_line, workspace_root.
run_commandA
Execute a shell command in the given working directory. Returns stdout, stderr, and exit code.
Inputs: command (required), cwd, timeout_ms.
search_filesB
Search for a regex pattern inside files. Returns matching lines with file and line number.
Inputs: directory (required), pattern (required), file_glob, ignore_case, +2 more.
write_fileA
Write or overwrite a file with new content. Creates parent directories automatically.
Inputs: path (required), content (required), workspace_root.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct file or workspace operation: create, delete, edit, find, get info, list, move, read, run, search, write. No two tools have overlapping purposes.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_directory, read_file, write_file). No deviations or mixed conventions.
12 tools is well-scoped for a file system and workspace utility server, covering essential operations without being overwhelming or too sparse.
The tool set covers fundamental file/directory operations and workspace info. Minor gaps exist such as no copy tool (can be done via read+write) and no line-based editing, but core workflows are supported.
Maintenance
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn 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.15306MIT
- AlicenseAqualityDmaintenanceAn 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.835 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceMCP server that integrates with VS Code to enable file operations, git diffs, and line highlighting via MCP clients like Claude.43MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that allows Claude Desktop to remotely control Claude Code instances for executing commands and managing files.56 npmGPL 3.0