dev.phpray/phpray
Ask an agent why a PHP site is slow: every request with its SQL, HTTP calls, errors and N+1.
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/stephen1137/phpray
- Site
- phpray.dev/mcp-server/
- Adresse du serveur
https://phpray.dev/mcp(streamable-http)- Version
- 0.15.6
- Auteur
- phpray.dev (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 22 sept. 2026)
Comment l’installer
Le serveur accepte en option un en-tête : Authorization. Remplacez VOTRE_CLE par votre clé.
Claude Code
Dans un terminal :
claude mcp add --transport http phpray https://phpray.dev/mcp \
--header "Authorization: Bearer VOTRE_CLE"Claude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://phpray.dev/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://phpray.dev/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"phpray": {
"url": "https://phpray.dev/mcp",
"headers": {
"Authorization": "Bearer VOTRE_CLE"
}
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"phpray": {
"type": "http",
"url": "https://phpray.dev/mcp",
"headers": {
"Authorization": "Bearer VOTRE_CLE"
}
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 09:57 (test fait par L’Atlas)
- Temps de réponse
- 735 ms (test complet)
- Outils trouvés
- 10
- Nom annoncé
- phpray 0.15.7
- Protocole
- MCP 2025-06-18
- Prochain test
- 5 déc. 2026
Voir les outils (10)
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_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_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_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_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 breakdown when the request was profiled.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_alerts
Alerts currently firing across every site this token can see, worst overrun first.
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/dev.phpray/phpray)HTML
<a href="https://lagora.dev/fiche/dev.phpray/phpray"><img src="https://lagora.dev/badge/dev.phpray/phpray.svg" alt="dev.phpray/phpray sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.