MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection
MCP server for PHP Xdebug debugging with breakpoints, stepping, and variable inspection
An MCP (Model Context Protocol) server that provides PHP debugging capabilities through Xdebug's DBGp protocol. This allows AI assistants like Claude to directly debug PHP applications.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| capture_request_context | Capture HTTP request context |
| add_step_filter | Add filter to skip files during stepping |
| list_step_filters | List step filter rules |
| get_function_history | View function call history |
| export_session | Export session as JSON/HTML report |
| capture_snapshot | Capture debug state snapshot |
{
"mcpServers": {
"xdebug": {
"command": "xdebug-mcp",
"env": {
"XDEBUG_PORT": "9003",
"LOG_LEVEL": "info"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| XDEBUG_PORT | Configuration value read at startup. | Optional |
| LOG_LEVEL | Configuration value read at startup. | Optional |
| PATH_MAPPINGS | Filesystem location the server is allowed to use. | Optional |
| XDEBUG_SOCKET_PATH | Filesystem location the server is allowed to use. | Optional |
| DBGP_PROXY_HOST | Endpoint or connection string the server talks to. | Optional |
| XDEBUG_HOST | Endpoint or connection string the server talks to. | Optional |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Stamp your agent into existence. Identity certificates, public registry, and wishing well for AI agents.
It is a newsletter-based MCP that searches for relevant code snippets, indie developer articles and blog posts so you don't have to hunt through
MCP server helping models to understand your Vite/Nuxt app better.
An MCP server that parses HAR files and returns requests in a simplified format