October 27, 2025
Inspector MCP Server — AI-Assisted Debugging for PHP Applications
package

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 contextget_error_analysis— View detailed stack traces and code-level insightsworst_performing_transactions— Identify slow or failing transactionstransaction_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
