프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Phpray

제작자: stephen1137버전 0.15.6i★ –i클라우드에서 실행
레지스트리 이름dev.phpray/phpray

설치

개요

제작자가 쓴 설명(영어 원문)

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

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 클라우드에서 실행
  • 전송 방식: Streamable HTTP
  • 카테고리: 데이터베이스 및 데이터셋
  • 입력해야 할 값: Authorization

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.

터미널에서 이 명령어를 실행하세요

claude mcp add --transport http phpray https://phpray.dev/mcp --header 'Authorization: your-value'

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "phpray": {
      "url": "https://phpray.dev/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "phpray": {
      "type": "http",
      "url": "https://phpray.dev/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • Authorization 비밀 HTTP header
    Bearer . Omit the header entirely to use the read-only public demo account.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

아직 이 서버의 도구 목록을 읽지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 phpray.dev 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    엔드포인트 응답

    아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요

  • … 아직 점검 안 함

    OAuth로 로그인

    아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 953개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 953개 중 41%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 953개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Phpray, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: Authorization

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.15.6)은 지난달 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되기 때문에, 원격 MCP 서버를 지원하는 앱(예: 개발자 모드의 ChatGPT)에서도 쓸 수 있어요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Supabase

제작자: supabase

MCP server for interacting with the Supabase platform

컴퓨터 또는 클라우드★ 2,993Apache-2.0어제 업데이트
설치

MongoDB MCP Server

제작자: mongodb-js

MongoDB Model Context Protocol Server

내 컴퓨터에서 실행★ 1,157Apache-2.0그저께 업데이트
설치

Elasticsearch MCP Server

제작자: cr7258

MCP server for interacting with Elasticsearch

내 컴퓨터에서 실행★ 315Apache-2.014개월 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

PHPRay

Every PHP request, recorded. Find out which plugin, which query, and since when.

PHPRay is always-on request tracing for PHP. It records wall time, CPU, memory, SQL, outbound HTTP, errors and N+1 patterns for every request, not a sample, and on a small share of requests it adds a per-plugin / per-component time breakdown. One site or a hundred client sites: the same install, and one list for all of them.

It is a PHP extension plus a local collector. No agent that needs root, no network egress from the PHP process, no SaaS account required. It runs on shared hosting (CageFS, LiteSpeed lsphp, mod_php), on a VPS and in containers, on PHP 8.0–8.5, glibc and musl, amd64 and arm64.

curl -fsSL https://phpray.dev/install.sh -o phpray-install.sh

less phpray-install.sh # it asks for root; read it first sudo bash phpray-install.sh && phpray top

After a few minutes of traffic, phpray report --domain example.com --share prints a link you can send to a client: the site name is removed, the link expires, and the recipient needs nothing installed to read it.

Rather look before installing anything? Three ways in, none of them needing root, an account or a card:

What it looks like

*PHPRay Cloud: every site, then one site, then one 887 ms request broken into PHP and database time, the plugins that spent it, and the queries behind it. Demo data.*

The question it answers

"The store got slow last week" is not actionable. PHPRay turns it into a named plugin, a named query and the day it changed:

If you look after more than one site

Most of what is written above is about one server. The harder job is the other one: forty sites you did not build, on hosting you did not choose, and a client asking why checkout is slow today.

  • One list instead of forty panels. Every site in one console with requests, p95, error rate and database share, sorted by what is failing now — then one click into a single request. The live demo is a fleet of ten sites of one agency, read-only, no account.
  • It installs where your clients actually are. Shared hosting without root, one account at a time: the extension loads from the account's own php.ini, or the WordPress plugin runs with neither an extension nor a daemon. Never enable the extension for a whole PHP version on a shared server — install it per account.
  • A report you can send to the client. phpray report -domain shop.example -share publishes the findings and prints a link. The site name is stripped, the address expires and is not indexed. No account, no card.
  • For hosting providers. A DirectAdmin plugin with an admin view over every account and a user view for the customer, plus a self-hosted console — see Host Edition.

The local core stays Apache-2.0 and has no limits: as many sites, servers and requests as you like, data on your own disk. What costs money is the hosted console that puts those sites in one list — priced by how many sites you keep in it, starting with one site free. Prices are on phpray.dev/en/pricing.

Why another profiler

  • Every request, not a sample. Sampling agents keep statistics between samples. PHPRay writes one record per request, so the single failing checkout and the error that fired once are still there when you look.
  • Cheap enough to leave on, and we measured it. On a WordPress page rendering in 48 ms, tracing with the function observer off could not be separated from the baseline across five interleaved rounds; with the observer on, the default today, the page took 50 ms. Method, raw numbers and caveats: the benchmark. Xdebug instruments every function call, which is why you only turn it on deliberately.
  • The expensive part is sampled on purpose. Per-function profiling runs on 3 % of requests by default. Measuring every call of every request on production traffic would cost more than the traffic itself. Note the honest catch: the observer that makes this possible is registered for every request, which is where the 2 ms above comes from. Set phpray.profile_functions=0 if you want the cheapest possible always-on layer and turn the breakdown on only when investigating.
  • Built for shared hosting, and you can install it yourself. No daemon owning system resources, no agent binary. The extension talks to a local collector over shared memory or a flat file. If your host lets you edit your own php.ini — cPanel MultiPHP INI Editor, CloudLinux PHP Selector, Plesk — you can point extension= at a .so in your home directory and run the collector as your own user. No root, no compiler, nobody's permission. Verified end to end as uid 1000; the cases where it does not work are listed in the docs.

