LocalFree

Xdebug MCP server

kpanuragh/xdebug-mcp

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

28 GitHub stars8 forks981 npm downloads / month

Install Xdebug in Claude Code

Claude Code
claude mcp add xdebug -- npx -y xdebug-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "xdebug": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Xdebug MCP server do?

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

Is the Xdebug MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Xdebug run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Xdebug to Claude Code?

Run: claude mcp add xdebug -- npx -y xdebug-mcp

More other tools & integrations MCP servers

View all