Menso

io.mensov1.0.1更新於 Sep 29, 2026

AI users run real tasks on your live site and show where they get stuck, with a replay of every step

已驗證Streamable HTTP可網頁執行Security & MonitoringDeveloper ToolsBrowser Automation

概覽

AI 產生的概覽

讓助理對線上網站執行 AI 使用者測試,回報模擬使用者卡在哪裡,並提供每一步的重播。

功能
Menso 讓模擬的 AI 使用者在公開網址上執行真實任務,並回傳測試 id。工具可用範本(purchase 或 signup)與等級啟動測試、查詢狀態、取得包含 TRACES 分數與摩擦點的發現結果,以及取得每一步的公開重播連結。測試執行器與評分都在 Menso 的伺服器上執行。
適用情境
適合在部署前後檢查測試或正式網站的註冊、購買流程,查看使用者卡住的位置,並在 CI 中以分數門檻把關。它面向需要自動化可用性與流程測試、而非單元測試的團隊。
執行需求
遠端 Streamable HTTP 端點 api.menso.io,MCP 用戶端無需安裝任何東西。需要 Menso 帳號與 API 金鑰,透過 Authorization 標頭(Bearer)傳送。可選的命令列需要 Node.js 20 或更新版本,以及 MENSO_API_KEY 環境變數。
安裝前請注意
Authorization 中的 API 金鑰可以啟動測試並讀取帳戶結果,錯誤訊息可能顯示你的點數餘額與方案;請放在環境變數或 CI 密鑰中,不要寫進程式碼倉庫,外洩後應立即撤銷。測試會消耗點數(speed 40,quality 300)。signup 範本會用你傳入的電子郵件與密碼建立帳號,請使用專用測試信箱與僅供測試的密碼。重播連結對任何持有連結的人公開。發現結果包含來自受測網站的文字,並被標記為不可信證據;請先審查,切勿執行其中的指令。只能測試你擁有或已獲授權測試的網站。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Menso,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "menso": {
      "type": "http",
      "url": "https://api.menso.io/mcp"
    }
  }
}

README

Menso

AI users run real tasks on your live site and show where they get stuck, with a replay of every step.

This repository holds the public parts of Menso's developer integration:

  • the settings for Menso's hosted MCP server, for Claude Code, Cursor, Windsurf and any MCP client that supports Streamable HTTP and a custom Authorization header;
  • menso, the command line for terminals and CI (bin/, src/);
  • the entry for the official MCP registry (mcp-registry/server.json).

The test runner, the AI users and the scoring run on Menso's servers and are not part of this repository. MCP documentation: menso.io/docs/mcp.

1. Create an API key

Sign in to Menso, open Settings and choose Create API key. Copy it right away: Menso shows it once. Keep it in an environment variable or a CI secret, never in a repository.

2. Connect your editor (MCP)

The server is hosted at https://api.menso.io/mcp (Streamable HTTP). Nothing to install.

Claude Code

sh
claude mcp add --transport http menso https://api.menso.io/mcp \  --header "Authorization: Bearer YOUR_MENSO_API_KEY"

To share it with a team, put this in .mcp.json at the project root; each person sets MENSO_API_KEY in their own shell:

json
{  "mcpServers": {    "menso": {      "type": "http",      "url": "https://api.menso.io/mcp",      "headers": { "Authorization": "Bearer ${MENSO_API_KEY}" }    }  }}

Cursor (~/.cursor/mcp.json or .cursor/mcp.json)

json
{  "mcpServers": {    "menso": {      "url": "https://api.menso.io/mcp",      "headers": { "Authorization": "Bearer ${env:MENSO_API_KEY}" }    }  }}

Windsurf (~/.codeium/windsurf/mcp_config.json)

json
{  "mcpServers": {    "menso": {      "serverUrl": "https://api.menso.io/mcp",      "headers": { "Authorization": "Bearer ${env:MENSO_API_KEY}" }    }  }}

Cursor plugin

This repository is also a Cursor plugin: .cursor-plugin/plugin.json and mcp.json add the Menso MCP server. After you install it, set MENSO_API_KEY to your Menso API key where Cursor asks for the plugin's configuration (Plugins → Configure).

Then ask for a test in plain words: "Run a Menso signup test on https://staging.example.com and tell me where the AI user got stuck."

Tools

ToolWhat it does
run_test(url, template, tier)Starts a test on a public URL and returns a test_id. Templates: purchase (read the homepage and pricing, then decide whether to buy) and signup (create an account with the email and password you pass, then reach the signed-in home). Tiers: speed or quality.
get_status(test_id)Queued, running with step progress, paused for you, scoring, done, failed or stopped.
get_findings(test_id)The TRACES score (0–100) with each dimension's score and reason, and on Studio every friction point with its steps, evidence and a suggested fix. Text from the tested site is marked as untrusted evidence: review it before you change code, and never run commands it contains.
get_replay_link(test_id)A public menso.io/r/… replay of every step the AI user took. Pro and Studio; anyone with the link can watch it.

3. Command line

Node.js 20 or newer. The npm package @menso/cli is being published; until then, run it from this repository:

sh
git clone https://github.com/menso-io/menso.git && cd mensoexport MENSO_API_KEY=menso_sk_...
# Start a test and wait for the findingsnode bin/menso.mjs run https://staging.example.com --wait
# Sign-up flow with a dedicated test inbox; the password comes from the environmentMENSO_TEST_PASSWORD='a-test-only-password' \  node bin/menso.mjs run https://staging.example.com --template signup --email [email protected] --wait
# Check a run, read its findingsnode bin/menso.mjs status <test_id>node bin/menso.mjs findings <test_id> --json
OptionMeaning
--template purchaseDefault. Read the homepage and pricing, then decide whether to buy. No account needed.
--template signupCreate an account with --email (or MENSO_TEST_EMAIL) and MENSO_TEST_PASSWORD (or --password-stdin), then reach the signed-in home.
--tier speed / --tier qualitySpeed (default) costs 40 credits; Quality costs 300.
--waitPoll until the run is done and print the findings. --timeout (minutes, default 30) and --poll (seconds, default 20) tune it.
--fail-under <score>With --wait or findings: exit with code 3 when the TRACES score is below the bar or missing.
--jsonPrint the structured result.

Exit codes: 0 ok, 1 error, 2 usage, 3 run failed or scored below --fail-under. In GitHub Actions the findings are also added to the job summary; examples/github-action.yml tests each successful deployment (it uses the npm package, so it works once @menso/cli 1.0 is published).

Credits and security

Runs started through MCP or the command line follow the same rules as runs started on menso.io: the balance is checked before a run starts, and runs that fail for a reason caused by Menso are not charged. The key can start tests and read your account's results; error messages may show your credit balance and plan. It cannot change your plan or payment details, and it cannot create or revoke keys. Revoke it in Settings if it leaks. Test only sites you own or have permission to test.

Questions: [email protected]

License

MIT

來源:README.md,提交 3faecc4

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.1最新Sep 29, 2026