Xdebug MCP logo

Xdebug MCP

未认领

作者:kpanuragh

MCP server for PHP Xdebug debugging - enables AI-assisted PHP debugging through the Model Context Protocol with Unix socket and TCP support

aiclaudedbgpdebuggingmcpphpunix-socketxdebug

01 / 选择客户端

02 / 连接前的准备

认证方式尚未指定。连接前请查看项目说明。

安装项目所需的运行环境,并确保客户端能够使用它。

项目说明

输入项目说明中的变量名,用逗号分隔。只输入名称,不要输入密钥值。

03 / 添加配置

来源:根据公开安装说明生成

claude mcp add --transport stdio 'xdebug-mcp' -- 'npx' '-y' 'xdebug-mcp'

替换占位符后在终端中运行。

04 / 在客户端中确认

打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。

更多AI & ML服务器

浏览完整目录

未认领列表

这个 MCP 服务器是你的吗?

此列表根据公开信息自动生成。认领后,你可以编辑页面、设置兼容性并解锁增长工具。全程不超两分钟。

认领此服务器

安全概况

已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理

40 个工具中显示 40 个

文档中列出的工具 (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

工具变更历史

比较相同配置的完整检查。只列出工具,未调用工具。此处不测量输入结构的变化。

尚无完整工具检查。