zakiso

MirrorSMS MCP Server

Community zakiso
Updated

MirrorSMS: read SMS and verification codes from your own phone — remote MCP server docs, Home Assistant integration (HACS), Raycast extension, CLI

MirrorSMS MCP Server

Let your AI assistant read the SMS and verification codes on your own phone, and set up SMS forwarding for you. Remote MCP server · Streamable HTTP · OAuth 2.1 (or a read-only API key)

Website · Connect your client · Tools · 中文

https://mirrorsms.com/mcp

MirrorSMS 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

  1. 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.

  2. Add the server to your AI client:

    Client How
    Claude (claude.ai, desktop) Settings → Connectors → Add custom connector → https://mirrorsms.com/mcp
    ChatGPT Settings → Apps & Connectors → Advanced settings → Developer mode → Create → https://mirrorsms.com/mcp, authentication OAuth
    Claude 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/mcp
    Cursor Install in Cursor or see docs/clients.md
    VS Code Install in VS Code or see docs/clients.md
    Gemini CLI gemini extensions install https://github.com/zakiso/mirrorsms-mcp
    Codex CLI codex mcp add mirrorsms --url https://mirrorsms.com/mcp
    Anything else docs/clients.md (including a stdio bridge for clients without remote MCP)
  3. 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.

Tools

Tool What it does Access
get_latest_code Latest SMS with a verification code, with the code extracted read
wait_for_sms Waits up to 50 s and returns a new SMS as soon as it arrives read
list_sms Recent SMS, filter by sender, text or time read
list_devices Connected phones and when each last reported read
diagnose_sms_delivery Explains why an SMS hasn't arrived, with steps to fix it read
get_setup_status Setup progress, plan limits and ordered next steps read
wait_for_connection Waits for a phone or Telegram link to finish connecting read
add_phone Setup link and steps for an Android phone or iPhone setup
add_email_channel Forward SMS to an email address (confirmed by email) setup
connect_telegram One-time link to the official Telegram bot setup
add_webhook_channel Forward SMS to a webhook (Feishu/Lark, DingTalk, WeCom, Slack, Discord or JSON) setup
update_channel Rename a channel or turn it on/off setup
send_test_message 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 mirrorsms_sms_received event for automations. docs/home-assistant.md
n8n n8n-nodes-mirrorsms: get codes, wait for an SMS, and a New SMS trigger. 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 npx mirrorsms code --wait, plus a stdio MCP bridge npx mirrorsms mcp. packages/mirrorsms

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:read is 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

License

The documentation and configuration files in this repository are MIT licensed. The MirrorSMS service is subject to its terms.

MCP Server · Populars

MCP Server · New

    ordewell

    ordewell

    Open source agent orchestrator. One goal becomes an editable plan of tasks that run in parallel on Claude Code, Codex, OpenCode and more, each on its own git branch.

    Community ordewell
    goodnight000

    api-anything

    Turn any website into an API your agent can call. Learns from the site's own frontend, heals itself when the site changes.

    Community goodnight000
    shuttle-browser

    Shuttle

    A Chromium fork built for AI agents: built-in MCP server, per-agent logged-in identities, sessions as tab groups

    Community shuttle-browser
    postgres-ai

    PostgresAI

    postgresai – Postgres observability built for humans and AI agents

    Community postgres-ai
    auto-mobile-oss

    AutoMobile

    Mobile automation suite of tools including an MCP and libraries for test authoring & execution

    Community auto-mobile-oss