plyght/msgmcp
MCP server for reading, sending, and reacting to iMessages on macOS
Platform-specific configuration:
{
"mcpServers": {
"msgmcp": {
"command": "npx",
"args": [
"-y",
"msgmcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<div align='center'> <h3>msgmcp</h3> <p>MCP server for reading, sending, and reacting to iMessages on macOS</p> <br/> <br/> </div>
A Model Context Protocol server that gives LLMs full access to your iMessage conversations. Reads directly from the macOS Messages database for retrieval and uses AppleScript for sending messages and tapback reactions, all exposed as structured MCP tools.
~/Library/Messages/chat.db and the Contacts database)git clone https://github.com/plyght/msgmcp.git
cd msgmcp
bun install
bun run build# Development mode with hot reload
bun run dev
# Production
bun run startAdd to your MCP client configuration:
{
"mcpServers": {
"msgmcp": {
"command": "node",
"args": ["dist/stdio.js"]
}
}
}| Tool | Description | |---|---| | list-conversations | List recent conversations with last message preview | | read-messages | Read message history for a conversation, with optional date filtering | | search-messages | Full-text search across all or specific conversations | | unread-messages | Get all conversations with unread messa
Loading reviews...