Debugai MCP server
{
"mcpServers": {
"1shizaan-debugai": {
"command": "npx",
"args": [
"-y",
"@debugai/mcp@latest"
],
"env": {
"DEBUGAI_API_KEY": "<debugai_api_key>",
"DEBUGAI_CONFIG_PATH": "/path/to/directory"
}
}
}
}{
"mcpServers": {
"1shizaan-debugai": {
"command": "npx",
"args": [
"-y",
"@debugai/mcp@latest"
],
"env": {
"DEBUGAI_API_KEY": "<debugai_api_key>",
"DEBUGAI_CONFIG_PATH": "/path/to/directory"
}
}
}
}{
"mcpServers": {
"1shizaan-debugai": {
"command": "npx",
"args": [
"-y",
"@debugai/mcp@latest"
],
"env": {
"DEBUGAI_API_KEY": "<debugai_api_key>",
"DEBUGAI_CONFIG_PATH": "/path/to/directory"
}
}
}
}{
"servers": {
"1shizaan-debugai": {
"command": "npx",
"args": [
"-y",
"@debugai/mcp@latest"
],
"env": {
"DEBUGAI_API_KEY": "${input:debugai_api_key}",
"DEBUGAI_CONFIG_PATH": "${input:debugai_config_path}"
}
}
},
"inputs": [
{
"id": "debugai_api_key",
"type": "promptString",
"description": "Debugai api key",
"password": true
},
{
"id": "debugai_config_path",
"type": "promptString",
"description": "Debugai config path",
"password": true
}
]
}{
"mcpServers": {
"1shizaan-debugai": {
"command": "npx",
"args": [
"-y",
"@debugai/mcp@latest"
],
"env": {
"DEBUGAI_API_KEY": "<debugai_api_key>",
"DEBUGAI_CONFIG_PATH": "/path/to/directory"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @debugai/mcpversion 2.1.1
What it does
This MCP server integrates DebugAI, a debugging tool that analyzes errors and suggests fixes. It auto-configures itself in Claude Code, Claude Desktop, Cursor, Windsurf, Zed, Gemini CLI, and Cline through browser-based sign-in, with no API key pasting required.
- Pass an error message, stack trace, or exception to debug_error and receive the root cause, file location, and up to 3 ranked fixes with verification status.
- Apply a suggested fix to your code and report back whether it worked or failed using report_outcome to help the system learn and improve future suggestions.
- Set up debugging in multiple coding environments automatically with a single setup command that handles authentication and configuration across all detected clients.
Tools this server exposes
| Tool | Does |
|---|---|
| debug_error | Analyzes an error message, exception, or stack trace and returns the root cause, up to 3 ranked fixes with edit suggestions, and verification status for each fi |
| report_outcome | Reports whether an applied fix worked or failed, providing feedback to improve future debugging suggestions and remember successful fixes per project. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.