Skip to main content

Connected CLI for imessage-mcp — stable public broker URL with account-managed API keys.

Project description

imessage-bridge

The "batteries-included" CLI for imessage-mcp: adds account management, a stable broker URL, and one-command tunneling.

If you just want a local MCP server with no third-party service, install imessage-mcp instead. This package wraps it.

What you get

  • Account-managed API keys. Sign up once, mint and revoke keys from the CLI.
  • Stable broker URL. https://imessage-cli.vercel.app/api/mcp — works in any MCP client (Claude Desktop, Cursor, Poke). Survives cloudflared restarts because the CLI re-registers automatically.
  • All of imessage-mcp. setup, token, and serve all live in this binary too.

Install

brew install cloudflared
uv tool install imessage-bridge

Quickstart

imessage-bridge setup                # macOS Full Disk Access pane
imessage-bridge signup               # create account, save API key locally
imessage-bridge serve --public       # tunnel + register with broker
                                     # prints the URL + token to paste into your MCP client

Commands

signup Create account, save API key
new-key Mint a new API key (asks for email + password)
logout Forget local API key
whoami Show current account
keys list List all API keys on your account
keys revoke <id> Revoke a key by ID
serve [--public] Run the MCP server, optionally tunneling + registering
setup Open macOS Full Disk Access pane
token [--rotate] Print/rotate the local bearer token

Configuration

The default broker is the public one at https://imessage-cli.vercel.app. Override for local dev or a self-hosted broker via either:

Environment variable (preferred, scoped per shell):

export IMESSAGE_BRIDGE_BACKEND_URL=http://localhost:3000

.env file — loaded automatically from either of:

  • ~/.config/imessage-bridge/.env — persists across shell sessions
  • ./.env — for local dev (loaded from the current working directory)

See .env.example for the available keys. Values already in the shell environment take precedence over .env files.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imessage_bridge-0.2.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imessage_bridge-0.2.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file imessage_bridge-0.2.1.tar.gz.

File metadata

  • Download URL: imessage_bridge-0.2.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for imessage_bridge-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c1bf6acb3a0ac123bda292c85e2ecebc9597a048144c18e6e2de64fe866cac36
MD5 c5a053b250a4138f4866e070d47d3615
BLAKE2b-256 c1b3317e442ee4db51a3319afed66c179866b4aed26ab2b97236274314c8d6c8

See more details on using hashes here.

File details

Details for the file imessage_bridge-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: imessage_bridge-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for imessage_bridge-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1057f595fab5831e429107ffd071539ceedabbec2f22ea5defd0c03d3e998f88
MD5 bbec9dfb84e54d33d4cd2cac8cf5a5d5
BLAKE2b-256 a2d5174729c81183dd9e8363b8ca1bcc5a1324374291454f956f6b9f282a344f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page