imessage-mcp
Allows reading, searching, and sending iMessages and SMS messages, as well as managing attachments and conversations.
Click on "Install 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-mcpshow my last 5 conversations"
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
An MCP server that connects Claude Desktop to iMessage on macOS — read conversations, search messages, send texts, and access attachments.
Prerequisites
macOS
Node.js 18+
Full Disk Access granted to Claude Desktop (required to read
~/Library/Messages/chat.db)
Granting Full Disk Access
Open System Settings → Privacy & Security → Full Disk Access
Add Claude to the list and enable it
Restart Claude Desktop
Related MCP server: iMessage MCP Server
Installation
1. Add to Claude Desktop config
Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"mcpServers": {
"imessage": {
"command": "npx",
"args": ["-y", "@kamk95/imessage-mcp"]
}
}
}2. Restart Claude Desktop
Manual install (alternative)
If you prefer to run from source:
git clone https://github.com/kamrenkennedy/imessage-mcp.git
cd imessage-mcp
npm installThen use this config instead:
{
"mcpServers": {
"imessage": {
"command": "node",
"args": ["/absolute/path/to/imessage-mcp/index.js"]
}
}
}Tools
get_conversations
List recent iMessage conversations.
Parameter | Type | Description |
| number | Max conversations to return (default: 20) |
get_messages
Get messages from a specific conversation.
Parameter | Type | Description |
| string | Required. Chat ID from |
| number | Max messages to return (default: 50) |
search_messages
Search across all messages by text.
Parameter | Type | Description |
| string | Required. Text to search for |
| number | Max results to return (default: 20) |
get_chat_participants
Get the participants in a conversation.
Parameter | Type | Description |
| string | Required. Chat ID from |
send_message
Send an iMessage or SMS.
Parameter | Type | Description |
| string | Required. Phone number, email, or contact name |
| string | Required. Text to send |
get_attachments
List attachments from a conversation.
Parameter | Type | Description |
| string | Required. Chat ID from |
| number | Max attachments to return (default: 20) |
save_attachment
Save an attachment from a message to disk.
Parameter | Type | Description |
| string | Required. Attachment ID from |
| string | Required. Full path where the file should be saved |
Notes
Messages are read directly from
~/Library/Messages/chat.dbusing SQLite — no AppleScript required for readsSending uses AppleScript via
osascriptContact names are resolved from AddressBook automatically
US phone numbers are normalized (leading 1 stripped from 11-digit numbers)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA local server that enables Claude Desktop to interact with your macOS Contacts and Messages apps, allowing you to search contacts and send iMessages through natural language commands.Last updated23728MIT
- Alicense-qualityCmaintenanceEnables Claude to send and read iMessages on macOS, with smart contact lookup, message history retrieval, and cross-conversation search using natural language commands.Last updated5MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to read iMessage history and send messages on macOS. Supports conversation listing, message search with keyword and semantic modes, contact lookup, and sending messages to existing conversations.Last updated1310MIT
- AlicenseAqualityCmaintenanceEnables full-text search of macOS iMessages including link preview metadata. Works as an MCP server for Claude Desktop to search your messages locally.Last updated1MIT
Related MCP Connectors
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Drive your real WhatsApp inbox from Claude — send, reply, label, assign, and triage via TimelinesAI.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kamrenkennedy/imessage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server