Connect MCP AI agents to iMessage without a Mac.
Add five messaging tools, send one controlled text, and keep the MCP server open until the matching reply reaches your agent.
Run the package and register one contact.
The server opens its listener before readiness passes.
The inbound message must reach your MCP client.
Start with one phone you control
Start the 7-day card-backed trial. Copy your API key, then return to the install step below.
Start your 7-day trial1. Add the MCP server
Put this entry in your MCP client configuration. Replace the sample key with the live key from your Claw Messenger dashboard.
{
"mcpServers": {
"claw-messenger": {
"command": "npx",
"args": ["-y", "@emotion-machine/claw-messenger-mcp"],
"env": {
"CLAW_MESSENGER_API_KEY": "cm_live_YOUR_KEY"
}
}
}
}The npx command runs the public npm package. Restart the MCP client after saving the configuration.
2. Register one controlled contact
Ask the agent to call register_contact with one phone in E.164 format. Use a number you can answer during the test.
Register +14155550101 as a Claw Messenger contact.3. Check readiness before sending
Ask the agent to call check_readiness. This checks the key, plan, contact, and live listener.
listener opencheck_readinesssend_text_message{"ready":true,"action":"send_controlled_test"}If the action says connect_agent, restart the MCP server and check again. Do not send until readiness passes.
4. Send one controlled message
Ask the agent to call send_text_message. Leave the service unset so Claw Messenger can use iMessage, RCS, or SMS as available.
Send "MCP test. Reply yes." to +14155550101.5. Wait for the matching reply
Immediately ask the agent to call wait_for_reply for that contact. Set a timeout up to 300 seconds, then reply from the phone.
Wait up to 300 seconds for a reply from +14155550101.A returned inbound message is the setup finish line.
An accepted or delivered send is useful diagnostics. It does not prove that replies reach your AI agent.
The five MCP tools
register_contactAllow one phone for two-way messaging.list_contactsReview the phones this account can message.check_readinessConfirm the session is ready before sending.send_text_messageSend text to a registered contact.wait_for_replyReturn the next inbound message from a contact.MCP messaging questions
Does this require a Mac?
No. Run the MCP client on Linux, Windows, Docker, or a cloud server.
Should I put the API key in the command?
No. Keep it in the MCP client environment. The server authenticates its WebSocket with a bearer header.