phpray
Server Details
Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- Repository
- stephen1137/phpray
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 10 tools
Each tool targets a distinct aspect of PHP performance monitoring: site discovery, overview metrics, trace listing/detail, errors, slow pages, slow queries, component attribution, alerts, and time-range comparison. Even the related traces/trace pair is clearly list-vs-detail with no functional overlap.
All tools share the phpray_ prefix and follow a consistent lowercase snake_case pattern built from descriptive nouns or noun phrases such as slow_pages and slow_queries. The single verb-like name 'compare' still fits the overall predictable scheme.
Ten tools is a well-scoped size for a monitoring server; each tool fills a specific investigative role without redundancy. The count supports a full workflow from high-level site status down to individual request traces.
The domain of PHP site performance monitoring is covered end-to-end: discovery through phpray_sites, summaries via phpray_overview, deep dives with phpray_trace, and targeted views for errors, slow pages, slow queries, components, alerts, and comparison. There are no obvious dead ends or missing operations for a read-only monitoring tool.
Available Tools
10 toolsphpray_alertsAInspect
Alerts currently firing across every site this token can see, worst overrun first.
Inputs: no named parameters.
phpray_compareAInspect
Two time ranges for one site side by side. Use it to check whether a deployment, a plugin update or a configuration change made things better or worse.
Inputs: site_id (required), to_a, to_b, from_a, +1 more.
phpray_componentsAInspect
Time attributed to each plugin, theme or vendor package on profiled requests. Answers "which plugin is slowing the site down". Empty when function profiling is off.
Inputs: site_id (required), limit, window_minutes.
phpray_errorsAInspect
Requests that failed on a site: PHP errors and warnings with file and line where PHP raised one, plus 5xx responses that carry no PHP error. Pass an id to phpray_trace to see what one of them did.
Inputs: site_id (required), limit, window_minutes.
phpray_overviewAInspect
Headline numbers for one site over a time window: requests, errors, p50/p95/p99 latency, database share and N+1 count. Use this before digging into anything else.
Inputs: site_id (required), window_minutes.
phpray_sitesAInspect
List the PHP sites this token can see, with requests, p95 latency and error rate. Start here: every other tool needs a site_id from this list.
Inputs: no named parameters.
phpray_slow_pagesAInspect
The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".
Inputs: site_id (required), limit, window_minutes.
phpray_slow_queriesAInspect
SQL fingerprints ordered by time spent, with call counts and the caller when known. Literals are already masked. Answers "which query is slow".
Inputs: site_id (required), limit, window_minutes.
phpray_traceAInspect
One request in full: wall time split into PHP, database and outbound HTTP, every query, every external call, errors, and the component breakdown when the request was profiled.
Inputs: trace_id (required).
phpray_tracesAInspect
Recent requests for a site. Filter with min_ms and status to find the bad ones, then pass an id to phpray_trace.
Inputs: site_id (required), limit, min_ms, status, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Application monitoring: exceptions, slow requests, jobs, queries, logs and uptime monitors.
Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents.
Error tracking for Laravel and PHP apps. Let your agent fetch errors, stack traces and context.
Production errors and incidents for your agent: stack traces, breadcrumbs, likely causes, triage.
Related MCP Servers
- AlicenseAqualityCmaintenanceZero-config SQL profiler for slow Python/SQLAlchemy jobs, built for agents: returns the exact call site, query count, and fix as compact machine-readable fields instead of raw query logs~55× fewer tokens per diagnosis (≈10k → ≈180) and the matching drop in API cost.2MIT
- AlicenseAqualityBmaintenanceLets an AI assistant answer performance questions from Tideways data by reading projects, metrics, issues and traces through the read-only REST API.1058 npm3MIT

Scout Monitoring MCPofficial
AlicenseAqualityCmaintenanceEnables AI assistants to access Scout Monitoring performance and error data through Scout's API. Provides traces, errors, metrics, and insights for Rails, Django, FastAPI, Laravel and other applications to help identify and fix performance issues like N+1 queries, slow endpoints, and memory bloat.1530MIT
hootlens-mcpofficial
AlicenseNot gradedqualityBmaintenanceSession replay and click heatmaps for AI agents. Read a site’s visits as timed narratives, find repeated or dead clicks and the JavaScript errors behind them, and measure the impact of shipped changes.2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.