Who builds it

Built by IQhost, a European hosting provider running PHP for thousands of sites. That is where PHPRay is developed and where it is deployed first: the shared-hosting constraints in this README are not hypothetical, they are the environment the extension has to survive in every day.

Ask an agent what is slow

PHPRay ships an MCP server, so a coding agent can read your traces and answer "which plugin is slowing this page down" without you opening a dashboard.

Try it with nothing installed and no account — you get a read-only demo account with a real WooCommerce store's recorded traffic:

claude mcp add --transport http phpray https://phpray.dev/mcp

Then ask: *which pages are slowest, which SQL fingerprint costs the most, which plugin eats the time.* Add --header "Authorization: Bearer " and the same tools read your own sites instead.

Or run it locally as a binary over stdio:

# pick your platform: linux-amd64, linux-arm64, darwin-amd64, darwin-arm64

curl -fsSL -o phpray-mcp "https://phpray.dev/dl/$(curl -fsS https://phpray.dev/dl/LATEST)/phpray-mcp-linux-amd64" chmod +x phpray-mcp && sudo mv phpray-mcp /usr/local/bin/

every server in one place, scoped to your console token

claude mcp add phpray --env PHPRAY_TOKEN= -- phpray-mcp

or just this machine's collector, no account needed

claude mcp add phpray-local -- phpray-mcp

In cloud mode the token is your console token, so the agent sees exactly the sites it is scoped to. In local mode it reads the collector on the same box and needs no account at all.

Ten read-only tools — sites, overview, slowest pages, slow SQL, component breakdown, errors, traces, one trace in full, before/after comparison, alerts — plus an eleventh, phpray_profile_url, which turns per-function profiling on for a URL prefix. That one changes state, so the public demo endpoint does not offer it: without a token tools/list returns ten. With your own console token, or locally over stdio, you get all eleven. Source and protocol notes: src/mcp/.

Free and paid

Everything in this repository is free and open source under Apache-2.0: the extension, the collector, the CLI, the local dashboard and the panel plugins. It is a complete product on its own, on one server, forever.

PHPRay Cloud is the paid part: many servers in one place, history beyond your disk, alerting and the hosting-panel console. It is a separate, closed codebase. Nothing here phones home to it unless you configure a server key yourself.

Quick start

curl -fsSL https://phpray.dev/install.sh -o phpray-install.sh

less phpray-install.sh sudo bash phpray-install.sh phpray status

Piping an installer straight into a root shell is a habit worth not having, ours included: download it, read it, then run it. The checksums of everything it fetches are published next to the files, under https://phpray.dev/dl/ /SHA256SUMS, and the installer verifies them.

The installer detects every PHP version on the host, installs the prebuilt phpray.so for each of them, deploys the collector with its systemd unit, and reloads the PHP pools. It is a single binary with zero external dependencies.

Manual install

If you prefer to place the pieces yourself:

# 1. drop the prebuilt extension into your PHP extension dir

sudo cp phpray.so /usr/local/lib/php/extensions/no-debug-non-zts-20240924/

2. enable it (Debian layout shown; use your distro's conf.d)

echo "extension=phpray.so" | sudo tee /etc/php/8.3/fpm/conf.d/99-phpray.ini sudo systemctl reload php8.3-fpm

3. run the collector

sudo /usr/local/bin/phpray-collector serve -addr :9191

Verify
php -m | grep phpray                       # "phpray" is listed

curl -sI https://yoursite.com # X-PHPRay-ID: pr-... response header

CLI
phpray status        # extension loaded, collector running, recent volume

phpray top # live slowest requests, htop-style phpray trace # per-request waterfall (queries, HTTP calls, components) phpray diag shop.pl # health score + findings + recommendations

A report you can send to someone else

The one PHPRay artefact regularly read by people who never installed it: an agency sends it to the shop owner, an administrator pastes it into a ticket.

phpray report -domain shop.example -w 1440 -format html -o report.html

phpray report -domain shop.example -format html -anonymize -o public.html

One self-contained file — no external requests, no fonts, no scripts — with the health score, what was found, what it costs and what to do about it. With -anonymize the domain is replaced everywhere, including inside the findings and the evidence, so the same report can go on a forum or into a proposal.

People share links, not attachments, so the same findings can be published as a page:

phpray report -domain shop.example -w 60 -share

https://app.phpray.dev/r/dklns4bdbf74bdtetbxhbxtcey

No account and no card — this works from the collector in this repository. What leaves the server is the findings data, never a document: the page is rendered from it by our template. The site name is stripped from every text field, evidence lines included, so shop.example/checkout/ is published as /checkout/. The address carries 128 bits of randomness, expires after 30 days and is not indexed. -share-url points the same command at your own copy of the console.

What a trace contains

Every request produces one JSON record. A request that has also been function-profiled carries "profiled": 1 and a components array with incl_ns, self_ns and calls per component:

{

"ts": 1774713671, "host": "shop.example.com", "method": "GET", "uri": "/checkout", "status": 500, "duration_ms": 2411.7, "cpu_user_ms": 188.4, "memory_peak_mb": 96.2, "app": "wp", "level": "full", "db_count": 142, "queries": [ { "sql": "SELECT * FROM wp_posts WHERE ID = ?", "ms": 12.4 } ], "http_calls": [ { "url": "https://api.stripe.com/v1/checkout/sessions", "ms": 1842.9, "status": 200 } ], "errors": [ { "type": "E_WARNING", "msg

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기