Gemini CLI · one connector

Publish to social from Gemini CLI.

Google’s terminal agent can publish where you already work. Add one entry to its settings, sign in once, and a post is a sentence away.

Gemini CLI is Google’s open-source agent for the terminal, and it talks to remote MCP servers over Streamable HTTP. Adding 1Social is one entry in its settings file and one sign-in: run /mcp auth, finish in the browser, and Gemini CLI discovers the sign-in endpoints and registers itself without a client ID from you. A note on names first: in June, Google moved unpaid and Google One users to a successor called Antigravity CLI, and Gemini CLI carries on for people with paid API keys or Code Assist Standard and Enterprise licences.

Once connected, the tools are the same ones every client gets: check a post before sending, publish, schedule, read what landed and retry what did not. Gemini CLI asks before each call unless you allow the tool or the whole server, and it can run headless with -p from cron on a machine where you have already signed in. What it does not have is a clock: its session context holds the date but not the time or your timezone, so a schedule works best with the zone named in the request.

Publishing from Gemini CLI

Drawn rather than captured — but every outcome in it is one this product really produces, refusals and waits included.

Gemini CLI21:40

› Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

› Done, connected

I will tell you before publishing if a network cannot take what you wrote.

› Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

› before you post anything, check what tomorrow’s launch post would do on each network

preview only · four accounts

1S

Nothing has been sent. Here is how each network would take it:

LinkedInfits as written
Blueskybecomes a chain
Instagramneeds a picture
YouTube Shortsneeds a vertical video

That is the full check. Say the word and I will schedule it, but tell me your timezone first.

› _

Where to add it in Gemini CLI

A onesocial entry under mcpServers in ~/.gemini/settings.json, with the server address in httpUrl, then /mcp auth onesocial inside Gemini CLI

The address to paste is on the MCP page, printed from live configuration rather than typed into a document — so it cannot be out of date here while being correct there.

Gemini CLI, network by network

What Gemini CLI can do once it is connected

A settings entry, not an install

The server is a few lines under mcpServers in settings.json, for you alone or for the whole project, with no package to install and no key to paste anywhere.

Four answers to every prompt

Each call can be allowed once, the tool allowed for good, the whole server allowed, or the call cancelled, so publishing can stay on ask while checks run freely.

Headless, after one sign-in by hand

A -p run from cron can publish once the browser sign-in has been done at the keyboard; the stored token is refreshed, so the job needs no browser after that.

The check before the send

The preview tool reports refusals, overflows, missing pictures and cost for every network named, which suits a terminal where approving a call takes one key.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell Gemini CLI to publish to every network you picked, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

Keep underscores out of the server name

Gemini CLI names each server by its key in settings.json, and its policy engine works out which server a tool belongs to by splitting names on underscores. A name like one_social therefore confuses the rules that decide when to ask and when not to, and an allow rule you set may not apply to the tool you meant. Call the entry onesocial, or any name without an underscore, before you sign in. It is a small thing to get right at the start and a confusing one to debug later, because the symptom is a prompt that appears, or does not, when you expected the opposite.

A rule of Gemini CLI, not ours and not the network’s. From documentation, checked 2026-11-23.

When this is the wrong tool

If you use Gemini for free or through a Google One plan, Gemini CLI is probably no longer what you have: Google moved those users to Antigravity CLI in June. Antigravity documents its own way of adding remote servers, but we have not confirmed that it connects to 1Social, so we cannot promise it yet. And if you want a command that posts the same text every time, call our API from a script rather than a model.

Questions people actually ask

Does 1Social work in Antigravity CLI?

We have not confirmed it. Antigravity’s documentation describes adding remote servers with a serverUrl key and signing in with OAuth, which is the kind of client that should work, but we have not tested it, so treat it as unverified until this page says otherwise.

Where do I add 1Social in Gemini CLI?

In settings.json, either in ~/.gemini for every project or in a .gemini folder inside one project, as an entry under mcpServers with the server address in httpUrl. The address itself is on our MCP page. Then run /mcp auth followed by the name of the entry.

Can I stop Gemini CLI asking before every post?

Yes: choose to always allow the tool or the server at the prompt, set trust on the entry, or use the yolo approval mode. We suggest the first, for the check tool only, so that anything which actually publishes still waits for you.

Can Gemini CLI sign in to 1Social on a remote machine?

Not over SSH or inside a container. The sign-in opens a browser and waits for a redirect to localhost, and Gemini CLI’s own documentation says this fails without a local browser. Sign in on a machine you are sitting at.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.