- Laravel Telescope MCP
Laravel Telescope MCP
what is Laravel Telescope MCP?
Laravel Telescope MCP is an extension for Laravel Telescope that exposes telemetry data via the Model Context Protocol (MCP) to AI assistants, enabling developers to query application metrics using natural language.
how to use Laravel Telescope MCP?
To use Laravel Telescope MCP, first ensure Laravel Telescope is installed. Then, add the package via Composer, publish the configuration, and connect an AI client like Cursor to access telemetry data.
key features of Laravel Telescope MCP?
- Translates natural-language queries into MCP operations.
- Retrieves and summarizes logs, slow queries, HTTP requests, exceptions, and jobs.
- Integrates with AI tools for enhanced data querying.
use cases of Laravel Telescope MCP?
- Fetching error logs using natural language queries.
- Identifying slow SQL queries in real-time.
- Summarizing HTTP requests with specific status codes.
FAQ from Laravel Telescope MCP?
- Is Laravel Telescope MCP compatible with all Laravel versions?
It is designed to work with Laravel applications that have Telescope installed.
- Can I customize the MCP endpoint?
Yes! You can customize the endpoint path and authentication settings in the configuration.
- What kind of queries can I run?
You can run queries related to logs, jobs, HTTP requests, and more using natural language.
Server Config
{
"mcpServers": {
"Laravel Telescope MCP": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://localhost:8000/telescope-mcp",
"--allow-http"
]
}
}
}