One command adds PostSyncer to Gemini CLI, and /mcp auth signs you in. From then on, ask it to read a changelog, a docs page or a list of closed issues and put a post for each network on the calendar of the 12 networks you connect.
Run this in your terminal
$ gemini mcp add --transport http -s user postsyncer https://postsyncer.com/mcp
Example: a developer asks Gemini CLI, in the terminal, to read the changelog and schedule a LinkedIn post and a short Threads post about version 2.4 for Friday at 09:00. Gemini CLI reads the file, calls PostSyncer’s list-accounts and create-post tools, and both posts appear on the PostSyncer calendar.
~/lantern-docs PostSyncer connected
>Read CHANGELOG.md and write a LinkedIn post and a short Threads post about what’s new in 2.4. Schedule both for Friday at 9am.
read_file CHANGELOG.md2.4: offline mode
postsyncer ·list-accounts5 connected
postsyncer ·create-postScheduled, Fri 09:00
Both are scheduled for Friday at 09:00: the longer post on LinkedIn walks through offline mode, and the Threads one sums it up in two lines.
On your PostSyncer calendar
CalendarExample week
Mon
8:00
12:30
Tue
17:00
Wed
10:00
Thu
13:00
Fri
09:00
09:00
11:00
Sat
10:00
Sun
2 of 2 scheduled
An example conversation. Alder & Ash Coffee is a made-up brand.
What you can ask
Ask the way you’d ask a person
Plain words work. Under each ask are the PostSyncer tools Gemini CLI uses for it.
Post
“Read CHANGELOG.md and schedule a LinkedIn post and a Threads post about version 2.4 for Friday at 9am.”
list-accountscreate-post
Post
“Read our brand voice, then turn the new webhooks docs page into three short posts. Keep them as drafts so I can edit them.”
get-brandlist-accountscreate-post
Plan
“Show the next 14 days of scheduled posts grouped by network, and flag any day with two posts on the same one.”
list-posts
Plan
“Move Tuesday’s Bluesky post to Wednesday, same time.”
list-postsupdate-post
Reply
“Read the new comments on Monday’s LinkedIn post and write answers to the pricing questions. Show me before you send any.”
“Make a link I can send my cofounder to connect our YouTube channel.”
create-account-connect-link
Report
“How did this week’s posts do? List them from most to least engagement.”
get-analytics-workspace
Set up with your AI agent
Paste this prompt into Gemini CLI. It asks for your email and the 6-digit code we send there, then makes your account, or connects the one you have. Next it connects your social accounts, reads how your posts did and drafts a week of posts in your voice for you to schedule.
Setup prompt
Set up PostSyncer for me: read https://postsyncer.com/agents/setup.md and follow it.
How to connect
Connect Gemini CLI in three steps
Gemini CLI adds remote MCP servers with gemini mcp add. Add PostSyncer for your user, sign in once, and every folder you start it in has it.
Add PostSyncer to Gemini CLI
Run this in your terminal. The -s user part saves it in ~/.gemini/settings.json, so it’s there in every project and not only this folder.
Terminal
$ gemini mcp add --transport http -s user postsyncer https://postsyncer.com/mcp
Sign in
Start Gemini CLI and type /mcp auth postsyncer. Your browser opens to approve PostSyncer, so do this on a computer with a browser, not over SSH.
In Gemini CLI
/mcp auth postsyncer
PostSyncer
Authorize Gemini CLI
Manage your PostSyncer content through the MCP server
AllowCancel
Check it’s connected
Type /mcp. PostSyncer shows as CONNECTED, with its tools listed under it. Then ask for your first post.
Then try it
“Which PostSyncer accounts can I post to? Then write a post about the latest commit in this repo and save it as a draft.”
No browser on that machine?
Over SSH, in a container or in CI, the browser sign-in can’t open. Add PostSyncer with an Authorization header instead, and put a PostSyncer key in place of YOUR_KEY. Create the key in PostSyncer’s Settings, under API, with only the permissions it needs.
Gemini CLI reaches PostSyncer at https://postsyncer.com/mcp over streamable HTTP and signs in with OAuth. The first time, it registers itself with PostSyncer, so you don’t create a client ID.
PostSyncer MCP address
https://postsyncer.com/mcp
No social accounts in PostSyncer yet? Ask Gemini CLI for a connect link, open it in your browser and sign in to each network there.
Gemini CLI and PostSyncer
Gemini CLI and PostSyncer
It asks before it acts
Gemini CLI shows a confirmation before it calls a tool from an MCP server. You can allow a call once, always allow that tool, or always allow the whole server. A sensible split: always allow the tools that only read, like list-posts and list-accounts, and keep create-post and delete-post asking, so nothing is scheduled or removed without a look.
Your user or one project
gemini mcp add saves to the project by default, in .gemini/settings.json. With -s user it goes to ~/.gemini/settings.json and follows you into every folder. Pick the project scope when only one repo should be able to post, such as the one that holds your changelog.
From the repo to the calendar
Gemini CLI already reads the files in the folder you start it in. Point it at release notes, a docs page or the issues you closed this week, and ask for one post per network: a fuller one for LinkedIn, a short one for X, Threads or Bluesky. The posts land on your PostSyncer calendar, scheduled or as drafts.
When the sign-in runs out
Gemini CLI keeps the PostSyncer sign-in in ~/.gemini/mcp-oauth-tokens.json and refreshes it by itself. If it ever stops working, run /mcp auth postsyncer again.
/mcp shows whether PostSyncer is connected
gemini mcp list shows it from the shell
gemini mcp remove -s user postsyncer takes it out
What it can do
What PostSyncer offers Gemini CLI
The tools PostSyncer’s MCP server offers: the same things the app does, in the workspaces you belong to. The grey names are the tools themselves, if you want to ask for one by name.
Posts
Write a post and publish it now, schedule it or save it as a draft, with its own text and settings for each networkcreate-post
See what’s scheduled, published, waiting for approval, drafted or failedlist-posts
Find a post by its PostSyncer ID, its public link or the network’s own post IDget-postget-post-by-urlget-post-by-platform-post-id
See who changed a post, what they changed and when, and whether each network posted itget-post-history
Change a post’s text, media, accounts or time, or send a failed post againupdate-post
Approve a post that’s waiting, then publish it, schedule it or keep it as a draftapprove-post
Retry publishing failed accounts on a failed or partially failed postretry-post
Delete a post from the calendardelete-post
Add a follow-up reply that goes out once a post reaches a number of likes, reposts, replies or viewsupdate-post-auto-plug
Set a post’s comment rules: keyword filters, which comments to remove and AI auto-repliesupdate-post-comment-moderation
Read the replies under any public X post and answer a question about themanalyze-twitter-post
Approving posts, comment moderation and reading an X post with AI need a paid plan.
Accounts and workspaces
List your workspaces: one per brand or clientlist-workspaces
Make a workspace for a new brand or client, or delete one for goodcreate-workspacedelete-workspace
Read and change a workspace’s time zone, posting times and what new posts start withget-workspace-settingsupdate-workspace-settings
See the connected social accounts, a Pinterest account’s boards and a YouTube channel’s playlistslist-accountsget-account
See the sections of a Pinterest board, to put a Pin in onelist-pinterest-board-sections
Make a link where you or a client connect an account: no PostSyncer login, one use, good for 7 dayscreate-account-connect-link
Find people and companies to tag in a LinkedIn post, and get the exact tag to put in the textfind-linkedin-mentions
Disconnect a social accountdelete-account
After you reconnect an account, put it back on the posts it was on. Posts the disconnect moved to drafts are scheduled again at their old time, if no one changed them and that time is still aheadput-back-account-posts
Brand and snippets
Read a workspace’s brand: who you are, how you sound, what works on each account, your competitors and your rulesget-brand
Change parts of the brand. What you set stays yours and AI won’t write over itupdate-brand
Add a suggested competitor to the brand, or say it isn’t one so it’s never suggested againaccept-brand-suggestiondismiss-brand-suggestion
Save sign-offs, calls to action and hashtag groups the team can drop into any postlist-snippetscreate-snippetupdate-snippetdelete-snippet
Media
Add images, videos and PDFs to the media library from links, Google Drive and Dropbox share links includedupload-media-from-url
Put a photo or video you attach in ChatGPT straight into the library, or a small file the AI can read itselfupload-media-file
Make an upload link for a file the chat can’t pass, like a video in Claude: you open it, drop the file, and the AI gets itcreate-media-upload-linkget-media-upload-link
Browse the media library and reuse what’s therelist-mediaget-media
Watch a video from a post link or the library: what’s said and shown, its hook and its key pointsanalyze-video
Delete a file from the librarydelete-media
Sort the library into folderslist-folderscreate-folderget-folderupdate-folderdelete-folder
Watching a video with AI needs a paid plan.
Comments and reviews
Read a post’s newest comments now, without waiting for the next scheduled readsync-comments-from-platforms
Read a post’s comments and their replieslist-commentsget-comment
Reply to a comment, or add one of your owncreate-comment
Edit or delete your commentsupdate-commentdelete-comment
Count the questions under a post nobody has answered yet, and the team threads waiting on youget-comment-summary
List the teammates you can @mention in a post’s team commentslist-post-people
Hide a comment, like spam, on Instagram, Facebook, Threads, X or YouTube, and keep it in PostSyncer. Facebook, Instagram and YouTube can show it again. LinkedIn, Bluesky and Mastodon can’t hide one: delete it insteadhide-comment
Read your Google Business Profile reviewssync-reviewslist-reviewsget-review
Reply to a review, change the reply or remove itreply-to-reviewdelete-review-reply
Review replies are public on Google, so the AI tool is told to use your words or ask you first. X comments are read on every plan.
Analytics
Totals across all your workspaces, for the dates you askget-analytics-summary
Totals for one workspace, with each account’s followersget-analytics-workspace
How one account is doing, post by postget-analytics-account
How one post did on each networkget-analytics-post
Read a post’s numbers again from the networkssync-post-analytics
On the Free plan, the summary, workspace and account numbers cover the last 7 days, and numbers are read once a day, so reading them again needs a paid plan.
Campaigns and labels
Group posts into a campaign, like a launch or a monthly themelist-campaignscreate-campaignget-campaignupdate-campaigndelete-campaign
Tag posts with labels, like Promo or Client Alist-labelscreate-labelget-labelupdate-labeldelete-label
Creating or changing campaigns and labels needs a paid plan.
Webhooks
Send signed events, like a post published or failed, to your own addresslist-webhooksget-webhookcreate-webhookupdate-webhookdelete-webhook
See what was sent to an address and whether it arrivedlist-webhook-deliveries
Send a test event to check an address workstest-webhook
Team
See who is on a workspace’s team, their roles, and who hasn’t accepted an invitation yetlist-team-members
Invite someone to the team by email, with a roleinvite-team-member
Change a teammate’s role, or send an invitation againupdate-team-member
Take someone off the team, or cancel an invitationremove-team-member
Inviting someone needs a paid plan.
Notifications
Read your notifications and mark them read, unread or donelist-notificationsupdate-notifications
See and change which events reach you, and whereget-notification-settingsupdate-notification-settings
Make a link to connect Slack, Discord or Telegram for alertscreate-notification-connect-link
Pick a Slack channel and the events it getslist-slack-channelscreate-notification-destination
Send a test message to a Slack, Discord or Telegram channeltest-notification-destination
Stop sending alerts to a channeldelete-notification-destination
Blog-to-social
See your blog feeds, their accounts and schedule, and the posts they madelist-blog-sources
Turn a blog’s new articles into posts, as drafts or on a schedulecreate-blog-source
Change a blog feed, or pause it and start it againupdate-blog-source
Delete a blog feed, keeping the posts it madedelete-blog-source
A feed’s posts are written with AI on paid plans.
Products
Save the products your posts promote, with a description, a link and hookslist-productscreate-productupdate-productdelete-product
Products need a paid plan.
Your profile and API keys
See your name and sign-in email, and change your nameget-profileupdate-profile
See your API keys and their permissions, and delete onelist-api-keysdelete-api-key
Delete tools are marked destructive, and PostSyncer tells Gemini CLI to check with you before using one.
FAQ
Gemini CLI and PostSyncer, answered
Still not sure? Our own team answers the live chat, on every plan.
Run gemini mcp add --transport http -s user postsyncer https://postsyncer.com/mcp in your terminal. Then start Gemini CLI, type /mcp auth postsyncer and approve PostSyncer in the browser that opens.
Is this the same as the Gemini app?
This page is about Gemini CLI, Google’s open-source agent for the terminal, which adds MCP servers like PostSyncer. For a chat app, PostSyncer has official plugins in ChatGPT and Claude.
Why does Gemini CLI ask before each tool?
It asks before any MCP tool runs unless you chose to always allow that tool or the server. Allowing the read tools saves clicks; leaving the tools that create or delete posts on ask means you see every change first.
Can I use an API key instead of signing in?
Yes, and it’s the way to go where no browser can open. Add --header "Authorization: Bearer YOUR_KEY" to the gemini mcp add command, with your key in place of YOUR_KEY. Make the key in PostSyncer under Settings, then API, with only the permissions you want Gemini CLI to have.
Is it free?
Gemini CLI works with every PostSyncer plan, including the free plan, with no card. On Free, analytics covers the last 7 days; longer reports, campaigns and labels are on paid plans.
Which networks can Gemini CLI post to?
All 12 PostSyncer supports, once you connect them: Instagram, TikTok, Facebook, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Google Business Profile, Mastodon and Telegram.
Using a different AI tool? PostSyncer works there too.