Connect your MCP server to iMessage
Put your product in iMessage with Keiki by giving an AI agent the tools of the MCP server you already run.
View imessage-mcp-agent on GitHub
How do I connect my MCP server to iMessage?
- Deploy the repo: click Deploy to Render in the README (or
git clone https://github.com/Mail-0/imessage-mcp-agent && cd imessage-mcp-agent && npm install) and setOPENAI_API_KEYandMCP_SERVER_URL(plusMCP_SERVER_TOKENif your MCP server needs one). - Point a Keiki agent at it:
npx @onkeiki/cli init --dispatch-url https://your-app.example.com/keiki/turn, then copyKEIKI_SIGNING_SECRETfrom.envinto your host's environment and redeploy. - Attach an iMessage line to the agent (or use the shared test line with its join code) and text it. The agent answers with your MCP server's tools.
Your code, your model, your servers. Keiki only handles the channels.
Details
- Stack: Hono, Node.js, TypeScript, Vercel AI SDK, @ai-sdk/mcp, Render
- Channels: iMessage
- Docs: /docs/external-harness
- Guide: How do I connect my MCP server to iMessage?