phpray

dev.phpray/phpray

Serveur MCP OK

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
phpray.dev (espace de noms du registre)
Dépôt
github.com/stephen1137/phpray
Site
phpray.dev/mcp-server
Version
0.15.6
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://phpray.dev/mcp Streamable HTTP
Outils
10
Catégories
IA, agents et mémoire, Bases de données
Dernière mise à jour
22 sept. 2026
Publication
22 sept. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/dev.phpray/phpray.svg)](https://latlas.dev/mcp/dev.phpray/phpray)
HTML
<a href="https://latlas.dev/mcp/dev.phpray/phpray"><img src="https://latlas.dev/badge/fiche/dev.phpray/phpray.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://phpray.dev/mcp
Dernier résultat
OK 28 nov. 2026, 09:57
Temps de réponse
735 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
phpray 0.15.7
Outils
10

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:57OK735 ms10

Outils exposés (10, réponse à tools/list, 28 nov. 2026)

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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
site_idstringouiSite id from phpray_sites.
window_minutesintegernonHow far back to look, in minutes. Default 60.

phpray_slow_pages

The slowest URLs on a site, with request counts and p95, from the request timeseries. Answers "which page is slow".

ParamètreTypeRequisDescription
limitintegernonHow many URLs to return. Default 25.
site_idstringouiSite id from phpray_sites.
window_minutesintegernonHow far back to look. Default 1440.

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".

ParamètreTypeRequisDescription
limitintegernonHow many queries to return. Default 20.
site_idstringouiSite id from phpray_sites.
window_minutesintegernonHow far back to look. Default 1440.

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.

ParamètreTypeRequisDescription
limitintegernonHow many components to return. Default 20.
site_idstringouiSite id from phpray_sites.
window_minutesintegernonHow far back to look. Default 1440.

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.

ParamètreTypeRequisDescription
limitintegernonHow many to return. Default 20.
site_idstringouiSite id from phpray_sites.
window_minutesintegernonHow far back to look. Default 1440.

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.

ParamètreTypeRequisDescription
limitintegernonHow many to return. Default 50.
min_msintegernonOnly requests slower than this.
site_idstringouiSite id from phpray_sites.
statusintegernonOnly this HTTP status, e.g. 500.
window_minutesintegernonHow far back to look. Default 1440.

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.

ParamètreTypeRequisDescription
trace_idstringouiTrace id from phpray_traces.

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.

ParamètreTypeRequisDescription
from_aintegernonStart of range A (the earlier one), unix seconds. Without any range: the day before yesterday's 24 h against the last 24 h.
from_bintegernonStart of range B, unix seconds.
site_idstringouiSite id from phpray_sites.
to_aintegernonEnd of range A, unix seconds.
to_bintegernonEnd of range B, unix seconds.

phpray_alerts

Alerts currently firing across every site this token can see, worst overrun first.

Aucun paramètre.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://phpray.dev/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http phpray https://phpray.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : phpray ; URL : https://phpray.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : phpray ; Server URL : https://phpray.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "phpray": {
      "url": "https://phpray.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "phpray": {
      "type": "http",
      "url": "https://phpray.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "phpray": {
      "url": "https://phpray.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "phpray": {
      "httpUrl": "https://phpray.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.phpray]
url = "https://phpray.dev/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.