TypeScript
xdebug-mcp
An MCP server that exposes PHP Xdebug sessions, over Unix sockets or TCP.
Xdebug speaks DBGp. Language models do not. This bridges the two, so a debugging session — breakpoints, stack frames, variable inspection — is available as MCP tools.
It handles both Unix-socket and TCP transports, because local PHP setups and containerised ones disagree about which they offer.