jons-mcp-imessage
Verified Safeby jonmmease
Overview
Query and send iMessages on macOS using AI assistants, with hybrid keyword and semantic search capabilities.
Installation
uv run jons-mcp-imessageEnvironment Variables
- OPENAI_API_KEY
- LOG_LEVEL
Security Notes
The server executes AppleScript via `osascript` for sending messages. Input for AppleScript is sanitized using `_escape_applescript_string` to prevent injection. This approach, while necessary for iMessage automation on macOS, carries a slight risk if sanitization were incomplete. However, the current implementation appears robust for typical attacks and relies on macOS's explicit permission model. `OPENAI_API_KEY` is loaded from environment variables, which is good practice. The tool requires significant macOS permissions (Full Disk Access, Automation, Contacts), which are clearly documented and necessary for its functionality.
Similar Servers
mac_messages_mcp
Enables AI assistants to interact with the macOS Messages app for reading, sending, and searching messages, including universal messaging capabilities with SMS/RCS fallback.
whatsapp-mcp-ts
Connects a personal WhatsApp account to an AI agent, enabling the agent to search messages and contacts, list chats, retrieve message history, and send messages via WhatsApp.
messages
Fuzzy search and browse Apple Messages (iMessage/SMS) from the command line or as an MCP server.
WeChat-MCP
Automate WeChat interactions on macOS for LLMs, enabling programmatic control over chat, contact management, and Moments (social feed) publishing via accessibility APIs and screen capture.