L'Atlas / MCP servers / phpray

phpray

dev.phpray/phpray

MCP server OK

Get a review See pricing

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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/dev.phpray/phpray.svg?lang=en)](https://latlas.dev/en/mcp/dev.phpray/phpray)
HTML
<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

DateResultResponseTools
28 Nov 2026, 09:57OK735 ms10

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.

ParameterTypeRequiredDescription
site_idstringyesSite id from phpray_sites.
window_minutesintegernoHow 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".

ParameterTypeRequiredDescription
limitintegernoHow many URLs to return. Default 25.
site_idstringyesSite id from phpray_sites.
window_minutesintegernoHow 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".

ParameterTypeRequiredDescription
limitintegernoHow many queries to return. Default 20.
site_idstringyesSite id from phpray_sites.
window_minutesintegernoHow 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.

ParameterTypeRequiredDescription
limitintegernoHow many components to return. Default 20.
site_idstringyesSite id from phpray_sites.
window_minutesintegernoHow 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.

ParameterTypeRequiredDescription
limitintegernoHow many to return. Default 20.
site_idstringyesSite id from phpray_sites.
window_minutesintegernoHow 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.

ParameterTypeRequiredDescription
limitintegernoHow many to return. Default 50.
min_msintegernoOnly requests slower than this.
site_idstringyesSite id from phpray_sites.
statusintegernoOnly this HTTP status, e.g. 500.
window_minutesintegernoHow 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.

ParameterTypeRequiredDescription
trace_idstringyesTrace 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.

ParameterTypeRequiredDescription
from_aintegernoStart of range A (the earlier one), unix seconds. Without any range: the day before yesterday's 24 h against the last 24 h.
from_bintegernoStart of range B, unix seconds.
site_idstringyesSite id from phpray_sites.
to_aintegernoEnd of range A, unix seconds.
to_bintegernoEnd 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.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://phpray.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http phpray https://phpray.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : phpray ; URL : https://phpray.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : phpray ; Server URL : https://phpray.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "phpray": {
      "url": "https://phpray.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "phpray": {
      "type": "http",
      "url": "https://phpray.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "phpray": {
      "url": "https://phpray.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "phpray": {
      "httpUrl": "https://phpray.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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.