planpo.st
FeaturesFor AI agentsRevenue trackingPlatformsPricingBlogSupport
Sign inStart free trial →
planpo.st

Social scheduling with revenue built in. One platform for creators and businesses who treat social as a growth engine.

Product

SchedulerFor creatorsFor agenciesCompare toolsAlternativesPricing

Channels

InstagramLinkedInX (Twitter)ThreadsFacebookYouTubeTikTokAll channels →

AI agents

MCP serverFor AI agentsClaude CodeCursorChatGPTGemini CLIAll agents →

Revenue

Revenue trackingRevenue attributionStripeShopifyRevenueCatAll integrations →

Resources

DocsMCP toolsAPI referenceBlogAboutSupportContactPrivacyTerms

Compare planpo.st

  • planpo.st vs Postiz
  • planpo.st vs Buffer
  • planpo.st vs Hootsuite
  • planpo.st vs Later
  • planpo.st vs Sprout Social
  • planpo.st vs SocialBee
  • planpo.st vs Planable
  • planpo.st vs Metricool
  • planpo.st vs Loomly
  • planpo.st vs Publer
  • planpo.st vs Post Bridge
  • planpo.st vs Mixpost
  • planpo.st vs Blotato
  • planpo.st vs Typefully
  • planpo.st vs RecurPost
  • planpo.st vs Post Planner
  • All comparisons →
  • Alternatives →
© 2026 planpo.st · all rights reservedstatus: ● all systems normal
  1. Home
  2. /AI agents
  3. /Google Antigravity
  4. /LinkedIn
Google Antigravity · LinkedIn

How to post to LinkedIn from Google Antigravity

Give one agent the job of writing up finished work for LinkedIn while another keeps building. The write-up lands as a draft for you to read.

Start 7-day free trial →Google Antigravity setup docs
On this pageStepsWhat worksSettingsPromptsLimitsRevenueFAQ

How do I post to LinkedIn from Google Antigravity?

Add the planpo.st MCP server to Google Antigravity, connect LinkedIn once in the dashboard, then ask. The first three steps are one-time.

  1. 1

    Create an API key and add planpo.st to Antigravity

    Make a scoped key in planpo.st under Settings. Add the local planpost entry to mcp_config.json, the shared one in ~/.gemini/config or .agents inside a workspace. Antigravity substitutes ${PLANPOST_API_KEY} from the environment, so export the key and leave it out of the file.

  2. 2

    Confirm the server is connected

    In the agent panel open the menu, then MCP Servers, then Manage MCP Servers, and check that planpost is listed.

  3. 3

    Connect LinkedIn

    Connect LinkedIn in the dashboard under Connections. A personal profile and a company page are separate connections with separate IDs, and get_connection_link gives the agent a URL to pass to you when one is missing.

  4. 4

    Know what the post needs

    A LinkedIn post needs text of 3,000 characters or fewer. Media is optional and nothing in platformSettings is required.

  5. 5

    Ask in the agent panel or the agy CLI

    Say what to post and when. Antigravity finds the LinkedIn connection, creates the post, and tells you whether it was scheduled or kept as a draft, with the reason.

Local, in mcp_config.json
{
  "mcpServers": {
    "planpost": {
      "command": "npx",
      "args": ["-y", "planpost-mcp"],
      "env": { "PLANPOST_API_KEY": "${PLANPOST_API_KEY}" }
    }
  }
}

Config location: Shared: ~/.gemini/config/mcp_config.json · Per workspace: .agents/mcp_config.json. Replace pk_live_xxx with your own key.

Which transport does Google Antigravity use?

For Antigravity the tested route is the local server in mcp_config.json, with the key substituted from the environment. One entry covers the IDE, the agy CLI and the SDK, because all three read the same file.

  • Antigravity substitutes ${VAR_NAME} from the environment, so export PLANPOST_API_KEY in your shell rather than pasting the key into the file.
  • In the IDE you can reach the same file via the agent panel: ... menu -> MCP Servers -> Manage MCP Servers -> View raw config.
  • Custom servers sit alongside the built-in MCP Store; a server added in the raw config appears with the store-installed ones.

The full walkthrough is on the Google Antigravity setup page.

What can Google Antigravity do on LinkedIn?

It can publish text posts, single-image posts, multi-image posts of up to 9 images and video posts, to a personal profile or a company page. It cannot post PDF documents, polls or articles.

Text post

3,000

Up to 3,000 characters with clickable links. The long cut of an idea belongs here, with platformContent.linkedin holding it when other networks get a shorter one.

Image or images

1 to 9

One image, or several as a multi-image post. The first 9 are used.

Video

One video per post. When the first attachment is a video, that file is the post.

Profile or page

Decided by the connection ID. Pass the profile's ID, the page's ID, or both in two posts with different wording.

Attachments are optional on LinkedIn. When a post should carry one, Antigravity can take it from disk: it calls upload_media for a presigned URL, PUTs the file there with a shell command, and passes the returned asset into create_post. Files already uploaded come back from list_media, ready to reuse.

Which settings does a LinkedIn post take?

The LinkedIn publisher reads nothing from platformSettings. Who the post is from is decided by the connection, and visibility is always public, so the table lists the post fields that do the work.

