MCP Hub
Back to servers

iMessage MCP Server

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.

glama
Updated
Mar 24, 2026

imessage-mcp

MCP server that exposes iMessage read/send capabilities on macOS. Runs on a Mac with Messages.app and can be accessed remotely via SSH over Tailscale.

Tools

ToolDescription
list_conversationsList recent conversations with last message preview
get_messagesGet messages from a specific conversation
search_messagesFull-text search across all messages
get_contact_infoLook up contact stats by phone/email
send_messageSend an iMessage to a phone number or email
send_group_messageSend a message to a named group chat

Setup (local)

uv run imessage-mcp

Requires macOS with Messages.app and Full Disk Access for the terminal process.

Claude Code config (local)

{
  "mcpServers": {
    "imessage": {
      "command": "uv",
      "args": ["--directory", "/path/to/imessage-mcp", "run", "imessage-mcp"]
    }
  }
}

Claude Code config (remote via SSH)

From any device on the Tailscale network:

{
  "mcpServers": {
    "imessage": {
      "command": "ssh",
      "args": [
        "mba-server",
        "/Users/viraat/.local/bin/uv --directory /Users/viraat/Documents/imessage-mcp run imessage-mcp"
      ]
    }
  }
}

This pipes MCP stdio through SSH — the server runs on the Mac, reads chat.db, and sends via AppleScript.

Reviews

No reviews yet

Sign in to write a review