October 27, 2025

Inspector MCP Server — AI-Assisted Debugging for PHP Applications

package
Inspector MCP Server — AI-Assisted Debugging for PHP Applications

The Inspector MCP Server brings production error monitoring to your AI coding agents and IDEs — enabling them to analyze real-world issues, suggest fixes, and enhance your debugging workflow.

composer require inspector-apm/mcp-server --dev

Then configure your AI client (Claude Code, Cursor, JetBrains, etc.) to connect via STDIO transport:

{ "mcpServers": { "inspector": { "command": "php", "args": [ "vendor/inspector-apm/mcp-server/server.php" ], "env": { "INSPECTOR_API_KEY": "your-api-key", "INSPECTOR_APP_ID": "your-app-id" } } } }

Once connected, your AI assistant gains access to powerful debugging tools:

  • get_production_errors — Fetch recent production errors with full context
  • get_error_analysis — View detailed stack traces and code-level insights
  • worst_performing_transactions — Identify slow or failing transactions
  • transaction_details — Explore detailed performance timelines

Main Features

  • Smart Error Analysis: AI agents can fetch and explain production issues.
  • Code-Level Insights: Links directly to your application’s source.
  • Intelligent Prioritization: Groups and ranks issues by severity and frequency.
  • LLM-Optimized: Structured responses built for AI reasoning and context understanding.

Perfect for developers using Inspector.dev, Neuron AI Framework, or AI-powered IDEs who want production-aware debugging.

Learn more and get started here: laravel-hub.com/package/mcp-server

Did you find this article helpful? Share it!