Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1. Connect the official Phpray MCP server to Claude, ChatGPT, or Cursor through gate — one gateway URL, no config files, security-checked.
Free to start · No credit card · No hosting needed
Pick your client. Copy, paste, done — or let gate handle sign-ins and policies for you.
claude mcp add --transport http phpray https://phpray.dev/mcpRun in your terminal, then restart Claude Code.
Phpray · https://phpray.dev/mcp
Real prompts you can type the moment it's connected — no setup, no docs to read.
“Use “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 lis.”
“Use “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 diggi.”
“Use “phpray_slow_pages”: The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".”
“Use “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 slo.”
Every server in the gate directory has to pass the same four checks before your AI can touch it. Here's how Phpray holds up.
Operated by Phpray (phpray.dev) at its documented MCP endpoint — not a third-party mirror or community re-host.
This server only exposes public data — no account and no credentials are involved when you connect.
gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.
If Phpray adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.
Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.
Choose Phpray in the gate directory. No sign-in needed.
Phpray's tools are live in every AI client you've connected — with rules and logging built in.
Free to start · No credit card · No hosting needed
Fetched live from the official endpoint and re-checked daily by gate — not marketing copy.
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 lis
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 diggi
phpray_slow_pages — The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".
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 slo
phpray_components — Time attributed to each plugin, theme or vendor package on profiled requests. Answers "which plugin is slowing the site down". Empty when fu
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.
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.
phpray_trace — One request in full: wall time split into PHP, database and outbound HTTP, every query, every external call, errors, and the component break
+ 2 more tools once connected
https://phpray.dev/mcpYes — Phpray operates its own remote MCP server at phpray.dev. gate connects you to that official endpoint and adds security scanning, per-tool access rules, and an activity log on top.
Add gate's gateway URL to your AI client once, then pick Phpray in the directory. No account or sign-in is needed. From then on, Phpray's tools are available in every client you've connected to gate.
No. Phpray runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.
It's the vendor's official endpoint, and gate scans its tools for prompt injection and hidden instructions before it goes live, re-checks it whenever it changes, and lets you allow, block, or require approval for every single tool.
Yes — you can get started with gate for free and connect Phpray in minutes. No credit card required.
Every server below works through the same gateway URL — connect once, add tools anytime.
Set up Phpray in: Claude · Claude Code · ChatGPT · Cursor · VS Code