koriym/xdebug-mcp
If you are the rightful owner of xdebug-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The PHP Xdebug MCP Server enables AI to control PHP Xdebug for debugging, profiling, and coverage analysis.
Tools
Functions exposed to the LLM to take actions
xdebug_start_profiling
Start profiling execution
xdebug_stop_profiling
Stop profiling and return results
xdebug_get_profile_info
Get current profiling information
xdebug_analyze_profile
Analyze profiling data from file
xdebug_start_coverage
Start code coverage tracking
xdebug_stop_coverage
Stop code coverage tracking
xdebug_get_coverage
Get code coverage data
xdebug_analyze_coverage
Analyze coverage data and generate report
xdebug_coverage_summary
Get coverage summary statistics
xdebug_get_memory_usage
Get current memory usage information
xdebug_get_peak_memory_usage
Get peak memory usage information
xdebug_get_stack_depth
Get current stack depth level
xdebug_get_time_index
Get time index since script start
xdebug_get_function_stack
Get detailed function call stack with timing and memory data
xdebug_info
Get detailed Xdebug configuration and diagnostic information
xdebug_start_error_collection
Start collecting PHP errors, notices, and warnings
xdebug_stop_error_collection
Stop collecting errors and return collected data
xdebug_get_collected_errors
Get currently collected error messages
xdebug_start_trace
Start function call tracing
xdebug_stop_trace
Stop function call tracing and return trace data
xdebug_get_tracefile_name
Get the filename of the current trace file
xdebug_start_function_monitor
Start monitoring specific functions
xdebug_stop_function_monitor
Stop function monitoring and return monitored calls
xdebug_call_info
Get information about the calling context
xdebug_print_function_stack
Print formatted function stack trace
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client