Connect iMessage (through SendBlue) to Grok Bot
Supported. custom MCP server (local)
What you need:
- X Premium, Super or Ultra (for Grok Bot)
- A SendBlue account (free sandbox to test, AI Agent line $100 a month)
- SendBlue API key and secret, saved in the app's secret store
- Opt in from each person before your first text
- Node.js on the computer that runs the server (it starts with npx)
Built from each app's own docs.
Plan: Grok Bot comes with X Premium, Super or Ultra. Plus does not include it.
- Create a SendBlue account. The free sandbox is for tests: up to 10 verified contacts, no first texts, no webhooks. A real line is the AI Agent plan, $100 a month per line.
- Get your SendBlue API key and secret from the dashboard.
- Ask your Bot: Add the MCP server started by the command npx -y sendblue-api-mcp, with my keys as SENDBLUE_API_API_KEY and SENDBLUE_API_API_SECRET.
- When the Bot asks for the key and secret, use the secure secret card. Choose Save securely.
- For replies 24/7: in SendBlue, go to Developer, then Webhooks, and send receive events to a Grok Bot routine's webhook. Have the routine ask you before it sends.
- Ask your test question.
Test it: Ask: show my 3 newest iMessage threads in SendBlue. Don't send anything.
What it can do: Send and read iMessage, SMS and MMS from your SendBlue line. Check if a number has iMessage.
What it can't do: Only text people who opted in. SendBlue's terms ban cold texts. The free sandbox can't send first texts or use webhooks.
Only text people who opted in. SendBlue's terms ban unsolicited texts, and so do TCPA and CASL. Open question for SendBlue: can an AI Agent line send the first text to an opted in person who hasn't texted it yet? Its pricing page says inbound first, its limits page says 200 outbound first contacts a day. Grok Bot's docs say a Bot can add a server by a command on its computer, and a routine can start from a webhook.
From sendblue.com and sendblue.com and docs.sendblue.com and sendblue.com and docs.sendblue.com and docs.x.ai and docs.x.ai and docs.x.ai. Last checked Oct 28, 2026.
Never paste an API key into a chat. Use the app's connector screen.
iMessage (through SendBlue) with another AI: ChatGPT · Claude · Claude Code · Gemini · Copilot
All tools for Grok Bot · Every AI and tool
Don't see your work here?
Tell me what you do every day, and I'll make guides and prompts for it.
Got it. Thank you. I read every request.