MirrorSMS MCP Server
Supports connecting Android phones through the MirrorSMS app so the assistant can read incoming SMS and verification codes and help configure SMS forwarding.
Supports setting up iPhones via an Apple Shortcut, with no app required, so SMS and verification codes can be read and forwarding can be configured.
Allows adding a Discord webhook channel so incoming SMS can be forwarded to Discord, including sending test messages to verify delivery.
Allows adding a Slack webhook channel so incoming SMS can be forwarded to Slack, including sending test messages to verify delivery.
Connects a Telegram account to the official MirrorSMS bot via a one-time link so SMS can be forwarded to Telegram, and can wait for the connection to finish.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
https://mirrorsms.com/mcpMirrorSMS forwards the SMS your phone receives (verification codes, bank alerts, delivery notices) to email, Telegram or a webhook. This MCP server lets AI assistants such as Claude, ChatGPT, Cursor and Gemini:
Read one-time codes while signing in, confirming a payment or verifying an account, so you don't have to copy them by hand.
Wait for an SMS and return it the moment it arrives.
Set up forwarding step by step: connect your phone, add email, Telegram or webhook (Feishu/Lark, DingTalk, WeCom, Slack, Discord) channels, and send a test.
Troubleshoot messages that don't arrive.
The server is hosted by MirrorSMS. This repository holds the documentation, client configuration examples and directory metadata; the server itself is not open source.
Quick start
Connect a phone. Android: install the MirrorSMS app. iPhone: no app needed, MirrorSMS uses an Apple Shortcut. No account yet? Skip this step: once connected, your AI assistant can walk you through it with
add_phone.Add the server to your AI client:
Client
How
Claude (claude.ai, desktop)
Settings → Connectors → Add custom connector →
https://mirrorsms.com/mcpChatGPT
Settings → Apps & Connectors → Advanced settings → Developer mode → Create →
https://mirrorsms.com/mcp, authentication OAuthClaude Code
Plugin (MCP server + a skill for sign-in codes):
/plugin install mirrorsms --marketplace zakiso/mirrorsms-mcpor just the server:claude mcp add --transport http mirrorsms https://mirrorsms.com/mcpCursor
Install in Cursor or see docs/clients.md
VS Code
Gemini CLI
gemini extensions install https://github.com/zakiso/mirrorsms-mcpCodex CLI
codex mcp add mirrorsms --url https://mirrorsms.com/mcpAnything else
docs/clients.md (including a stdio bridge for clients without remote MCP)
Sign in and allow. A MirrorSMS page opens: sign in with your email (a 6-digit code, no password) or scan with the Android app, then click Allow. Keep "Allow setting up forwarding" checked if you want the assistant to configure forwarding for you.
Client without OAuth, or a headless agent? Create an API key in the dashboard (mirrorsms.com/app#/api) and send it as a header instead. API-key connections are read-only (the setup tools are unavailable). See docs/clients.md.
{
"mcpServers": {
"mirrorsms": {
"url": "https://mirrorsms.com/mcp",
"headers": { "Authorization": "Bearer sfk_your_api_key" }
}
}
}Then just ask:
What's the latest verification code on my phone?
I'm signing in to a website, tell me the code when the SMS arrives.
Help me forward my SMS to Telegram.
Related MCP server: botcall-mcp
Tools
Tool | What it does | Access |
| Latest SMS with a verification code, with the code extracted | read |
| Waits up to 50 s and returns a new SMS as soon as it arrives | read |
| Recent SMS, filter by sender, text or time | read |
| Connected phones and when each last reported | read |
| Explains why an SMS hasn't arrived, with steps to fix it | read |
| Setup progress, plan limits and ordered next steps | read |
| Waits for a phone or Telegram link to finish connecting | read |
| Setup link and steps for an Android phone or iPhone | setup |
| Forward SMS to an email address (confirmed by email) | setup |
| One-time link to the official Telegram bot | setup |
| Forward SMS to a webhook (Feishu/Lark, DingTalk, WeCom, Slack, Discord or JSON) | setup |
| Rename a channel or turn it on/off | setup |
| Sends a sample SMS through your channels and reports the result | setup |
Parameters and return values: docs/tools.md.
More integrations
Integration | Where |
Home Assistant (HACS) | Latest SMS / code sensors, a |
n8n |
|
Browser extension | Fill the latest code into the page (Chrome, Edge, Firefox). browser-extension/ |
Raycast | Copy the latest code, wait for a code, search SMS. raycast/ |
Command line & JS |
|
All of these use a read-only API key from https://mirrorsms.com/app#/api .
Security and privacy
OAuth 2.1 with PKCE. You approve access on a MirrorSMS consent page and can revoke it any time in the dashboard under "AI 助手" (AI assistants). Clients can register with Client ID Metadata Documents or Dynamic Client Registration.
Or a read-only API key. Keys (
sfk_…) are created and deleted in the dashboard, shown only once, and can only read SMS. The same key works with a plain REST API for scripts.You choose the scope.
sms:readis always granted;forwarding:manage(the setup tools) only if you keep it checked.Nothing destructive. No tool can send SMS, delete messages, phones or channels, reveal saved secrets, or change billing.
SMS are untrusted. Every response that contains SMS text reminds the model to treat it as data and never follow instructions inside it.
Short retention. SMS are kept 7 days by default, then deleted. See the privacy policy.
Plans
The free plan includes 1 phone and 20 AI tool calls a day, shared with API-key reads (setup tools don't count). Paid plans remove the tool-call limit. Details: mirrorsms.com.
For AI agents
If you are an AI agent helping a user set up MirrorSMS, read the agent guide. It covers the full setup flow, phone-specific steps and troubleshooting.
Listings
Official MCP Registry:
com.mirrorsms/mcp(server.json)
Support
Email: support@mirrorsms.com
Issues with this documentation: open an issue
License
The documentation and configuration files in this repository are MIT licensed. The MirrorSMS service is subject to its terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Receive SMS on a dedicated US number for your AI agent: read texts and one-time codes. $5/month.
A real US mobile number for your own AI agent: send and read texts and verification codes.
Rent real and virtual phone numbers in 14 countries and read their SMS from your AI agent.
Let AI agents securely access the text messages on your phone.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered SMS messaging through Twilio with automatic conversation threading, message status tracking, and webhook support for receiving inbound messages.1MIT
- AlicenseAqualityDmaintenanceGives AI agents real phone numbers to receive SMS and extract verification codes through tool calls.6MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to use a real Android phone with a SIM to retrieve phone numbers, receive SMS verification codes, and manage SMS messages.-
- AlicenseAqualityCmaintenanceEnables AI agents to send SMS from and read incoming messages on a paired Android phone, and to inspect devices, message history, and per-recipient send status.6MIT