⚠️ 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
- Access your contacts via
contacts://all - View contact details including names, phone numbers, and email addresses
- All data stays local on your machine
-
search_contacts- Find contacts by name, phone, or email- Takes a search query and returns matching contacts
- Searches across names, phone numbers, and email addresses
-
send_message- Send an iMessage- Takes recipient (phone/email) and message content
- Sends through your local Messages app
- Returns confirmation or error details
- Install dependencies:
npm install- Build the server:
npm run build- Configure 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