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" } } } }