laravel-telescope-mcp

lucianotonet/laravel-telescope-mcp

3.4

If you are the rightful owner of laravel-telescope-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Laravel Telescope MCP is an extension that integrates Laravel Telescope with AI assistants using the Model Context Protocol (MCP) for enhanced telemetry data access.

Laravel Telescope MCP is a powerful extension designed to bridge the gap between Laravel Telescope and AI assistants by utilizing the Model Context Protocol (MCP). This integration allows developers to interact with their application's telemetry data through natural language queries, making it easier to gain insights into application performance and behavior. By translating these queries into MCP operations, the extension retrieves relevant Telescope records and provides concise responses. This functionality is particularly beneficial for developers who need to quickly analyze logs, identify slow queries, monitor HTTP requests, and track exceptions or job statuses. The extension is easy to install and configure, requiring only a few steps to set up within a Laravel application. Once installed, developers can connect AI clients like Cursor, Claude, or Copilot Chat to the MCP server, enabling seamless interaction with the application's telemetry data. This integration not only enhances the developer experience but also improves the efficiency of application monitoring and debugging processes.

Features

  • Natural Language Querying: Allows developers to use natural language to query application telemetry data.
  • AI Integration: Connects with AI assistants like Cursor, Claude, and Copilot Chat for enhanced data interaction.
  • Comprehensive Data Access: Provides access to a wide range of telemetry data including logs, queries, requests, and more.
  • Easy Installation: Simple setup process with Composer and optional configuration steps.
  • Customizable: Offers configuration options for authentication, endpoint paths, and logging.

Usages

usage with Cursor

{
  "mcpServers": {
    "Laravel Telescope MCP": {
      "command": "npx",
      "args": [
        "-y", 
        "mcp-remote", 
        "http://localhost:8000/telescope-mcp",
        "--allow-http"
      ],
      "env": { "NODE_TLS_REJECT_UNAUTHORIZED": "0" }
    }
  }
}

usage with Cursor HTTPS

{
  "mcpServers": {
    "Laravel Telescope MCP": {
      "command": "npx",
      "args": [
        "-y", 
        "mcp-remote", 
        "https://example.com/telescope-mcp"            
      ]
    }
  }
}

Tools

  1. Batches

    Lists and analyzes batch operations.

  2. Cache

    Monitors cache operations.

  3. Commands

    Tracks Artisan command executions.

  4. Dumps

    Records var_dump and dd() calls.

  5. Events

    Monitors event dispatches.

  6. Exceptions

    Tracks application errors.

  7. Gates

    Records authorization checks.

  8. HTTP Client

    Monitors outgoing HTTP requests.

  9. Jobs

    Tracks queued job executions.

  10. Logs

    Records application logs.

  11. Mail

    Monitors email operations.

  12. Models

    Tracks Eloquent model operations.

  13. Notifications

    Records notification dispatches.

  14. Queries

    Monitors database queries.

  15. Redis

    Tracks Redis operations.

  16. Requests

    Records incoming HTTP requests.

  17. Schedule

    Monitors scheduled task executions.

  18. Views

    Records view renders.

  19. Prune

    Removes old Telescope entries.