Laravel Debugbar

•
1
•

Analyzes Laravel Debugbar logs, providing AI agents with standardized access to debugging data.

This MCP server acts as a crucial intermediary for developers, enabling AI agents to systematically analyze Laravel Debugbar logs. It offers a standardized Model Context Protocol for querying intricate debugging data such as request trees, database queries, Eloquent models, views, exceptions, and more. Designed exclusively for local development environments, it streamlines the process of diagnosing performance bottlenecks, errors, and unexpected application behavior within Laravel projects.

主な機能

01Standardized protocol for AI access to Laravel Debugbar logs
02Offers `debugbar_get_request_tree` to visualize recent request hierarchies and statuses
030 GitHub stars
04Enables `debugbar_get_logs` for detailed extraction of specific data sections (queries, models, exceptions, messages, route, gate)
05Compatible with Laravel versions 7.x through 12.x and PHP 8.0+
06Provides `debugbar_clear` tool to reset logs for focused testing

ユースケース

01Troubleshooting HTTP 500 errors by analyzing exceptions, stack traces, and relevant routes
02Systematic debugging and problem analysis during browser testing scenarios
03Diagnosing slow page loads by identifying slow SQL queries and N+1 Eloquent issues