Retrieves recent messages from the macOS Messages app, with options to filter by contact and time period.
Searches through message history for specific text or from specific contacts.
Sends a new message through iMessage to a specified recipient.
Searches for contact information based on name or phone number.
Mac Messages MCP provides a secure bridge for AI assistants to interact with your macOS Messages app. It enables reading recent conversations, searching through message history, managing contacts, and sending new messages directly through iMessage, all while maintaining privacy and security.
Mac Messages MCP creates a secure interface between AI assistants and your macOS Messages app, allowing for seamless interaction with your iMessage conversations. This tool enables you to read recent messages, search through conversation history, manage contacts, and send new messages directly through iMessage.
Before installing Mac Messages MCP, ensure you have:
uv
package manager installedThe Mac Messages MCP requires the uv
package manager. Install it using Homebrew:
brew install uv
If you're not using macOS or prefer another installation method, follow the instructions on the uv GitHub repository.
You can install Mac Messages MCP directly from PyPI:
uv pip install mac-messages-mcp
Alternatively, you can install from source:
git clone https://github.com/carterlasalle/mac_messages_mcp.git
cd mac_messages_mcp
uv install -e .
⚠️ Important: Mac Messages MCP requires Full Disk Access permission to access the Messages database.
To grant this permission:
Without this permission, the MCP will not be able to access your messages.
{
"mcpServers": {
"messages": {
"command": "uvx",
"args": [
"mac-messages-mcp"
]
}
}
}
uvx mac-messages-mcp
⚠️ Note: Only run one instance of the MCP server at a time (either on Cursor or Claude Desktop, not both).
Once installed and configured, the AI assistant can interact with your Messages app through the available tools. The assistant can:
The MCP handles all the necessary database interactions and ensures secure access to your messages.
If you encounter issues:
For further assistance, visit the GitHub repository.