Real SIM-backed mobile numbers for AI agents to receive SMS and OTP codes.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Agentsim MCP.
open_challengeOpen an authentication challenge session for a required owned `service_url`; accepts channel (sms_otp \
wait_for_verdictLong-poll for the challenge verdict β returns structured outcome including otp_code, magic_link, webauthn_required, or policy_denied
get_messagesList raw SMS messages received on a session
release_numberRelease a session early (allocation returned to pool)
list_numbersList all active sessions for this account
provision_numberProvision a temporary programmable US number for SMS OTP β kept for backward compatibility
Availability: The free Hobby plan includes 10 live US SMS sessions per month for apps you own, with one active live session per account and no card required. Sample demos do not use the allowance. The new paid live offer is not open yet; existing agreements remain unchanged. 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.
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.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Add agentsim-mcp as a stdio MCP server with AGENTSIM_API_KEY in the environment config.
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.
| Tool | Description |
|---|---|
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 |
| 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 |
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.
US
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-165)<a href="https://allmcps.com/mcp/mcp-165"><img src="https://allmcps.com/api/badge/mcp-165?style=directory" alt="Agentsim MCP on AllMCPs" /></a>