iMessage MCP Server
Read, search and send iMessage on macOS without Full Disk Access. Needs the iMessage MCP app.
iMessage MCP scores 66 (Good), licensed MIT and written in Swift. It installs as a local process. It declares 7 tools. Filed under Communication. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
89/100 for listing completeness. Lost points: 2 of 7 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "0xroots-imessage-mcp": { "command": "npx", "args": [ "-y", "https://github.com/0xroots/imessage-mcp/releases/download/v0.4.2/imessage-mcp-0.4.2.mcpb" ] } }}
Environment variables
This server does not declare environment variables.
Tools7Tool docs quality grade D
All capabilitiesget_attachmenttoolOne photo or PDF as images and text. On by default; switch it off in the start dialog or any time with Photos and PDFs for AI in the app window
Attachment names, types and sizes, with an index for each
get_messagestoolRead messages from an allowed chat, with paging
Messages since a date
List chats you allowed
search_messagestoolSearch text, with direction and date filters
send_messagetoolSend one message after your on-screen confirmation
About
iMessage MCP: iMessage for AI tools, without Full Disk Access
iMessage MCP is a free, open-source macOS app and MCP server. It lets Claude Code, Codex or any MCP client read, search and send your Messages (iMessage/SMS) while your data stays on your Mac. It does not need Full Disk Access.
You pick your Messages folder once in a normal macOS panel. The app keeps a read-only bookmark to it inside the macOS sandbox, has no network access, and asks you to approve every connection and every message it sends.
- No Full Disk Access. Verified on macOS 27.0.1 with real messages. No system-wide permission is granted. Sending a message asks macOS once for permission to control Messages only.
- Your data stays safe. Sandboxed, read-only, no network entitlement. Text leaves your Mac only if the AI tool you connect sends it elsewhere, so each connection needs your approval and runs under limits you set.
- You are in control. Choose how long the bridge runs and how many messages can be read. A battery shows the time left. Stop with one click.
- Sending always asks. The exact recipient and full text are shown, and nothing is sent until you press Send this message.
- Works without AI too. Search and read your messages inside the app.
Install
Requires macOS 13 or later.
1. Install the app
Option A, download (signed and notarized by Apple, nothing to build):
brew install --cask 0xroots/tap/imessage-mcp
or download the DMG from the latest release and drag iMessage MCP to Applications. The checksum is published next to the DMG.
Option B, build from source (needs Xcode command line tools; a free Apple Development certificate is enough):
git clone https://github.com/0xroots/imessage-mcp
cd imessage-mcp
security find-identity -v -p codesigning # note your identity and its Team ID
export MSGLOCAL_SIGN_IDENTITY="Apple Development: Your Name (XXXXXXXXXX)"
export MSGLOCAL_TEAM_ID="YOURTEAMID"
./scripts/install.sh # add --claude and/or --codex to register the server for you
Your identity and Team ID stay in your shell, never in the repository. The app and its adapter verify each other's code signature against that Team ID.
2. Connect your AI tool
| Client | How |
|---|---|
| Claude Code (plugin) | /plugin marketplace add 0xroots/imessage-mcp then /plugin install imessage-mcp@imessage-mcp |
| Claude Code (command) | claude mcp add --scope user --transport stdio imessage-mcp -- /Applications/iMessageMCP.app/Contents/Helpers/messages-mcp "$HOME/Library/Containers/org.messageslocal.app/Data/tmp/messages-mcp.sock" |
| Codex (plugin) | codex plugin marketplace add 0xroots/imessage-mcp then codex plugin add imessage-mcp@imessage-mcp |
| Codex (command) | codex mcp add imessage-mcp -- /Applications/iMessageMCP.app/Contents/Helpers/messages-mcp "$HOME/Library/Containers/org.messageslocal.app/Data/tmp/messages-mcp.sock" |
| ChatGPT and dots | Through OpenAI's Secure MCP Tunnel: ./scripts/chatgpt-tunnel.sh. See docs/CHATGPT.md |
| Any MCP client | Add a stdio server with the same command and one argument, the socket path. See docs/MCP_SETUP.md |
The plugin adds the MCP server and a skill that teaches the assistant the safe way to use it. It needs the app from step 1. If you installed the app somewhere else, set IMESSAGE_MCP_APP to its path.
Use it
- Allow the Messages folder. Click Allow Messages folder and select
~/Library/Messages. Access is read-only. - Start the AI bridge and choose your limits.
- Connect a tool. Add the adapter to your MCP client (see docs/MCP_SETUP.md). The first time it connects, iMessage MCP asks you to approve it: Selected chat, All chats or Deny.
- Stop the bridge with one click, or wait for the timer (the battery) to run out. Everything is revoked immediately.
What a connected tool can do
| Tool | Purpose |
|---|---|
list_conversations | List chats you allowed |
get_messages | Read messages from an allowed chat, with paging |
search_messages | Search text, with direction and date filters |
get_recent_messages | Messages since a date |
get_attachment_metadata | Attachment names, types and sizes, with an index for each |
get_attachment | One photo or PDF as images and text. On by default; switch it off in the start dialog or any time with Photos and PDFs for AI in the app window |
send_message | Send one message after your on-screen confirmation |
Limits apply across every connection for the whole run. Some message bodies use formats that cannot be decoded yet; they are returned as unsupported and are never guessed.
Security model in one minute
- Read-only, app-scoped bookmark to the Messages folder; no Full Disk Access.
- No network entitlement. Message text leaves your Mac only if the tool you connect sends it elsewhere, which is why you approve each connection.
- The adapter and the app authenticate each other by code signature and Team ID.
- Sending uses a single Apple Event to Messages, needs a fresh confirmation each time, rejects repeated request IDs, and never retries on an unknown result.
Details, limits and the threat model: SECURITY.md.
Privacy
Everything runs on your Mac with no network code and no account. The message browser needs Touch ID or your Mac password, so an AI that controls your screen cannot read messages around the bridge. See PRIVACY.md.
FAQ
Does it need Full Disk Access? No. You choose the Messages folder in the standard file panel and the app gets a read-only, app-scoped bookmark.
Is my data sent anywhere? The app has no network entitlement. Message text leaves your Mac only if the AI tool you connect sends it elsewhere. That is why you approve each connection and set limits.
Can an AI tool send messages without asking me? No. Every message needs your confirmation in a window that shows the recipient and the full text.
Which AI tools work? Any client that supports stdio MCP servers, including Claude Code and Codex.
What does it not do? It reads attachment contents only for photos and PDFs (up to 15 MB each, 40 MB per run) while the Photos and PDFs for AI switch is on, never video or audio, cannot decode every archived message body yet, and cannot confirm delivery of sent messages.
Development
./scripts/test.sh # unit tests, no signing or Messages access needed
./scripts/build.sh # build and sign
Layout: Sources/App (interface), Sources/Bridge (local server, limits, approvals, sending), Sources/Reader (read-only SQLite reader and body decoder), Sources/Adapter (stdio MCP adapter), Tests.
Known limitations
- Some archived message bodies cannot be decoded and are marked unsupported.
- The request-ID journal holds 1,000 IDs and fails closed when full; there is no reset yet.
- Delivery of a sent message is not confirmed by the app; check Messages.
- Same-user processes can launch the adapter, so approve only requests you started.
License
MIT. See LICENSE.
Frequently asked questions
What is iMessage MCP Server?
Read, search and send iMessage on macOS without Full Disk Access. Needs the iMessage MCP app.
How do I install iMessage MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. iMessage MCP Server runs locally from the MCP bundle https://github.com/0xroots/imessage-mcp/releases/download/v0.4.2/imessage-mcp-0.4.2.mcpb with the command npx -y https://github.com/0xroots/imessage-mcp/releases/download/v0.4.2/imessage-mcp-0.4.2.mcpb.
Is iMessage MCP Server free and open source?
Yes. iMessage MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does iMessage MCP Server support remote (HTTP) connections?
No remote endpoint is listed for iMessage MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does iMessage MCP Server provide?
iMessage MCP Server provides 7 tools, including get_attachment, get_attachment_metadata, get_messages, and get_recent_messages. See the full tool list for descriptions and parameters.
How is iMessage MCP Server's trust score calculated?
iMessage MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.