Let Claude talk
to your Cursor editor
A local MCP bridge that gives Claude.ai direct access to your open files, editor state, and workspace — so you can describe changes and have them applied instantly.
Architecture
How it works
Two lightweight pieces work together locally on your machine — nothing is sent to the cloud except your normal Claude.ai messages.
Setup
Installation guide
Open Cursor, press Ctrl+Shift+P (or Cmd+Shift+P on Mac), and run Extensions: Install from VSIX. Select the .vsix file from the download.
After reloading Cursor you should see a notification: "Claude-Cursor MCP Bridge started on port 9877"
The MCP server only needs one package. Run one of these in your terminal:
pip install mcp
Or if you use uv:
uv pip install mcp
server.py somewhere permanentPut server.py in a folder you won't accidentally delete. For example:
# Windows C:\Users\YourName\mcp\server.py # Mac / Linux ~/mcp/server.py
Note the full path — you'll need it in the next step.
Go to Claude.ai → Settings → Integrations → Add MCP Server and paste the following, replacing the path with where you saved server.py:
{
"mcpServers": {
"cursor": {
"command": "python",
"args": ["/full/path/to/server.py"]
}
}
}
"C:/Users/YourName/mcp/server.py"
Verify it's working
Open a project in Cursor, then in Claude.ai try:
"What files do I have open in Cursor?" "Read my active file and suggest improvements." "Add a comment at the top of the active file."
Reference
Available tools
Claude can use these tools automatically when you ask it to interact with your editor. You don't need to call them by name.
Download
Get the files
Claude-Cursor MCP Bridge v0.0.1
Everything you need. No build step required — just install the extension and run the Python server.
npm install then npm run package inside the extension folder.
MIT licensed · runs entirely on your local machine
Help
Troubleshooting
Ctrl+Shift+P → Reload Window.server.py. On Windows, use forward slashes or double backslashes.ModuleNotFoundError: mcppip install mcp in the same Python environment that Claude.ai is configured to use. If you use multiple Python versions, specify the full path: "command": "python3".server.py and extension.js to use a different port number (change 9877 in both files, then repackage the extension).