
lucianotonet/laravel-telescope-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP server for Laravel Telescope
Обзор
An extension for Laravel Telescope that exposes telemetry data via the Model Context Protocol (MCP) to AI assistants (e.g., Cursor, Claude, Copilot Chat). Ideal for developers who use Telescope to inspect application metrics and require quick, precise insights. Telescope MCP exposes all Laravel Telescope telemetry data via the Model Context Protocol (MCP), enabling AI assistants to directly access and analyze application metrics. This provides developers with instant insights into logs, slow queries, HTTP requests, exceptions, jobs, and more through natural language queries. - PHP 8.3+ - Laravel 11, 12 or 13 - Laravel Telescope 5.0+ The HTTP MCP endpoint is . If you expose it online, enable authentication first (see "Secure Streamable HTTP in IDEs").
README
Показан фрагмент оригинального README. Открыть оригинал.
An extension for Laravel Telescope that exposes telemetry data via the Model Context Protocol (MCP) to AI assistants (e.g., Cursor, Claude, Copilot Chat). Ideal for developers who use Telescope to inspect application metrics and require quick, precise insights.
Overview
Telescope MCP exposes all Laravel Telescope telemetry data via the Model Context Protocol (MCP), enabling AI assistants to directly access and analyze application metrics. This provides developers with instant insights into logs, slow queries, HTTP requests, exceptions, jobs, and more through natural language queries.
Requirements
- PHP 8.3+
- Laravel 11, 12 or 13
- Laravel Telescope 5.0+
[!IMPORTANT] The HTTP MCP endpoint is not authenticated by default. If you expose it online, enable authentication first (see “Secure Streamable HTTP in IDEs”).
Status: ✅ 19 MCP tools fully operational and integrated
What’s New in v1.0
🎉 Now powered by the official Laravel/MCP package!
- Built on Laravel’s official MCP framework for better maintainability and long-term support
- Improved architecture with cleaner tool definitions using
Laravel\Mcp\Server\Tool - Enhanced schema validation with
JsonSchemabuilder - Better request handling with
Laravel\Mcp\RequestandLaravel\Mcp\Response - Full backward compatibility maintained - all 19 tools work identically
- Ready for future Laravel/MCP features (Resources, Prompts, OAuth authentication)
Quick Start
-
Install the package:
composer require lucianotonet/laravel-telescope-mcp --dev -
Auto-configure your MCP client:
php artisan telescope-mcp:install💡 Automatically detects and configures: Cursor, Claude Code, Windsurf, Cline, Gemini App, Antigravity, Codex, and OpenCode.
-
Restart your IDE/editor and start using tools!
Detailed Installation
1. Require Package
composer require lucianotonet/laravel-telescope-mcp --dev
2. Configure MCP Client
You can use the automatic installer or configure manually.
Установка
npx -y @modelcontextprotocol/inspector --transport http --server-url "https://your-domain.com/telescope-mcp"Конфигурация
{
"mcpServers": {
"laravel-telescope": {
"command": "php",
"args": ["artisan", "telescope-mcp:server"],
"cwd": "/path/to/your/project",
"env": {
"APP_ENV": "local"
}
}
}
}