Search / dev.phpray/phpray
phpray
R0· no sign-inAsk an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.
v0.15.6 · active · repository · website · descriptor JSON · versions
Search / dev.phpray/phpray
R0· no sign-inAsk an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.
v0.15.6 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp",
"headers": {
"Authorization": "Bearer ${PHPRAY_TOKEN}"
}
}
}
}claude mcp add --transport http phpray https://phpray.dev/mcp --header "Authorization: Bearer ${PHPRAY_TOKEN}"[mcp_servers.phpray]
url = "https://phpray.dev/mcp"
bearer_token_env_var = "PHPRAY_TOKEN"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"phpray": {
"type": "remote",
"url": "https://phpray.dev/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer {env:PHPRAY_TOKEN}"
}
}
}
}{
"mcpServers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp",
"headers": {
"Authorization": "Bearer ${PHPRAY_TOKEN}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=phpray&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vcGhwcmF5LmRldi9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgJHtQSFBSQVlfVE9LRU59In19"
}{
"servers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp",
"headers": {
"Authorization": "Bearer ${PHPRAY_TOKEN}"
}
}
}
}{
"mcpServers": {
"phpray": {
"httpUrl": "https://phpray.dev/mcp",
"headers": {
"Authorization": "Bearer ${PHPRAY_TOKEN}"
}
}
}
}extensions:
"phpray":
enabled: true
name: "phpray"
type: streamable_http
uri: "https://phpray.dev/mcp"
headers:
"Authorization": "Bearer ${PHPRAY_TOKEN}"
timeout: 300
Placeholders to fill from your own secret store: ${PHPRAY_TOKEN}. The registry never accepts secret values.
protocol.modernnewest supported version is 2025-06-18; 2026-07-28 not supported, older versions are deprecated until 2027-07-28protocol.statelessonly applies to 2026-07-28 serversprotocol.transportstreamable HTTPprotocol.list_ttlonly applies to 2026-07-28 serversauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: phpray_slow_queries (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); phpray_components (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); phpray_traces (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …tools.token_costabout 1,046 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +dns-namespace +website +reachable +uptime-84% +updated-27d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://phpray.dev/mcp streamable-http | none | yes | 84% | 643 ms | 2025-06-18 | 2026-10-19 |
phpray_alerts | Alerts currently firing across every site this token can see, worst overrun first. |
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. |
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. |
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. |
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. |
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. |
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 slow". |
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. |
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. |
Schemas: list_tools.
{
"name": "dev.phpray/phpray",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
"remotes": [
{
"url": "https://phpray.dev/mcp",
"type": "streamable-http",
"headers": [
{
"name": "Authorization",
"isSecret": true,
"description": "Bearer <console token>. Omit the header entirely to use the read-only public demo account."
}
]
}
],
"version": "0.15.6",
"repository": {
"url": "https://github.com/stephen1137/phpray",
"source": "github"
},
"websiteUrl": "https://phpray.dev/mcp-server/",
"description": "Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1."
}