iMessage MCP Server
The iMessage MCP Server allows you to manage contacts and send iMessages through a local macOS interface.
Search Contacts: Query contacts by name, phone number, or email address
Send iMessages: Send messages to recipients via their phone number or email
Local and Secure: All operations are performed locally on your machine
Receive Confirmations: Get confirmation or error details for sent messages
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@iMessage MCP Server send a message to mom saying I'll be home by 7"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
iMessage MCP Server
⚠️ DISCLAIMER - USE AT YOUR OWN RISK ⚠️
This software is provided as-is, without any warranties or guarantees.
An MCP server that uses AppleScript to send iMessages and manage contacts.
This server uses AppleScript to interface with macOS Messages and Contacts apps through the Model Context Protocol (MCP). It wraps AppleScript commands in a TypeScript server to allow you to:
View and search your contacts
Send iMessages to contacts or phone numbers
Get confirmation when messages are sent
Features
Resources
Access your contacts via
contacts://allView contact details including names, phone numbers, and email addresses
All data stays local on your machine
Tools
search_contacts- Find contacts by name, phone, or emailTakes a search query and returns matching contacts
Searches across names, phone numbers, and email addresses
send_message- Send an iMessageTakes recipient (phone/email) and message content
Sends through your local Messages app
Returns confirmation or error details
Related MCP server: imessage-rich-search
Installation
Install dependencies:
npm installBuild the server:
npm run buildConfigure Claude Desktop to use the server:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"imessage": {
"command": "node",
"args": ["/path/to/imessage-server/build/server.js"]
}
}
}Restart Claude Desktop
Grant permissions when prompted for:
Contacts access
Messages access
Usage
Once installed, you can talk to Claude Desktop naturally:
"Show me my contacts"
"Search for contacts named Marissa"
"Send a message to 555-0123 saying I'll be there in 10 minutes"
"Send Alice an iMessage asking if we're still on for lunch"
Security Notes
All operations happen locally on your machine
No contact or message data is sent to external servers
The server requires macOS permissions for Contacts and Messages access
Messages are sent through your iMessage account
Development
For development and debugging, use the MCP Inspector:
npx @modelcontextprotocol/inspector node build/server.jsRequirements
macOS (for Messages and Contacts integration)
Node.js 18 or higher
Claude Desktop
Active iMessage account
Troubleshooting
If messages aren't sending:
Check Messages app is signed in
Verify permissions are granted
Look for errors in Claude Desktop logs:
tail -f ~/Library/Logs/Claude/mcp*.logAvailable Tools
2 toolssearch_contactsC
Search contacts by name, phone, or email
Inputs: query (required).
send_imessageC
Send an iMessage using Messages app
Inputs: recipient (required), message (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one searches contacts and the other sends messages. There is no overlap in functionality, making it impossible to confuse them.
Both tools follow a consistent verb_noun pattern (search_contacts, send_imessage) with clear, descriptive names that align with their actions. No deviations or mixed conventions are present.
With only two tools, the server feels thin for an iMessage domain, lacking essential operations like reading messages, managing conversations, or handling attachments. The count is too low for comprehensive coverage.
The toolset is severely incomplete for an iMessage server. It misses core functionalities such as retrieving messages, listing conversations, replying to threads, or deleting messages, leaving significant gaps that will hinder agent workflows.
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
Claude and ChatGPT, connected to your iCloud Calendar, Mail, Contacts and Reminders.
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Related MCP Servers
- AlicenseAqualityDmaintenanceA local MCP server that enables reading iMessage conversations and sending new messages through Claude Desktop. It provides secure, read-only access to your Mac's iMessage database and AppleScript-based message sending capabilities.6MIT
- AlicenseAqualityDmaintenanceEnables full-text search of macOS iMessages including link preview metadata. Works as an MCP server for Claude Desktop to search your messages locally.1MIT
- FlicenseAqualityDmaintenanceA read-only MCP server that exposes your iMessage data to Claude Code and Claude Desktop, with automatic contact name resolution.3-
- AlicenseAqualityDmaintenanceConnects Claude Desktop to iMessage on macOS, enabling reading conversations, searching messages, sending texts, and managing attachments.78 npmMIT