Skip to content
Cline

xdebug for Cline

io.github.kpanuragh/xdebug

MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection

client:Cline transport:stdio runtime:npm

Install xdebug in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

{
  "mcpServers": {
    "xdebug": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp"
      ]
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

xdebug in other clients