macOS iMessage integration
## iMessage MCP Server: Apple Messaging The **iMessage MCP Server** provides iMessage integration for Google Antigravity on macOS. This enables sending and receiving iMessages programmatically for automation and notifications on Apple devices. ### Why iMessage MCP? iMessage reaches Apple users: - **Apple Ecosystem**: 1B+ active devices - **Rich Messages**: Tapbacks, effects, threads - **End-to-End Encrypted**: Secure by default - **Free Messaging**: No SMS costs for iMessage - **macOS Integration**: Native AppleScript access ### Key Features #### 1. Send Messages ```python import subprocess def send_imessage(recipient, message): script = """ tell application "Messages" set targetService to 1st account whose service type = iMessage set targetBuddy to participant "%s" of targetService send "%s" to targetBuddy end tell """ % (recipient, message) subprocess.run(["osascript", "-e", script]) send_imessage("+15559876543", "Deployment complete!") ``` #### 2. Read Messages ```python import sqlite3 import os db_path = os.path.expanduser("~/Library/Messages/chat.db") conn = sqlite3.connect(db_path) cursor = conn.execute(""" SELECT text, datetime(date/1000000000 + 978307200, 'unixepoch') FROM message ORDER BY date DESC LIMIT 10 """) for row in cursor: print(f"{row[1]}: {row[0]}") ``` ### Configuration ```json { "mcpServers": { "imessage": { "command": "npx", "args": ["-y", "@anthropic/mcp-imessage"], "env": { "IMESSAGE_DB_PATH": "~/Library/Messages/chat.db" } } } } ``` ### Use Cases **Personal Alerts**: Send notifications to your phone. **Team Communication**: Quick updates to Apple users. **Automation**: Scripted message workflows. The iMessage MCP Server brings Apple messaging to Antigravity.
{
"mcpServers": {
"imessage": {
"mcpServers": {
"imessage": {
"args": [
"-y",
"imessage-mcp"
],
"command": "npx"
}
}
}
}
}