# Fwrd SMS Codes

> Fwrd SMS Codes is a freemium MCP server for communication. Give an AI agent the SMS verification codes that arrive on your iPhone. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** iOS, self-hosted, API
- **Website:** https://www.fwrdsms.com/blog/ai-agent-sms-verification-codes
- **Repository:** https://github.com/alanwtom/fwrd-sms-mcp
- **MCP Registry name:** io.github.alanwtom/fwrd-sms-mcp
- **Categories:** communication, security
- **Listing updated:** 2026-11-14

## About

iOS does not let any app or agent read the Messages inbox, so this setup works from the side. A Shortcuts Message automation hands each code text to the Fwrd iPhone app, which posts it straight to a Worker you deploy on your own Cloudflare account. The Worker keeps each text for 15 minutes, and the agent calls `wait_for_sms_code` to receive the newest one. Fwrd itself has no server and no account.

Setup uses two secrets you generate yourself: one forms the URL pasted into Fwrd, the other is the bearer token your AI client sends. In Fwrd you add a Webhook destination and choose Only Some Texts with Looks Like a Code, so only texts with a 4 to 8 digit code leave the phone. Connection recipes cover Claude Code, Cursor, claude.ai and any streamable-HTTP client, and there is an agent skill that walks through setup.

The author's own guidance applies: use it only for accounts you own or are authorised to automate, prefer API tokens or passkeys where offered, and check a service's terms, since some forbid automated sign-in. It needs an iPhone on iOS 26 or later; the Fwrd app is free for 15 forwards a month.

## Features

- **Wait for a code:** The agent waits for and receives the newest verification code.
- **Your own Worker:** Deploys to your Cloudflare account, with no Fwrd server in between.
- **Code-only filtering:** A Looks Like a Code filter forwards only 4 to 8 digit texts.
- **Short retention:** Texts are kept for 15 minutes.
- **Two separate secrets:** One secret for the iPhone, another for the AI client.
- **Agent skill:** A skill teaches a coding agent how to set it up with you.

## Good for

- Let an agent complete a sign-in on an account you own
- Feed a code into an n8n or other webhook workflow
- Test a verification flow with a real phone number
- Check which texts Fwrd has forwarded recently

## Tools

- `wait_for_sms_code`: Waits for and returns the newest SMS verification code.
- `list_recent_texts`: Lists recently forwarded texts, including test messages.

## FAQ

### Can an agent read my whole Messages inbox?

No. iOS blocks that. Only texts you hand to Fwrd through a Shortcuts automation reach the Worker.

### How long are codes stored?

The Worker keeps each text for 15 minutes.

### What does the Fwrd app cost?

Free for 15 forwards a month; Fwrd Pro removes the limit, with the price shown in the app.

### Where does it run?

On your own Cloudflare account; Node 22 or later is needed to deploy with wrangler.

### Is Fwrd SMS Codes free?

Fwrd SMS Codes has a free plan, with paid plans for more usage or features.

### What are the best alternatives to Fwrd SMS Codes?

The closest alternatives to Fwrd SMS Codes are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [BoardAgent](https://ai-powered.com/mcp/boardagent): BoardAgent is a free MCP server for community directories.
- [Callout](https://ai-powered.com/mcp/callout): Callout is a freemium MCP server for communication.

---
Source: https://ai-powered.com/mcp/fwrd-sms-codes
