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