xdebug-mcp

Level CLocal

MCP server for PHP Xdebug debugging - enables AI-assisted PHP debugging through the Model Context Protocol with Unix socket and TCP support

⭐ 29Development ToolsTypeScriptRepo ↗Updated 2026-10-16

Installation

MCP client config (paste into mcp.json)

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

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/kpanuragh/xdebug-mcp

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "xdebug": {
      "command": "npx",
      "args": [
        "xdebug-mcp"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers