xdebug for Claude Desktop
io.github.kpanuragh/xdebug
MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection
client:Claude Desktop
transport:stdio
runtime:npm
Install xdebug in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"xdebug": {
"command": "npx",
"args": [
"-y",
"xdebug-mcp"
]
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs