Antigravity CLI — agy — is Google's terminal agent, and since June 2026 the one Google points free and Google One users to in place of Gemini CLI. A short entry in its MCP config connects it to iHatePosting.
How do I connect iHatePosting to Antigravity CLI?
It takes about a minute. Nothing here needs a download, and the only thing you carry between the two apps is a key you can revoke whenever you like.
- 1Step 1
Create an iHatePosting API key
Sign in, open Settings → Developers and create a key. It starts with pk_live_, and the same page can show it again whenever you need it.
- 2Step 2
Add iHatePosting to Antigravity CLI
Add to ~/.gemini/config/mcp_config.json, inside its mcpServers object. On Windows that file is %USERPROFILE%\.gemini\config\mcp_config.json. Then start agy and run /mcp to see it connect. Replace YOUR_API_KEY with your key.
Antigravity CLI — connector{ "mcpServers": { "ihateposting": { "serverUrl": "https://ihateposting.com/mcp?client=antigravity", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } - 3Step 3
Ask it to post
Tell Antigravity CLI what you want to say and where. It saves a draft in iHatePosting unless you ask for the post to go out now or at a set time.
What is different about Antigravity CLI
Every client reaches the same server, and then behaves like itself. These are the things that are true here and not somewhere else.
The field is serverUrl. Google's MCP page says a remote server must define serverUrl, so a block copied from a Gemini CLI setup, with url or httpUrl, is not what agy documents.
agy does not expand environment variables in this file — a ${VAR} header is sent as written, so the server still connects and lists its tools, but every tool answers iHatePosting API 401 — so the file holds your key in plain text. Use the global file in your home folder, not a project folder you commit. The per-project .agents/mcp_config.json also has an open bug report.
After saving, start agy and run /mcp to see whether the server connected, and reload it from there. Each tool asks before it runs unless you allow it.
If it will not connect, use the local route: in the same mcpServers object, replace ihateposting's serverUrl and headers with a command of npx, args of -y and ihateposting-mcp, and an env entry named IHATEPOSTING_API_KEY holding your key. It needs Node.js, and runs our server on your own machine. An open report says some local servers' tools also cannot be called, so try one tool after switching.
Limits. Antigravity CLI comes with every Antigravity plan, the free one included, with a weekly quota that paid Google AI plans raise. You sign in with a personal Google account in a supported region or a Gemini Enterprise business account, or run it on your own Gemini API key. Several open reports in its issue tracker describe remote servers failing through serverUrl, and we have not yet run agy against iHatePosting ourselves; the local route avoids that path. Another open report says some servers' tools, local ones included, are listed but cannot be called. An organisation's admin can block MCP servers.
Google's own documentation: MCP in Antigravity
Nothing goes out unless you say so
Every post Antigravity CLI writes is saved as a draft in iHatePosting unless you ask for it to be published now or at a set time. Publishing, rescheduling, retrying and deleting are marked as actions that change things, so clients that honour those markings ask you before they run them. Deleting a post in iHatePosting never removes one that is already live on a network.
What is the iHatePosting MCP?
MCP — the Model Context Protocol — is the standard way an assistant plugs into an app it does not own. Our server exposes the accounts you have connected to Antigravity CLI as tools, so it can draft, check and schedule without you opening a dashboard.
How Antigravity CLI uses it
- You add the connector once — by signing in, or with a key you create
- Antigravity CLI reads which accounts you have connected, and each network's rules
- It writes a version per network and checks it against those rules before sending
- It saves a draft, schedules it, or publishes — exactly as your message said
- It works alongside whatever other tools Antigravity CLI already has
# read and check (9)
whoami list_accounts
list_posts get_post
get_analytics get_platform_rules
list_media list_pinterest_boards
validate_post
# write (7)
create_post update_post
reschedule_post delete_post
retry_post upload_media
open_upload_widgetCost, access and what to do when it breaks
What does it cost?
The connector costs nothing on top of iHatePosting. iHatePosting has one plan: $15/month billed annually, or $19/month billed monthly, with unlimited social accounts. It is free for 90 days, no credit card needed, and everything is included during the trial: unlimited accounts, unlimited posts, every feature.
How is access secured?
Either you sign in to iHatePosting and approve access, or you create an API key in Settings → Developers. That page can show your key again whenever you need it. Whichever route you take, it reaches only the accounts you have already connected, and you can revoke it at any time without touching the accounts themselves.
Something not working?
- It cannot see any accounts: connect them in iHatePosting first, then ask it to list them again.
- You regenerated your key and it still fails: Regenerate revokes the old key the moment you press it, and a client that is already running keeps sending the old one until you genuinely restart it.
- A post failed: open it in iHatePosting — the failure names the network and repeats what that network actually said.
Frequently asked questions
Can I reuse my Gemini CLI config in agy?
Use serverUrl instead. Google's MCP page says a remote server must define serverUrl, and a block copied from Gemini CLI uses url or httpUrl, which is not what agy documents.
Can I keep my key in an environment variable?
No. agy does not expand environment variables in this file, so a ${VAR} header is sent as written and every tool answers iHatePosting API 401. Put the key in the global file in your home folder, not in a project folder you commit.
What if agy will not connect?
Use the local route: replace ihateposting's serverUrl and headers with a command of npx, args of -y and ihateposting-mcp, and an env entry named IHATEPOSTING_API_KEY holding your key. It needs Node.js and runs our server on your own machine.
Is the Antigravity CLI connector free?
Yes. The connector costs nothing on top of iHatePosting, and iHatePosting is free for 90 days, no credit card needed. After that it is $15/month billed annually, or $19 month-to-month, with unlimited accounts.
Which networks can Antigravity CLI post to?
Any account you have connected in iHatePosting, across 15 networks: Instagram, Facebook, LinkedIn, X, Threads, TikTok, YouTube, Pinterest, Bluesky, Mastodon, Telegram, Discord, Slack, Tumblr and Google Business Profile.
Can Antigravity CLI schedule posts for a specific date and time?
Yes. Put the date and time in the prompt — for example "schedule this for Friday at 9:00 AM" — and Antigravity CLI schedules the post for then. iHatePosting reads the time in your account's timezone, and you can ask Antigravity CLI to move a scheduled post to a new time.
Antigravity CLI vs Gemini CLI: which page do you need?
Google makes both, and iHatePosting works with both of them. This page is for Antigravity CLI. Pick the one you actually type into — the setup differs, and the wrong page will have you pasting a key in a place that has no box for it.
Antigravity CLI
You are hereConnect iHatePosting to Google's Antigravity CLI in mcp_config.json and schedule posts to 15 social networks from agy in your terminal. Free 90-day trial.
Gemini CLI
Connect iHatePosting to Google's Gemini CLI with a short block in settings.json, then schedule posts to 15 networks from your terminal. Free 90-day trial.
Open the Gemini CLI page
One connection reaches every network
Connect your accounts in iHatePosting once. From then on Antigravity CLI can post to any of them, and we publish at the time you set — even after you close the chat.
- Bluesky
- X
- Threads
- TikTok
- YouTube
- Mastodon
- Telegram
- Discord
- Tumblr
- Google Business
- Slack
Ready to post everywhere from Antigravity CLI?
Start your 90-day free trial — no credit card, about a minute to your first post.
Sign UpOther AI agents
New to this? Read how to post to social media from an AI agent, or see iHatePosting pricing: unlimited accounts for $15/month, billed annually.