MCP server
Phpray Official
dev.phpray/phpray
Checked 25 Oct 2026, 20:29 UTC · Connected to it and listed its tools
Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.
Working at last checkVerified publisher: phpray.devAbout 1,316 tokens per request once connected10 tools
https://phpray.dev/mcp
At a glance
- Type
- MCP server
- Publisher
- phpray.dev (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 10
- Token cost
- About 1,316 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 25 Oct 2026, 20:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http phpray https://phpray.dev/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.phpray] url = "https://phpray.dev/mcp"
Gemini CLI
{"mcpServers":{"phpray":{"httpUrl":"https://phpray.dev/mcp"}}}
Cursor
{"mcpServers":{"phpray":{"url":"https://phpray.dev/mcp"}}}
VS Code
{"servers":{"phpray":{"type":"http","url":"https://phpray.dev/mcp"}}}
Antigravity
agy mcp add phpray https://phpray.dev/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"phpray","server_url":"https://phpray.dev/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"phpray","server_url":"https://phpray.dev/mcp"}
Tools
phpray_alerts~50 tokens
Alerts currently firing across every site this token can see, worst overrun first.phpray_compare~207 tokens
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.phpray_components~151 tokens
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.phpray_errors~155 tokens
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.phpray_overview~128 tokens
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.phpray_sites~66 tokens
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.phpray_slow_pages~135 tokens
The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".phpray_slow_queries~145 tokens
SQL fingerprints ordered by time spent, with call counts and the caller when known. Literals are already masked. Answers "which query is slow".phpray_trace~104 tokens
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.phpray_traces~175 tokens
Recent requests for a site. Filter with min_ms and status to find the bad ones, then pass an id to phpray_trace.
Browse
Related MCP servers
- Spicrawl
Web scraping MCP server: any URL to Markdown or JSON, with JavaScript rendering and batch jobs. - Pricewatcha
Track prices & price history on any online shop, with alerts and an API - prxhub
Search, cite, download, and publish .prx research bundles on prxhub.com. - AgentMart
Webhook inbox, memory, wake-up calls, uptime watch and code kits for AI agents. Prepaid balance. - x402 & MCP Server Index (Tanod)
x402 endpoint and MCP server index: find paid APIs for agents, x402 checks and price benchmarks. - AgentBIT
x402 router-proxy + 79 keyless pay-per-call tools on Base. Pay once, we run the best tool. - BorealHost
Agent-native web hosting — deploy sites, manage DNS, register domains, scale infrastructure - HANRIA agent mandate check
Check an agent action against its operator's mandate before acting: permit, deny or escalate.
Badge for your README
[](https://aptlynx.net/servers/dev.phpray/phpray)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents