Xdebug MCP
UnclaimedMCP server for PHP Xdebug debugging - enables AI-assisted PHP debugging through the Model Context Protocol with Unix socket and TCP support
Install
npm install -g xdebug-mcpUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverTools (40)
add_logpoint
Add a logpoint with message template
add_watch
Add a persistent watch expression
close_session
Close a debug session
continue
Continue to next breakpoint
detach
Detach and let script continue
evaluate
Evaluate a PHP expression
evaluate_watches
Evaluate all watches and detect changes
get_contexts
Get available variable contexts
get_coverage_report
View coverage statistics
get_logpoint_history
View log output and hit statistics
get_memory_timeline
View memory usage over time
get_profile_stats
Get current profiling statistics
get_session_state
Get detailed state of a session
get_source
Get source code
get_stack_trace
Get the call stack
get_variable
Get a specific variable
get_variables
Get all variables in scope
list_breakpoints
List all breakpoints including pending
list_debug_profiles
List all saved profiles
list_sessions
List all active debug sessions
list_watches
List all active watches
load_debug_profile
Load a saved debug profile
remove_breakpoint
Remove a breakpoint (works with pending breakpoints)
remove_logpoint
Remove a logpoint
remove_watch
Remove a watch expression
save_debug_profile
Save current configuration as a profile
set_active_session
Set which session is active
set_breakpoint
Set a line or conditional breakpoint (supports pending breakpoints)
set_call_breakpoint
Break on function calls (supports pending breakpoints)
set_exception_breakpoint
Break on exceptions (supports pending breakpoints)
set_variable
Set a variable's value
start_coverage
Start tracking code coverage
start_profiling
Start memory/time profiling
step_into
Step into function calls
step_out
Step out of current function
step_over
Step over (skip function internals)
stop
Stop debugging
stop_coverage
Stop and get coverage report
stop_profiling
Stop profiling and get results
update_breakpoint
Enable/disable or modify a breakpoint