phpray
dev.phpray/phpray
MCP server OK
Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.
Technical sheet
- Author
- phpray.dev (registry namespace)
- Repository
- github.com/stephen1137/phpray
- Site
- phpray.dev/mcp-server
- Version
- 0.15.6
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://phpray.dev/mcp Streamable HTTP
- Tools
- 10
- Categories
- AI, agents and memory, Databases
- Last updated
- 22 Sept 2026
- Published
- 22 Sept 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/dev.phpray/phpray)<a href="https://latlas.dev/en/mcp/dev.phpray/phpray"><img src="https://latlas.dev/badge/fiche/dev.phpray/phpray.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://phpray.dev/mcp
- Last result
- OK 28 Nov 2026, 09:57
- Response time
- 735 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- phpray 0.15.7
- Tools
- 10
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:57 | OK | 735 ms | 10 |
Exposed tools (10, from tools/list, 28 Nov 2026)
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.
No parameters.
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| site_id | string | yes | Site id from phpray_sites. |
| window_minutes | integer | no | How far back to look, in minutes. Default 60. |
phpray_slow_pages
The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | How many URLs to return. Default 25. |
| site_id | string | yes | Site id from phpray_sites. |
| window_minutes | integer | no | 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".
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | How many queries to return. Default 20. |
| site_id | string | yes | Site id from phpray_sites. |
| window_minutes | integer | no | How far back to look. Default 1440. |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | How many components to return. Default 20. |
| site_id | string | yes | Site id from phpray_sites. |
| window_minutes | integer | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | How many to return. Default 20. |
| site_id | string | yes | Site id from phpray_sites. |
| window_minutes | integer | no | How far back to look. Default 1440. |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | How many to return. Default 50. |
| min_ms | integer | no | Only requests slower than this. |
| site_id | string | yes | Site id from phpray_sites. |
| status | integer | no | Only this HTTP status, e.g. 500. |
| window_minutes | integer | no | 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| trace_id | string | yes | Trace id from phpray_traces. |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from_a | integer | no | 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 | integer | no | Start of range B, unix seconds. |
| site_id | string | yes | Site id from phpray_sites. |
| to_a | integer | no | End of range A, unix seconds. |
| to_b | integer | no | End of range B, unix seconds. |
phpray_alerts
Alerts currently firing across every site this token can see, worst overrun first.
No parameters.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://phpray.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http phpray https://phpray.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : phpray ; URL : https://phpray.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : phpray ; Server URL : https://phpray.dev/mcp ; Create as a plugin{
"mcpServers": {
"phpray": {
"url": "https://phpray.dev/mcp"
}
}
}{
"mcpServers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"phpray": {
"url": "https://phpray.dev/mcp"
}
}
}{
"mcpServers": {
"phpray": {
"httpUrl": "https://phpray.dev/mcp"
}
}
}[mcp_servers.phpray]
url = "https://phpray.dev/mcp"Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.