Running website A/B tests from Claude Code with an MCP server
说明与用途
AI 代理可以自动运行 A/B 测试,从站点设置到转化跟踪和结果分析,使用 MCP 协议和 Luria 服务器。
问题
Determining if a new landing page converts better than the old one requires a split test on real traffic, which traditionally needs a testing tool, dashboard, and manual monitoring.
结果
The agent can autonomously run A/B tests, from site setup to conversion tracking and result analysis, with human approval for the first live change and safety guardrails.
工作流
- Connect MCP server via
claude mcp add --transport http luria https://www.luriart.com/api/mcp - Add site and install tag with prompt "Add example.com to Luria and install the tag in this repo's layout."
- Create a test on the homepage headline with
create_testorauto_test - Record real conversions server‑side using the
/api/v1/conversionsendpoint or the agent’srecord_conversiontool - Read test results with
get_testand decide on next tests usingnext_tests/start_next_test
证据
Coding agents can now ship a landing page in minutes. The slow part is finding out whether the new page actually converts better than the old one.
The Model Context Protocol lets a client (Claude Code, Claude, ChatGPT, Cursor, Codex) call tools on a remote server.
The agent calls add_site, gets back a one-line script tag and per-framework install notes, edits your layout file, then calls verify_install until the tag reports in.
Clicks are not wins. If checkout happens on your backend (Stripe, a booking tool), send the conversion server-side: ...
A change is kept only when it is 95% likely to beat the original after at least 200 visits per version.
- 记录日期: 2026-11-01T03:13:47.735Z