Gemini app & Gemini CLI

Connect Gemini to Margin and turn ideas into on-brand posts

In Gemini, connectors for your own tools are called custom apps. For now, Google lets you add one in the Gemini app only with a personal Google account, in the US, aged 18 or over and in English. Gemini CLI takes Margin with one command, and Antigravity CLI with one config entry. Then ask for posts, pins or carousels in plain English. Gemini builds each one as an editable frame on your Margin canvas, styled by your brand board, and schedules it to any of 9 networks when you say so.

Gemini · Autumn collectionBrand board loaded
Example
You09:12

Use these lookbook notes to make a Pinterest pin and a matching Instagram post for Thursday's drop, and schedule both for 10:00.

Assistant + Margin09:13
  • Took the palette and serif from your brand board
  • Designed a 1000 × 1500 pin and a 1080 × 1350 post
  • Scheduled both for Thursday at 10:00, after you confirmed

Both designs are on your Autumn canvas, and the two posts wait in your Margin calendar until Thursday. Edit or cancel either one there before then.

PINTEREST 2:3 + INSTAGRAM 4:5The autumn edit is here.Scheduled · Thu 10:00 · editable on canvas

01 · Just ask

Start with a normal sentence.

Describe what you want to share. Your assistant handles the layout, sizing, and draft scheduling.

From your notes

“Turn this product brief into a 5-slide Instagram carousel in our brand colors and keep it as a draft.”

Builds five editable 1080 × 1350 slides on your canvas and leaves the post as a draft until you schedule it.

Pinterest

“Make three pin options for our spring guide, then schedule the one I pick for Saturday morning.”

Puts three 2:3 pins side by side so you choose by eye, then schedules the winner.

What worked

“Which of our Instagram posts did best this month, and when should we post next week?”

Reads your real numbers and best posting times from Margin and suggests slots for next week.

02 · How it works

From setup to scheduled post.

Google opens custom apps in the Gemini app to personal Google accounts in the US, aged 18 or over, in English, with History on. Otherwise, connect through Gemini CLI with the command below, or through Antigravity CLI as the FAQ explains.

  1. 01

    Add Margin as a custom app

    On gemini.google.com, click Settings at the bottom, then Connected Apps. Under Custom apps, paste https://margin.design/mcp into the Add a custom app field and click Next.

  2. 02

    Sign in to Margin

    Follow the on-screen sign-in: log in to Margin, pick which organizations Gemini may open, and press Allow. The app then works in Gemini on your phone too.

  3. 03

    Ask, confirm, and edit

    Ask in plain English. Gemini asks you to confirm each change it makes, and every design lands on your canvas, ready for your team to edit.

03 · Why Margin

Design, review, and publish together.

Every graphic Gemini makes stays editable on your brand canvas, so your team always has the final word.

01

Real text, not a flattened picture

Gemini writes each post as HTML and CSS on your Margin canvas, so a teammate can fix a headline or swap a photo without starting over.

02

Your brand board does the styling

Colors, fonts and components live on one board in Margin. Gemini follows it, so a pin and a carousel look like they came from the same team.

03

The exact size for each network

Instagram, TikTok, X, YouTube, Facebook, Threads, LinkedIn, Pinterest and Bluesky each get a frame at their own size, never one image stretched to fit.

04

Gemini does the thinking

Your own Gemini account writes and designs. Margin doesn't sell AI credit packs; your assistant's own plan does the thinking.

Setup

Add Margin to Gemini CLI in one command

The first time Gemini CLI connects, your browser opens: sign in to Margin, choose the organizations Gemini may open, and press Allow. If it doesn't open, run /mcp auth margin. In your config the server is named margin. The full playbook for agents is get-started.md.

Gemini CLI
gemini mcp add --scope user --transport http margin https://margin.design/mcp

Bring your own assistant

From idea to published post.

Keep your brand board, editable designs, team review, and 9-network scheduling in one workspace, powered by the assistant you already use.

04 · FAQ

Common questions.

Quick answers on connecting your assistant, editing designs, and staying in control before publishing.

Which versions of Gemini can add Margin as a connector?

The Gemini app and Gemini CLI. Google opens custom apps to personal accounts in the US, 18 or over, in English; work and school accounts can't add them yet. Gemini Enterprise asks for a client ID and secret that Margin doesn't issue, so it can't connect today.

Will Gemini post to my accounts without asking?

No. Gemini asks you to confirm every change it makes, and posting right away also shows what each account gets and waits for your yes. Scheduled posts and drafts wait in your Margin calendar, where you can edit or cancel them before they go out.

I moved from Gemini CLI to Antigravity CLI. Can I still use Margin?

Yes, Antigravity CLI takes remote MCP servers too. Google moved unpaid and Google One users of Gemini CLI to it on June 18, 2026. Add an entry named margin with the serverUrl https://margin.design/mcp to ~/.gemini/config/mcp_config.json and sign in through your browser when it asks.

Sources · checked 26 Nov 2026