Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables reading, sending, and managing iMessage conversations on macOS through MCP.

README.md

iMessage Kit MCP Server

An MCP server for iMessage — read, send, and automate conversations via iMessage Kit.

Features

  • Send Messages: Send iMessages to phone numbers or email addresses
  • Read Messages: Retrieve message history from conversations
  • List Conversations: Get all active iMessage conversations
  • Conversation Details: Get detailed information about specific conversations
  • Dual Transport: Supports both STDIO (local) and HTTP (production) transports

Tools

imsg_send_message

Sends an iMessage to a recipient.

Inputs:

  • recipient (string, required): Phone number (e.g., '+1234567890') or email address
  • text (string, required): Message text to send
  • chatId (string, optional): Chat ID if continuing an existing conversation

imsg_read_messages

Reads messages from an iMessage conversation.

Inputs:

  • chatId (string, optional): Chat/conversation ID
  • recipient (string, optional): Recipient phone number or email
  • limit (number, optional): Maximum number of messages (default: 50)
  • offset (number, optional): Number of messages to skip (default: 0)

imsg_get_conversations

Gets a list of all iMessage conversations.

Inputs:

  • limit (number, optional): Maximum number of conversations (default: 50)
  • offset (number, optional): Number of conversations to skip (default: 0)

imsg_get_conversation_details

Gets detailed information about a specific conversation.

Inputs:

  • chatId (string, required): Chat/conversation ID

Installation

Prerequisites

  • Bun — required runtime
  • macOS (required for iMessage functionality)

Install Dependencies

bun install

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

STDIO Transport (Local)

{
  "mcpServers": {
    "imessage-kit": {
      "command": "bun",
      "args": ["run", "/path/to/imessage-kit-mcp/src/index.ts"]
    }
  }
}

HTTP Transport

{
  "mcpServers": {
    "imessage-kit": {
      "command": "bun",
      "args": ["run", "/path/to/imessage-kit-mcp/src/index.ts", "--port", "3002"],
      "url": "http://localhost:3002/mcp"
    }
  }
}

Usage with VS Code

Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).

{
  "mcp": {
    "inputs": [],
    "servers": {
      "imessage-kit": {
        "command": "bun",
        "args": ["run", "/absolute/path/to/imessage-kit-mcp/src/index.ts"]
      }
    }
  }
}

Development

Running the Server

# STDIO transport (default)
bun run src/index.ts

# HTTP transport
bun run src/index.ts --port 3002

Testing with MCP Inspector

bunx @modelcontextprotocol/inspector src/index.ts

Project Structure

imessage-kit-mcp/
├── src/
│   ├── index.ts           # Main entry point
│   ├── server.ts          # MCP server implementation
│   ├── client.ts          # iMessage Kit SDK client wrapper
│   ├── config.ts          # Configuration management
│   ├── cli.ts             # CLI argument parsing
│   ├── types.ts           # TypeScript type definitions
│   ├── tools/
│   │   ├── index.ts       # Tool exports
│   │   └── imessage.ts    # iMessage tool definitions
│   └── transport/
│       ├── index.ts       # Transport exports
│       ├── stdio.ts       # STDIO transport
│       └── http.ts         # HTTP transport
├── package.json
├── tsconfig.json
└── README.md

Notes

  • This server requires macOS to access iMessage functionality
  • Requires Bun (uses bun:sqlite for native SQLite access)
  • Uses iMessage Kit for database access
  • Make sure you have proper permissions to access Messages on macOS

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Communication servers.