Connect Grok to your social media accounts
xAI offers MCP in two places: custom connectors on grok.com, and Grok Build, its agent for the terminal. Grok Build sends Echoia's key the standard way and works today. Here is the setup, and where grok.com stands.
What you can ask Grok
Grok gets six tools from Echoia (accounts, posts, stats, creating a post, reading comments, replying) across Instagram, Facebook, TikTok, YouTube, X, LinkedIn, Threads, Bluesky, Pinterest and Google Business, limited to what your key allows.
Before you start
STEP 1 OF 2
Create your Echoia key
Grok connects with a key you create and can revoke at any time. It takes a minute.
- 1Open the Developers settings
Sign in to Echoia, open Settings, then Developers.
- 2Create a key and choose what it may do
Name it after the assistant so you recognise it later, and tick its permissions (explained further down). If you have several workspaces, choose which ones it can reach.
- 3Copy the key now
It starts with eko_ and is shown only once: Echoia keeps only a fingerprint of it. If you lose it, revoke it and create a new one.
STEP 2 OF 2
Connect Grok
Grok Build
For xAI's agent in the terminal.
- 1Store your key
Put your key in the ECHOIA_API_KEY environment variable, for example in your shell profile. Grok Build reads it when it connects, so the key is never written in its config.
- 2Add the server
Run this command once. The single quotes matter: they keep your shell from replacing the variable, so Grok Build stores the reference and not the key itself.
- 3Check the connection
Run grok mcp doctor echoia, which tests the connection and reports what is wrong if anything is. Inside a session, /mcps shows each server's status.
Which permissions to give Grok
Accounts, posts, stats and comments. Looks at everything, changes nothing.
Drafts, scheduled posts and media uploads. A scheduled post goes out at its time.
Replies to comments in public, as your account.
Posts immediately, with no window to change your mind.
Limits worth knowing
Questions
Can Grok post to X through Echoia?
Yes, if your X account is connected in Echoia and the key has the Write scope for drafts and scheduling, or Publish to post on the spot. X is one of the ten platforms Echoia publishes to.
What about the xAI API?
Developers building on the xAI API can attach remote MCP servers to their requests. Use the Echoia address with your key sent as an Authorization header, as with any client that supports headers.
How do I cut Grok's access?
Revoke the key in Echoia under Settings, Developers. It stops working on the next request, whatever Grok is doing at the time.
Ready to try it with Grok?
Create a free Echoia account, connect your social accounts, and your key is one click away. No card needed.
USING ANOTHER ASSISTANT?