Serveur MCP

phpray

dev.phpray/phpray
Données et analytique Outils développeur Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Analyzes PHP application performance, including slow pages and queries, traces, errors, component timing, latency, and N+1 behavior.

phpray_alerts
Alerts currently firing across every site this token can see, worst overrun first.
Schéma d’entrée
{'type': 'object', 'properties': {}}
phpray_compare
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.
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'to_a': {'type': 'integer', 'description': 'End of range A, unix seconds.'}, 'to_b': {'type': 'integer', 'description': 'End of range B, unix seconds.'}, 'from_a': {'type': 'integer', 'description': "Start of range A (the earlier one), unix seconds. Without any range: the day before yesterday's 24 h against the last 24 h."}, 'from_b': {'type': 'integer', 'description': 'Start of range B, unix seconds.'}, 'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}}}
phpray_components
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.
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'limit': {'type': 'integer', 'description': 'How many components to return. Default 20.'}, 'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}, 'window_minutes': {'type': 'integer', 'description': 'How far back to look. Default 1440.'}}}
phpray_errors
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.
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'limit': {'type': 'integer', 'description': 'How many to return. Default 20.'}, 'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}, 'window_minutes': {'type': 'integer', 'description': 'How far back to look. Default 1440.'}}}
phpray_overview
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.
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}, 'window_minutes': {'type': 'integer', 'description': 'How far back to look, in minutes. Default 60.'}}}
phpray_sites
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.
Schéma d’entrée
{'type': 'object', 'properties': {}}
phpray_slow_pages
The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'limit': {'type': 'integer', 'description': 'How many URLs to return. Default 25.'}, 'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}, 'window_minutes': {'type': 'integer', 'description': 'How far back to look. Default 1440.'}}}
phpray_slow_queries
SQL fingerprints ordered by time spent, with call counts and the caller when known. Literals are already masked. Answers "which query is slow".
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'limit': {'type': 'integer', 'description': 'How many queries to return. Default 20.'}, 'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}, 'window_minutes': {'type': 'integer', 'description': 'How far back to look. Default 1440.'}}}
phpray_trace
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.
Schéma d’entrée
{'type': 'object', 'required': ['trace_id'], 'properties': {'trace_id': {'type': 'string', 'description': 'Trace id from phpray_traces.'}}}
phpray_traces
Recent requests for a site. Filter with min_ms and status to find the bad ones, then pass an id to phpray_trace.
Schéma d’entrée
{'type': 'object', 'required': ['site_id'], 'properties': {'limit': {'type': 'integer', 'description': 'How many to return. Default 50.'}, 'min_ms': {'type': 'integer', 'description': 'Only requests slower than this.'}, 'status': {'type': 'integer', 'description': 'Only this HTTP status, e.g. 500.'}, 'site_id': {'type': 'string', 'description': 'Site id from phpray_sites.'}, 'window_minutes': {'type': 'integer', 'description': 'How far back to look. Default 1440.'}}}
Ajouté
phpray_alerts
23 September 2026 02:40
Ajouté
phpray_compare
23 September 2026 02:40
Ajouté
phpray_trace
23 September 2026 02:40
Ajouté
phpray_traces
23 September 2026 02:40
Ajouté
phpray_errors
23 September 2026 02:40
Ajouté
phpray_components
23 September 2026 02:40
Ajouté
phpray_slow_queries
23 September 2026 02:40
Ajouté
phpray_slow_pages
23 September 2026 02:40
Ajouté
phpray_overview
23 September 2026 02:40
Ajouté
phpray_sites
23 September 2026 02:40