AgentSIM MCP server
Commit Sep 29, 2026Allows AI assistants to navigate authentication challenges like SMS OTP, email OTP, and magic links using programmable tools.
Also known as agentsimdev/agentsim-mcp, agentsim-mcp
- Stars
- 1
- Tools
- 8
- Downloads, 30 days
- —
- Latest version
- 0.33.3
- Last commit
- Sep 29, 2026
- License
- MIT
What is AgentSIM MCP?
AgentSIM allows AI assistants to navigate authentication challenges like SMS OTP, email OTP, and magic links using programmable tools. It exposes 8 tools, such as identify_agent, open_challenge, wait_for_verdict.
Summary generated from the project's README
About AgentSIM MCP server
Navigating authentication hurdles like SMS OTP, email OTP, and magic links is possible for AI coding assistants using this MCP server. It provides programmable tools that allow agents to interact with security challenges during automated workflows. Developers can integrate these capabilities into hosts such as Claude Code, Cursor, Windsurf, or Codex CLI by providing an AGENTSIM_API_KEY via environment variables or using the hosted HTTP endpoint.
The server provides specific tools like open_challenge to start a session for a service URL and wait_for_verdict to retrieve the resulting otp_code or magic_link. Users can also manage sessions with tools such as get_messages, list_numbers, and release_number. The Hobby tier offers 10 live US SMS sessions per UTC month, while the Builder plan provides 50 sessions for a monthly fee. This setup enables autonomous agents to handle real-world sign-in prompts that typically require human intervention.
What you can do with it
- 1Automating SMS verificationAn AI agent can provision a temporary US number to receive and process a one-time password.
- 2Handling magic link authenticationDevelopers can instruct an assistant to wait for and retrieve a magic link from an authentication challenge.
Written from the project's README. Every use case is checked against a quote from it.
How to install AgentSIM MCP
Formats verified 10 Nov 2026Install AgentSIM MCP in Claude Code
$ claude mcp add --transport http agentsim-mcp https://mcp.agentsim.dev/mcpInstall AgentSIM MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"agentsim-mcp": {
"url": "https://mcp.agentsim.dev/mcp"
}
}
}Install AgentSIM MCP in VS Code
.vscode/mcp.json
{
"servers": {
"agentsim-mcp": {
"type": "http",
"url": "https://mcp.agentsim.dev/mcp"
}
}
}Install AgentSIM MCP in Codex
~/.codex/config.toml
[mcp_servers.agentsim-mcp] url = "https://mcp.agentsim.dev/mcp"
Install AgentSIM MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"agentsim-mcp": {
"httpUrl": "https://mcp.agentsim.dev/mcp"
}
}
}AgentSIM MCP tools 8
Detected from the READMEidentify_agentopen_challengewait_for_verdictget_messagesrelease_numberlist_numbersprovision_numberwait_for_otp
| identify_agent | — | |
| open_challenge | — | |
| wait_for_verdict | — | |
| get_messages | — | |
| release_number | — | |
| list_numbers | — | |
| provision_number | — | |
| wait_for_otp | — |
Configuration
AGENTSIM_API_KEY
| Name | Description | |
|---|---|---|
| AGENTSIM_API_KEY | — |
Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work
- Source repository linked and reachableagentsimdev/agentsim-mcp is public and reachablegithub.com/agentsimdev/agentsim-mcp ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-09-29github.com/agentsimdev/agentsim-mcp ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model8 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNo tool named like delete, drop or execPass
- Remote endpoint answers the MCP handshakeHTTPS endpoint answered 401 (sign-in required)Pass
README
View on GitHubagentsim-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 mcp add agentsim -e AGENTSIM_API_KEY=asm_live_xxx -- uvx agentsim-mcp
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"agentsim": {
"command": "uvx",
"args": ["agentsim-mcp"],
"env": {
"AGENTSIM_API_KEY": "asm_live_xxx"
}
}
}
}
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:
{
"mcpServers": {
"agentsim": {
"type": "streamable-http",
"url": "https://mcp.agentsim.dev/mcp",
"headers": {
"x-api-key": "asm_live_..."
}
}
}
}
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)
| Tool | Description |
|---|---|
identify_agent |
Add a stable agent ID to the console without opening a challenge, sending SMS, or using allowance |
open_challenge |
Open an authentication challenge session for a required owned service_url; accepts channel (sms_otp | email_otp | magic_link | webauthn_required), returns session ID + identifier |
wait_for_verdict |
Long-poll for the challenge verdict — returns structured outcome including otp_code, magic_link, or webauthn_required; policy denial fails on open |
get_messages |
Read SMS metadata and parsed codes; reading codes consumes them |
release_number |
Release a session early (allocation returned to pool) |
list_numbers |
List all active sessions for this account |
Legacy Aliases (Backward Compatibility)
| Tool | Maps to | Description |
|---|---|---|
provision_number |
open_challenge(channel=sms_otp) |
Provision a temporary programmable US number for SMS OTP — kept for backward compatibility |
wait_for_otp |
wait_for_verdict |
Legacy wait with automatic extension after timeout by default; number may be unchanged |
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
AgentSIM MCP questions
How do I add AgentSIM MCP to Claude Code?
Run claude mcp add --transport http agentsim-mcp https://mcp.agentsim.dev/mcp in your terminal. Add --scope user to make it available in every project.
How do I add AgentSIM MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does AgentSIM MCP provide?
It exposes 8 tools, including identify_agent, open_challenge, wait_for_verdict, get_messages, release_number.
What tools are available for AI coding assistants?
The primary tools are open_challenge and wait_for_verdict, with legacy aliases like provision_number and wait_for_otp.
How much does the Builder plan cost?
The Builder plan is $99 per month and includes 50 live US SMS sessions.
Can I use this without installing anything locally?
Yes, you can connect directly to the hosted MCP server using a streamable-http configuration.
Which countries are supported?
Currently, the supported country is the US.