Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

PocketOTP

Lets AI assistants read SMS verification codes from your own Android phone

PocketOTP is an MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Platforms
Android, API, CLI
Runs
Remotely
What it can do
Can change data (1 tool)
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http pocketotp https://relay.pocketotp.com/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "pocketotp": {
      "type": "http",
      "url": "https://relay.pocketotp.com/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://relay.pocketotp.com/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pocketotp": {
      "url": "https://relay.pocketotp.com/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "pocketotp": {
      "type": "http",
      "url": "https://relay.pocketotp.com/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://relay.pocketotp.com/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add pocketotp --url https://relay.pocketotp.com/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.pocketotp]
url = "https://relay.pocketotp.com/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://relay.pocketotp.com/mcp

Enter a Name (for example "PocketOTP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pocketotp": {
      "type": "http",
      "url": "https://relay.pocketotp.com/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "pocketotp": {
          "httpUrl": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http pocketotp https://relay.pocketotp.com/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "pocketotp": {
          "serverUrl": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "pocketotp": {
          "url": "https://relay.pocketotp.com/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "pocketotp": {
          "type": "streamableHttp",
          "url": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "pocketotp": {
          "url": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "pocketotp": {
          "url": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "pocketotp": {
          "url": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "pocketotp": {
          "url": "https://relay.pocketotp.com/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About PocketOTP

PocketOTP connects an AI assistant to an Android phone so it can pull one-time codes that arrive by text message. Instead of copying a code across devices, the assistant reads the newest matching message from the handset and returns it in the chat.

The phone runs a companion app that you pair with the web console by scanning a single-use QR code. Each assistant gets its own bearer token, which can be revoked from the console. The server exposes tools to wait for a new code, fetch the latest one, list SIM slots, and send an SMS; any outgoing text must be approved with a long-press on the phone.

It suits developers and testers who run sign-up or login flows that need a phone-based code, and anyone who regularly signs in to services from a desktop AI client. Setup works with Claude Code, Claude Desktop, Cursor, VS Code with Copilot, Codex, Windsurf, Cline, and other Streamable HTTP clients.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 5 tools changes data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

wait_for_code
Waits for a new matching verification code, up to 60 seconds.
get_latest_codeName suggests: reads
Returns the most recent verification code on the phone.
send_smsName suggests: changes
Sends an SMS after the user confirms on the phone.
get_send_statusName suggests: reads
Reports the status of a pending or completed send.
list_simsName suggests: reads
Lists the SIM slots available on the phone.

What it does

Latest code retrieval
Fetches the most recent verification code received on the paired Android phone.
Wait for new codes
Blocks for up to 60 seconds for a fresh code, filtered by sender, SIM, or time.
Confirmed outgoing SMS
Sends a text only after the user long-presses Allow on the phone.
Dual SIM support
Selects the receiving or sending SIM by slot number, carrier name, or last four digits.
Per-assistant tokens
Issues a separate bearer token for each AI client and allows revocation in the console.
Signed APK verification
Publishes SHA-256 checksums and a signing-certificate fingerprint for checking the Android build.

Good for

  • Letting an AI coding assistant complete a phone-verified sign-up during testing
  • Retrieving a login code without switching devices while working on a desktop
  • Automating repeated SMS-based logins for personal accounts
  • Checking which SIM received a verification message on a dual-SIM phone

PocketOTP FAQ

Is PocketOTP available on Google Play?

No. The Android app is installed from GitHub Releases as an APK, or followed through Obtainium.

How does the assistant connect to my phone?

You pair the Android app with the web console using a single-use QR code, then add an MCP token and URL to your assistant's configuration.

Can the assistant send texts without my approval?

No. Sending SMS always requires a long-press of Allow on the phone.

Why do some Samsung settings matter?

On Samsung phones, display over other apps and never-sleeping app settings are usually needed for the confirm screen to appear while you use other apps.

How do I add PocketOTP to Claude Code?

Run this command in your terminal: claude mcp add --transport http pocketotp https://relay.pocketotp.com/mcp

What are the best alternatives to PocketOTP?

The closest alternatives to PocketOTP are Platfone, Phonekit, Homing Pigeon, CodeDroid and OpenInbox.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers