Skip to main content
Glama
andyjianzhou

imessage-send-mcp

by andyjianzhou

imessage-send-mcp

A minimal MCP server that sends iMessages via the macOS Messages app using osascript. No Full Disk Access required — write-only, never reads your message history.

What it does

Exposes one tool to Claude Code (or any MCP client):

  • send_imessage(recipient, message) — sends an iMessage or SMS to a phone number or Apple ID email

Related MCP server: iMessage MCP Server

Requirements

  • macOS (uses osascript + Messages app)

  • Messages app must be open and signed in to iMessage

  • Python 3.11+

Installation

pip install imessage-send-mcp

Or from source:

git clone https://github.com/andyjianzhou/imessage-send-mcp
cd imessage-send-mcp
pip install -e ".[dev]"

Add to Claude Code

claude mcp add-json "imessage-send" '{
  "command": "python3",
  "args": ["-m", "imessage_send_mcp.server"]
}'

Then restart Claude Code. The send_imessage tool will be available in your next session.

Usage

Once connected, Claude can send messages like:

send_imessage("+14155551234", "Hello from Claude!")

Recipients can be:

  • Phone number in E.164 format: +14155551234

  • Apple ID email: example@icloud.com

Security

  • No Full Disk Access needed — this server only sends messages, never reads chat.db

  • No network requests — runs entirely locally via AppleScript

  • Minimal surface area — ~50 lines of code, fully auditable

Development

pip install -e ".[dev]"
pytest          # run tests
ruff check .    # lint
mypy src        # type check

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to read iMessage history and send messages on macOS. Supports conversation listing, message search with keyword and semantic modes, contact lookup, and sending messages to existing conversations.
    Last updated
    13
    11
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables reading, searching, and sending iMessages on macOS by accessing the local messages database and utilizing AppleScript. Users can list conversations, search message history, and send messages to individuals or group chats directly through the Model Context Protocol.
    Last updated
    6
  • A
    license
    -
    quality
    A
    maintenance
    Enables reading, searching, sending iMessages, viewing image attachments, and managing conversations, with full support for modern macOS attributedBody parsing.
    Last updated
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay

  • Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.

  • Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andyjianzhou/imessage-send-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server