Inspector

Provides production error data, AI-assisted analysis, and actionable guidance for PHP applications.
  • php

7

GitHub Stars

php

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "inspector-apm-mcp-server": {
      "command": "php",
      "args": [
        "absolute-path-to-your-app-vendor-folder/inspector-apm/mcp-server/server.php"
      ],
      "env": {
        "INSPECTOR_APP_ID": "xxxx",
        "INSPECTOR_API_KEY": "xxxx"
      }
    }
  }
}

Inspector MCP Server is a PHP-focused tool that lets AI coding agents access production errors with full context, offers automated fixes, and provides actionable root-cause analysis and resolution guidance. It enhances debugging by tying error data directly to your application source and stack traces, enabling faster diagnosis and remediation.

How to use

Connect your MCP client (such as Claude Code or an agent-enabled IDE) to the Inspector MCP Server to enable production-aware debugging. You will run the local stdio MCP server process from your project and point your client at it. Use the server to fetch recent production errors, analyze failures with context from your codebase, and receive AI-powered recommendations for resolution.

How to install

Prerequisites you need before installing: PHP and Composer installed on your system. Ensure you can run PHP from the command line.

Install the MCP server and connect your client

{
  "mcpServers": {
    "inspector": {
      "command": "php",
      "args": [
        "absolute-path-to-your-app-vendor-folder/inspector-apm/mcp-server/server.php"
      ],
      "env": {
        "INSPECTOR_API_KEY": "xxxx",
        "INSPECTOR_APP_ID": "xxxx"
      }
    }
  }
}

Claude Code configuration to connect

When you have the connection details, add the MCP server to Claude Code using the following command. This will register the local stdio MCP server with your client.

claude mcp add inspector --env INSPECTOR_API_KEY=YOUR_KEY --env INSPECTOR_APP_ID=YOUR_APP_ID -- php absolute_path_to_your_app_vendor_folder/inspector-apm/mcp-server/server.php

Available tools

get_production_errors

Fetch recent production errors with context, including frequency, severity, affected code areas, and AI-generated recommendations for remediation.

get_error_analysis

Retrieve detailed error analysis with source code context, error patterns, occurrence frequency, and debugging guidance.

worst_performing_transactions

List the ten worst performing transactions in a given time window, including HTTP requests, background jobs, or CLI commands.

transaction_details

Provide timeline and details for a specific transaction, including database queries, cache operations, and external service calls.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Inspector MCP Server - inspector-apm/mcp-server | VeilStrat