Connect Gemini to your social media accounts
Google offers MCP in several places, and they do not work the same way. The one that works with Echoia today for personal accounts is Antigravity CLI, Google's agent for the terminal, which replaced Gemini CLI for individual users in June 2026. Gemini CLI still serves enterprise licences. Here is the setup for both, and where the Gemini app stands.
What you can ask Gemini
Gemini 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
Gemini 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 Gemini
Pick the one you use. You can do both with the same key.
Antigravity CLI
- 1Open the MCP config file
Antigravity reads the MCP servers available in every project from ~/.gemini/config/mcp_config.json. Create the file if it does not exist yet. For one project only, use .agents/mcp_config.json at the project's root instead.
- 2Add Echoia
Add this entry with your key in place of the placeholder. Note the field name serverUrl: Antigravity no longer reads the older url and httpUrl fields, and a server declared with them silently stays offline.
- 3Check the connection
Start Antigravity CLI, type /mcp and press Enter. Echoia should be listed with its tools. If it shows an error, the connection log in the same panel says why: a 401 means the key is wrong or revoked.
Gemini CLI
- 1Add the server
Put your key in the ECHOIA_API_KEY environment variable and run this command. The transport must be set to http explicitly: Gemini CLI defaults to a local transport that ignores headers.
- 2Check the connection
Start Gemini CLI and type /mcp. Echoia should appear with its six tools.
Which permissions to give Gemini
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
Who can use custom apps in the Gemini app?
According to Google, people aged 18 and over in the United States, signed in with a personal Google account, in English, with Keep Activity turned on. Work and school accounts cannot use them yet.
I used Gemini CLI before June 2026. What changes?
Google retired Gemini CLI for free, Google AI Pro and Ultra users on 18 June 2026 and moved them to Antigravity CLI. Your MCP servers move from ~/.gemini/settings.json to ~/.gemini/config/mcp_config.json, and the address field is now called serverUrl.
Is my key safe in the config file?
It is as safe as the file. Keep the file out of any shared folder or repository. If it leaks, revoke the key in Echoia under Settings, Developers: it stops working on the next request.
Ready to try it with Gemini?
Create a free Echoia account, connect your social accounts, and your key is one click away. No card needed.
USING ANOTHER ASSISTANT?