LL

lucianotonet/laravel-telescope-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

23 stars 5 forks 품질 82 트렌드 18MIT

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 JsonSchema builder
  • Better request handling with Laravel\Mcp\Request and Laravel\Mcp\Response
  • Full backward compatibility maintained - all 19 tools work identically
  • Ready for future Laravel/MCP features (Resources, Prompts, OAuth authentication)

Quick Start

  1. Install the package:

    composer require lucianotonet/laravel-telescope-mcp --dev
    
  2. 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.

  3. 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.

GitHub에서 전체 README 보기

설치

npx -y @modelcontextprotocol/inspector --transport http --server-url "https://your-domain.com/telescope-mcp"
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "laravel-telescope": { "command": "php", "args": ["artisan", "telescope-mcp:server"], "cwd": "/path/to/your/project", "env": { "APP_ENV": "local" } } } }