iMessageSAFE
An MCP server that uses AppleScript to send iMessages and manage contacts.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
⚠️ 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://all - View 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 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
Installation
- 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
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 permission
6472ea9361b8OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add imessage-mcp-server -- npx -y [email protected]
{
"mcpServers": {
"imessage-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (2)
1 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
search_contacts | read | Search contacts by name, phone, or email |
send_imessage | write | Send an iMessage using Messages app |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
@types/node, typescript
Gates applied: no_behavioural_pass, no_license.
6472ea9361b8full audit observations/trust-audit/mcp-server/marissamarym__imessage.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 6472ea9361b8 | SAFE | B | 89 | first audit |
Questions
What is the iMessage MCP server?
An MCP server that uses AppleScript to send iMessages and manage contacts.
What tools does iMessage expose?
2 in total: 1 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is iMessage safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does iMessage need?
No credential environment variables were found in its source, so it appears to need none.
How does iMessage run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as imessage-mcp-server at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (6472ea9361b8), read on 2026-10-08. The repository is watched and re-audited when it changes.