Agents Index

Phpray

Online

Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.

Visit publisherConnectJSON

What it can do: 10 tools

  • phpray_sitesList 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_overviewHeadline 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_slow_pagesThe slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".
  • phpray_slow_queriesSQL fingerprints ordered by time spent, with call counts and the caller when known. Literals are already masked. Answers "which query is slow".
  • phpray_componentsTime 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_errorsRequests 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_tracesRecent requests for a site. Filter with min_ms and status to find the bad ones, then pass an id to phpray_trace.
  • phpray_traceOne 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_compareTwo 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_alertsAlerts currently firing across every site this token can see, worst overrun first.

Connect it

Claude Code
claude mcp add --transport http phpray https://phpray.dev/mcp
Claude.ai / ChatGPT
Settings → Connectors → Add custom connector
URL: https://phpray.dev/mcp
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "phpray": {
      "url": "https://phpray.dev/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "phpray": {
      "type": "http",
      "url": "https://phpray.dev/mcp"
    }
  }
}

Questions

What does Phpray do?

Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1. It exposes 10 tools to AI assistants.

What tools does Phpray provide?

10 tools, including phpray_sites, phpray_overview, phpray_slow_pages, phpray_slow_queries, phpray_components, phpray_errors, phpray_traces, phpray_trace, phpray_compare, phpray_alerts.

How do I connect Phpray to Claude, ChatGPT or Cursor?

Add the remote MCP endpoint https://phpray.dev/mcp as a custom connector or MCP server. Copy-paste setup is on this page.

Does Phpray require an account or API key?

No sign-in was needed to list its tools. Individual tools may still need an account or API key.

Is Phpray online?

As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.

Who publishes Phpray?

phpray.dev. The official MCP Registry verified that the publisher controls this domain before accepting the listing.

Similar in Databases & Data