phpray

v0.15.6
dev.phpray/phpray Checked 6 hours ago Published 2 months ago

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

Remote (hosted) discovery passed

Run in a terminal
claude mcp add --transport http phpray https://phpray.dev/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "phpray": {
      "args": [
        "-y",
        "mcp-remote",
        "https://phpray.dev/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "phpray": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://phpray.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "phpray": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://phpray.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.phpray]
command = "npx"
args = ["-y", "mcp-remote", "https://phpray.dev/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: phpray_sites, phpray_overview, phpray_slow_pages, phpray_slow_queries, phpray_components, phpray_errors, phpray_traces, phpray_trace, ….
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json