
Agentsim
dev.agentsim由 agentsim.dev 发布官方发布者v0.33.3更新于 Oct 24, 2026
Control plane for agent auth walls. Connector 0 handles SMS OTP with US test numbers.
概览
让 AI 编程助手为自有服务开启认证挑战,并等待短信验证码、邮件验证码、魔法链接或 WebAuthn 的判定结果。
- 可以做什么
- 向兼容 MCP 的编程助手提供 AgentSIM 挑战工具。open_challenge 针对必填的自有 service_url 开启认证挑战会话,可指定 sms_otp、email_otp、magic_link 或 webauthn_required 等渠道,返回会话 ID 和标识符。wait_for_verdict 长轮询等待判定结果,返回包含 otp_code、magic_link 或 webauthn_required 的结构化结果。辅助工具包括 identify_agent、get_messages、release_number 和 list_numbers,另有兼容旧版的 provision_number 与 wait_for_otp 别名。
- 适用场景
- 适合助手在开发或测试中需要完成针对自有服务的手机或邮箱登录流程时使用,例如端到端跑通短信验证码挑战。适用于支持 MCP 的编程助手,如 Codex CLI、Claude Code、Cursor 和 Windsurf。不适用于非自有服务,也不支持美国以外的短信号码。
- 运行要求
- 可使用托管 streamable HTTP 端点 uvx agentsim-mcp 在本地以 stdio 运行。必须认证:stdio 需在进程环境中设置 AGENTSIM_API_KEY,托管 HTTP 需每个请求携带 x-api-key 请求头。密钥需从 AgentSIM 控制台获取。实时短信仅支持美国号码,且需要自有公网 HTTPS 服务、通过精确来源验证并符合允许策略。
安装
在 SourceWeft 中
- 打开 控制台中的 Agentsim,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/dev.agentsim%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"agentsim": {
"type": "http",
"url": "https://mcp.agentsim.dev/mcp"
}
}
}README
agentsim-mcp
Availability: Live SMS is self-serve for owned public HTTPS services after exact-origin verification and an allow policy. Hobby includes 10 live US SMS sessions per UTC month, with one active live session per account and no card required. Builder is $99/month and includes 50 live US SMS sessions. Checkout shows tax and renewal terms before payment, and existing agreements keep their terms. Check current access and channel support before using live examples.
MCP server that exposes AgentSIM challenge tools to AI coding assistants: Codex CLI, Claude Code, Cursor, Windsurf, and any other MCP-compatible host. Primary tools: open_challenge, wait_for_verdict. Aliases: provision_number, wait_for_otp.
Setup
For Codex CLI, follow Connect Codex. It covers key handling, the SMS wait timeout, and browser access. Then use the complete phone sign-in prompt.
Claude Code
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor / Windsurf
Add agentsim-mcp as a stdio MCP server with AGENTSIM_API_KEY in the environment config.
Remote (no install)
Connect directly to the hosted MCP server without installing anything locally:
The hosted endpoint uses stateless HTTP and does not issue mcp-session-id headers. The session_id returned by AgentSIM tools identifies a challenge and remains valid across tool calls.
Tools
Control-Plane Nouns (Recommended)
Legacy Aliases (Backward Compatibility)
Auth
For stdio, set AGENTSIM_API_KEY in the process environment. For hosted HTTP, every request must send its own x-api-key; the server validates and forwards that caller-scoped key. Get a key at console.agentsim.dev.
Supported Countries
US
来源:README.md,提交 aa484e9
工具
0版本历史
9- v0.33.3最新Sep 29, 2026
- v0.33.2Sep 29, 2026
- v0.33.1Sep 29, 2026
- v0.33.0Sep 28, 2026
- v0.32.2Sep 27, 2026
- v0.32.0Sep 27, 2026
- v0.31.0Sep 25, 2026
- v0.30.0Sep 24, 2026
- v0.29.1Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分