pagent
io.github.aihumin由 GitHub 帳號 aihumin 發布v1.0.1更新於 Oct 30, 2026
A/B testing MCP server for pagent: create, run and review A/B tests on your live website.
概覽
託管式 pagent MCP 伺服器,讓助理讀取、建立並控制線上網站的 A/B 測試。
- 可以做什麼
- 列出進行中與已完成的測試並讀取其貝氏結果
- 比較測試並檢視每個變體在頁面上改了什麼
- 讀取頁面、受眾、轉換目標、人物誌與準則
- 記錄假設並將其轉化為測試
- 啟動、暫停、恢復、排入佇列、停止、演進或回復測試
- 建立頁面與轉換目標,管理受眾
- 適用情境
- 適合團隊透過 pagent 在線上網站進行 A/B 測試,並希望在慣用的聊天用戶端裡詢問哪個測試領先、比較過往測試,或直接啟動與暫停實驗,而不必開啟 pagent 後台。
- 執行需求
- 遠端 Streamable HTTP 端點 app.pagent.ai,使用 OAuth 2.0 登入(或使用個人權杖)。需要具備該組織擁有者或管理員權限的 pagent 帳號、為該組織啟用 MCP,並在網站上安裝 pagent 指令碼。可選的 CLI 設定透過 npx 執行,需要 Node.js。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 pagent,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.aihumin%2Fpagent/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"pagent": {
"type": "http",
"url": "https://app.pagent.ai/api/mcp"
}
}
}README
pagent: the A/B testing MCP server for coding agents
@pagent/mcp connects Claude, ChatGPT, Claude Code, Codex, Cursor and any other
MCP client to pagent, so your agent can run A/B tests
on your live website. Set it up in one command:
This finds the MCP clients on your machine and points them at pagent's hosted MCP server. Nothing else to copy, no config format to choose.
What pagent is
pagent is an AI A/B testing agent, an AI Experiment Engineer for your website. It reads your pages, writes the hypothesis, builds the variation as real code on your design system, runs the test on your live site with Bayesian statistics, and learns what to try next. Your team reviews each variation before it goes live. pagent adds to your testing stack; it does not replace it.
With this MCP server your agent joins that loop: it reads results, captures the next hypothesis, and starts the next test from the chat you already use.
Can Claude or ChatGPT run A/B tests on my live website?
Yes, once they are connected to an experimentation platform through MCP. A language model on its own cannot serve variations to your visitors or measure conversions. With the pagent MCP server, Claude, ChatGPT or your coding agent can start, pause and stop tests on your live site and read their results, while pagent builds the variations, splits the traffic and runs the statistics.
Things you can ask once connected:
- "Which of our running A/B tests is winning, and how sure are we?"
- "Compare last month's pricing page tests and tell me what changed on the page."
- "Capture a hypothesis: a shorter signup form will raise trial starts. Turn it into a test."
- "Pause the checkout test and roll it back."
What your agent can do
With read access:
- List running and completed tests and read their Bayesian results
- Compare tests and inspect what each variation changes on the page
- Read pages, audiences, conversion goals, personas and guidelines
With write access:
- Capture a hypothesis and turn it into a test
- Start, pause, resume, queue, stop, evolve or roll back a test
- Create pages and conversion goals, manage audiences
You choose read or write, and which organisations the client may see, during sign-in. You can revoke a connection at any time in your pagent settings.
Usage
Supported clients
Claude and ChatGPT are configured in their own interface, so this CLI prints the
steps rather than editing anything. Run
npx @pagent/mcp print --client chatgpt.
Existing servers in your config are left alone. If a config file cannot be parsed, for example because it has comments, the CLI prints the entry for you to paste instead of rewriting the file.
Connecting by hand
Any MCP client can use the hosted server directly:
- Endpoint:
https://app.pagent.ai/api/mcp - Transport: Streamable HTTP
- Authentication: OAuth 2.0, or a personal token from AI client access
Before you connect
You need a pagent account with owner or administrator access to the organisation, MCP enabled for it, and a website with the pagent script installed so there are tests and visitor data to read.
Links
License
MIT. pagent itself is a commercial product; this CLI only writes local configuration files.
來源:README.md,提交 cbb5f32
工具
0版本歷史
2- v1.0.1最新Oct 23, 2026
- v1.0.0Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分