FieldAllowed valuesIf you leave it outWorth knowing
connectionIdsID of a profile connection or a company page connectionNone, requiredThis is the profile versus page switch. list_connections returns both with their IDs.
platformContent.linkedinText, 3,000 characters or fewerThe shared contentOver 3,000 here is rejected with a 400. Shared content over 3,000 saves the post as a draft with char_limit.
media, platformMedia.linkedinImages (1 to 9) or one videoText postThe first attachment decides the kind of post. Images after the ninth are left out.
platformSettings.linkedin.*Not readDoes not applyorganizationUrn and isPersonal exist on the type and are ignored at publish. Use the connection ID.
VisibilityPUBLICPUBLICFixed. There is no connections-only option.

What do I type to post to LinkedIn from Google Antigravity?

Plain requests work. Each example lists the tool calls Google Antigravity makes in response.

1. Profile and company page, two voices

You say

Summarize the task you just finished in this workspace. Write two LinkedIn posts from it: first person for my profile, third person for the company page. Schedule both for Thursday 09:00.

Tool calls

list_connections()
create_post({ content: "<first person>", connectionIds: ["<profile id>"], schedule: "thursday 09:00" })
create_post({ content: "<third person>", connectionIds: ["<page id>"], schedule: "thursday 09:00" })

Two scheduled posts on two connections. They are separate posts on purpose, because the wording differs and so will the numbers.

2. A carousel of images

You say

Read the spec in docs/feature.md. Make a 7-slide carousel from it for LinkedIn and save the post as a draft so I can look first.

Tool calls

generate_carousel({ content: "<source text>", platform: "linkedin", maxSlides: 7 })
render_carousel({ slides: [...], family: "<id from list_carousel_styles>" })
get_carousel_render({ id: "<render id>" })
create_post({ content: "<caption>", media: [<7 assets>], connectionIds: ["<linkedin id>"], schedule: "draft" })

Seven rendered PNG slides in your media library and a draft multi-image post. Seven fits; a tenth slide would be dropped, since LinkedIn gets the first 9 images.

3. Post with a tracked link

You say

Look at what changed on this branch. Write a LinkedIn post that ends with the link to the pricing page and schedule it at the best time this week.

Tool calls

get_best_times({ platform: "linkedin" })
create_post({ content: "<post ending in https://...>", connectionIds: ["<linkedin id>"], scheduledFor: "<ISO time from get_best_times>", campaign: "pricing-update" })

A scheduled post with a clickable link and a campaign tag. Payments that follow a click on that link show up next to this post.

What stops a LinkedIn post from Google Antigravity?

The tag on a card is the code that comes back in the tool result.

3,000 characters

char_limit

Checked when the post is created. Too long and it is saved as a draft with the count, the limit and the field to shorten.

9 images, then it stops

A multi-image post uses the first 9 attachments. Extra images are left out without failing the post, so keep carousels at 9 or fewer.

Do not mix images and video

The first attachment decides the type. An image first makes it an image post; a video first makes it a video post with that one file.

No PDF documents

The swipeable document format is not supported. A rendered image carousel is the nearest thing and it publishes as a multi-image post.

Always public

Posts go out with public visibility. If you need connections-only, post that one by hand.

Profile and page are different connections

Sending a page announcement to your personal profile is one wrong ID away. Have the agent read list_connections back before the first post.

One config, three surfaces

Antigravity

Since 2.x the IDE, the agy CLI and the SDK read the same mcp_config.json. Add planpost once and an agent started from any of them has the tools, which also means any of them can post.

Can Google Antigravity tell me what a LinkedIn post earned?

Yes. Links in LinkedIn posts are clickable, so a tracked link in the post gives a click to match against a later payment, and get_revenue_overview returns the totals and recent transactions. LinkedIn readers are mostly buying for a business, which usually means Stripe on the other end.

Stripe integration How revenue attribution works

Google Antigravity and LinkedIn: questions people ask

How do I post to a company page instead of my profile?
Pass the page's connection ID. The page and the profile are separate connections, and the post is authored by whichever one the ID belongs to. There is no setting for it.
Can it post a document carousel?
Not the PDF kind. It can render up to 9 slides as images and publish them as a multi-image post.
What happens when Antigravity sends a LinkedIn post that breaks a rule?
It is told at once. The usual case on LinkedIn is text over 3,000 characters: the post is kept as a draft and the tool result carries char_limit plus the fix, which Antigravity applies with update_post.
Is planpo.st in Antigravity's MCP Store?
Not today. It goes in as a custom server through the raw config and then shows up next to the store-installed ones. The LinkedIn tools work the same either way.
Can an autonomous agent publish without me?
It can if the key allows it, so decide that with the key. A key that requires approval turns each LinkedIn post into a request with an approve link, and the agent can carry on with other work while it waits.

Keep going

LinkedIn from other agents

Claude Code to LinkedInCursor to LinkedInClaude Desktop to LinkedInChatGPT to LinkedInGemini CLI to LinkedInCodex CLI to LinkedInHermes Agent to LinkedIn

Other networks from Antigravity

Antigravity to ThreadsAntigravity to InstagramAntigravity to XAntigravity to FacebookAntigravity to YouTubeAntigravity to TikTok

Background

Google Antigravity overviewGoogle Antigravity setupLinkedIn scheduling guideMCP tool reference