Koskamo

xdebug-mcp

An MCP server that enables AI assistants like Claude to directly debug PHP applications using Xdebug's DBGp protocol. It supports features such as setting breakpoints, stepping through code, inspecting variables, evaluating expressions, and viewing stack traces. It also offers advanced capabilities like watch expressions, logpoints, memory profiling, and code coverage tracking.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

xdebug-mcp logo, by kpanuraghCommunity listingLocal stdioSource reviewed; not executedPublished by kpanuragh
Vendor documentation

What you can do with it

  • Set line, conditional, or exception breakpoints in PHP code
  • Step into, over, or out of PHP functions during debugging
  • Inspect variables and evaluate PHP expressions in the current context
  • View full call stacks and track memory usage between breakpoints

Source and maintenance

Community listingRegistry 1.2.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

xdebug-mcp 1.2.1

npm
xdebug-mcp package definition
{
  "version": "1.2.1",
  "transport": "stdio",
  "identifier": "xdebug-mcp",
  "registryType": "npm"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "xdebug-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp@1.2.1"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "xdebug-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp@1.2.1"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "xdebug-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp@1.2.1"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "xdebug-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "xdebug-mcp@1.2.1"
      ]
    }
  }
}

Let your agent find its tools

Find servers like xdebug-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.