Claude Debugs For You is an MCP (Model Context Protocol) Server and VS Code extension that enables AI models like Claude to interactively debug your code. It works across programming languages and integrates with VSCode's debugging capabilities to help analyze and fix issues in your code.
.vsix
file directly, go to the Extensions view in VS Code, click the three dots, and select "Install from VSIX..."claude_desktop_config.json
with the copied path:{
"mcpServers": {
"debug": {
"command": "node",
"args": [
"/path/to/mcp-debug.js"
]
}
}
}
http://localhost:4711/sse
.vscode/launch.json
file configured for debuggingTo set up with Continue:
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "node",
"args": [
"/path/to/mcp-debug.js"
]
}
}
]
}
}
examples/python
folder in VS Codei am building `longest_substring_with_k_distinct` and for some reason it's not working quite right. can you debug it step by step using breakpoints and evaluating expressions to figure out where it goes wrong? make sure to use the debug tool to get access and debug! don't make any guesses as to the problem up front. DEBUG!
When you start multiple VS Code windows, you'll see a pop-up allowing you to gracefully hand-off "Claude Debugs For You" between windows.
You can disable autostart in settings. In this case, you'll need to:
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.