Xdebug MCP Server
by kpanuraghio.github.kpanuragh/xdebugv1.2.1
MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection
context tax
queued
security
queued
cold start
queued
freshness
Active7d ago
Install Xdebug MCP server
Install in Claude Code
claude mcp add xdebug -- npx -y xdebug-mcpInstall in Cursor
{
"mcpServers": {
"xdebug": {
"command": "npx",
"args": [
"-y",
"xdebug-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"xdebug": {
"command": "npx",
"args": [
"-y",
"xdebug-mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"xdebug": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xdebug-mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"xdebug": {
"command": "npx",
"args": [
"-y",
"xdebug-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Freshness
Active — last maintenance signal 7d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-02 · 7d ago · GitHub
Latest release
2026-09-01 · 38d ago · GitHub · v1.3.1
Package published
no data · npm/PyPI
Registry entry updated
2026-03-23 · 7mo ago · official registry · v1.2.1
FAQ
›How do I install the Xdebug MCP server in Claude Code?
Run: claude mcp add xdebug -- npx -y xdebug-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Xdebug require an API key?
No required environment variables are declared in its published metadata.
›Can I use Xdebug as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Xdebug in the official MCP registry?
Yes, as io.github.kpanuragh/xdebug.