MCP 서버

phpray

dev.phpray/phpray
데이터 및 분석 개발자 도구 공개 · 연결 가능 MCP 2026-07-28

이 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.
입력 스키마
{'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.
입력 스키마
{'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.
입력 스키마
{'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.
입력 스키마
{'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.
입력 스키마
{'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.
입력 스키마
{'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".
입력 스키마
{'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".
입력 스키마
{'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.
입력 스키마
{'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.
입력 스키마
{'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.'}}}
추가됨
phpray_alerts
2026년 9월 23일 2:40 AM
추가됨
phpray_compare
2026년 9월 23일 2:40 AM
추가됨
phpray_trace
2026년 9월 23일 2:40 AM
추가됨
phpray_traces
2026년 9월 23일 2:40 AM
추가됨
phpray_errors
2026년 9월 23일 2:40 AM
추가됨
phpray_components
2026년 9월 23일 2:40 AM
추가됨
phpray_slow_queries
2026년 9월 23일 2:40 AM
추가됨
phpray_slow_pages
2026년 9월 23일 2:40 AM
추가됨
phpray_overview
2026년 9월 23일 2:40 AM
추가됨
phpray_sites
2026년 9월 23일 2:40 AM