Loomal

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

23 starsnpm: xdebug-mcp

About xdebug

xdebug is an MCP (Model Context Protocol) server published by kpanuragh in the official MCP registry. MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection

It ships as an npm package (xdebug-mcp), so any MCP client that can launch a local process can run it.

Development happens in the open at github.com/kpanuragh/xdebug-mcp, where the project has earned 23 GitHub stars.

Use xdebug with your agent

Claude Code · one command
claude mcp add xdebug -- npx -y xdebug-mcp
Claude Desktop, Cursor & other MCP clients · config
{
  "mcpServers": {
    "xdebug": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp"
      ]
    }
  }
}
npmxdebug-mcp

Frequently asked questions

What is xdebug?
xdebug is an MCP (Model Context Protocol) server by kpanuragh. MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection
How do I connect xdebug to Claude, Cursor, or another MCP client?
Install xdebug from its npm package (xdebug-mcp) and register it under "mcpServers" in your client's MCP configuration — for example claude_desktop_config.json or Cursor's mcp.json — then restart the client.
Is xdebug open source?
Yes — the source code is public at github.com/kpanuragh/xdebug-mcp, with 23 GitHub stars.
Can AI agents pay to use xdebug?
Not yet through Loomal — xdebug is listed as a free directory entry. If its maintainer verifies ownership, they can set per-call USDC pricing that agents pay over x402, with settlement on Base.

Listing data from the official MCP registry and GitHub, refreshed periodically. Not affiliated with the maintainer unless claimed. Maintain xdebug? Claim this listing free by verifying GitHub ownership, or contact us.