Skip to content
Our docs: PostSyncer in Kimi Code (opens in a new tab)

Write and schedule posts in Kimi Code

Kimi Code, Moonshot AI’s coding agent, picks up MCP servers from a small JSON file. Put PostSyncer in it and sign in once, and Kimi’s K3 models can turn the changes in your repo into posts for the 14 networks you connect.

~/.kimi-code/mcp.json
{"mcpServers":{"postsyncer":{"url":"https://postsyncer.com/mcp"}}}

Free plan: 2 accounts, 20 posts a month, no card

  • Cancel anytime
  • Unlimited posts on paid plans

Example: after updating a coffee roaster’s winter menu file, a developer asks Kimi Code to announce the three new items on Threads, Bluesky and Google Business Profile for Monday at 7:30. Kimi Code reads menu/winter.json, looks up the workspace and its accounts in PostSyncer, and schedules the post, which then sits on Monday in the calendar.

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 Kimi Code uses for it.

Post
“Read menu/winter.json and post the three new items to Threads, Bluesky and our Google Business Profile on Monday at 7:30.”
list-accountscreate-post
Post
“Read our brand voice first, then turn content/faq.md into five short posts and keep them as drafts.”
get-brandlist-accountscreate-post
Post
“Upload assets/cardamom-bun.jpg and put it on Tuesday’s Instagram post.”
upload-media-filelist-postsupdate-post
Plan
“Save our sign-off, “See you at the bar”, as a snippet we can end posts with.”
create-snippet
Plan
“Write the next ten days of scheduled posts to docs/social-plan.md as a table: day, time, network, first line.”
list-posts
Reply
“On Saturday’s giveaway post, remove comments that contain links.”
update-post-comment-moderation
Connect
“Create a connect link so the roastery manager can add our Mastodon account.”
create-account-connect-link
Report
“Compare October and November on Instagram: reach, saves and the best hour to post.”
get-analytics-account

Set up with your AI agent

Paste this prompt into Kimi Code. 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 Kimi Code in three steps

Kimi Code reads MCP servers from mcp.json: yours in ~/.kimi-code, or a project’s own in .kimi-code. Add PostSyncer to yours, then sign in from inside a session.

  1. Put PostSyncer in mcp.json

    Open ~/.kimi-code/mcp.json, or create it, and add this. If it already lists servers, add only the postsyncer entry inside mcpServers. You can also type /mcp-config in Kimi Code and add it there. Either way, it applies to sessions you start afterwards.

    mcp.json
    {"mcpServers":{"postsyncer":{"url":"https://postsyncer.com/mcp"}}}
  2. Sign in with /mcp-config login

    In a new Kimi Code session, type this and approve PostSyncer in the browser that opens.

    In Kimi Code
    /mcp-config login postsyncer

    PostSyncer

    Authorize Kimi Code

    Manage your PostSyncer content through the MCP server

    AllowCancel
  3. Look at /mcp

    Type /mcp to see whether postsyncer is connected. Once it is, ask Kimi Code for a post.

Then try it

“Show my PostSyncer accounts, then turn the latest commit in this repo into a draft post for Threads.”

Running kimi -p in CI?

A job in CI has no browser for the sign-in. Give the entry bearerTokenEnvVar instead, naming an environment variable that holds a PostSyncer key, and set that variable in the job. Make the key in PostSyncer’s Settings, under API, with only the permissions the job needs.

mcp.json
{"mcpServers":{"postsyncer":{"url":"https://postsyncer.com/mcp","bearerTokenEnvVar":"POSTSYNCER_API_KEY"}}}

The entry has only a url, so Kimi Code treats PostSyncer as an HTTP server at https://postsyncer.com/mcp. The sign-in is OAuth in your browser, and no key goes in the file.

PostSyncer MCP address
https://postsyncer.com/mcp

No social accounts connected to PostSyncer yet? Ask Kimi Code for a connect link and finish the login on each network’s page.

Kimi Code and PostSyncer

What to know about Kimi Code

The Kimi plan it needs

Kimi Code comes with a Kimi membership. On the current plans, Plus and above include it, and the Go tier has no coding quota. Plus and above also get K3.1 Pro and K3. Requests from the terminal, the VS Code extension and the desktop app all count toward the same quota.

Yours, or the repo’s

The mcp.json in ~/.kimi-code works in every project. A repo can carry its own in .kimi-code/mcp.json, and an entry there replaces a same-named one of yours. Kimi Code loads a repo’s servers only after you trust that folder, and kimi -p in CI leaves them off in a folder nobody trusted.

Approvals by tool name

Inside Kimi Code, PostSyncer’s tools are named mcp__postsyncer__ and then the tool, as in mcp__postsyncer__create-post. A call no rule covers asks you first, and Approve for this session lets the same kind through until the session ends. Lasting rules go in config.toml under [[permission.rules]].

  • Allow the reading tools, such as mcp__postsyncer__list-posts
  • Keep mcp__postsyncer__delete-post asking
  • Ask When Needed mode lets every MCP call through, PostSyncer’s included

The PostSyncer skill

Kimi Code loads skills from ~/.kimi-code/skills/ and ~/.agents/skills/. The PostSyncer skill is the skills/postsyncer folder of our PostSyncer/claude-plugin repository on GitHub. Copy that folder into either place and start a new session; it teaches Kimi Code how to write and schedule posts well with PostSyncer’s tools.

What it can do

What PostSyncer offers Kimi Code

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
  • Send a waiting post back to its writer, with what to changereject-post
  • Email a post waiting for your client’s sign-off to them now (rolling out)send-post-to-client
  • Send a post back to your client once you made the changes they asked forsend-post-back-to-client
  • Send a changed post back for your team’s check (rolling out)send-post-back-for-team-check
  • Change who checks or signs off a waiting post, or take it back to a draft (rolling out)change-post-reviewerswithdraw-approval-request
  • Approve a post for someone who said yes another way, or post it now, with your reasonoverride-approval
  • 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 and their post defaults, a Pinterest account’s boards and a YouTube channel’s playlistslist-accountsget-account
  • Set an account’s post defaults: the settings every new post on it starts from, like TikTok privacy, YouTube Shorts or hashtagsupdate-account-defaults
  • See the sections of a Pinterest board, to put a Pin in onelist-pinterest-board-sections
  • See the Slack channels a post can go to, so it lands in the right onelist-slack-posting-channels
  • See the Discord channels a post can go to, and the tags a forum takeslist-discord-channels
  • Make a link where you or a client connect accounts, one or several platforms: no PostSyncer login, good for 7 dayscreate-account-connect-link
  • See the connect links you sent and whether they were used, and take one backlist-account-connect-linksrevoke-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
  • Describe a picture for people who can’t see it: its alt text goes out with every post that uses itupdate-media-alt-text
  • 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
  • Resolve a comment thread on a post, or open it againresolve-comment
  • Accept a suggested edit into the post’s words, or dismiss itaccept-comment-suggestiondismiss-comment-suggestion
  • List the teammates you can @mention in a post’s team commentslist-post-people
  • Hide a comment, like spam, on Instagram, Facebook, Threads, X, YouTube or TikTok, and keep it in PostSyncer. Facebook, Instagram, YouTube and TikTok 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
  • See and add the clients who sign your posts off from a link, with no login (rolling out)list-client-reviewersadd-client-reviewer
  • Turn a client’s review link off or on, or remove the clientupdate-client-reviewerremove-client-reviewer
  • Email a client their review link againresend-client-review-link

Inviting someone and adding a client reviewer need 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 Kimi Code to check with you before using one.

FAQ

Kimi Code and PostSyncer, answered

Still not sure? Our own team answers the live chat, on every plan.

Chat with us

How do I connect PostSyncer to Kimi Code?

Add PostSyncer to ~/.kimi-code/mcp.json as {"mcpServers":{"postsyncer":{"url":"https://postsyncer.com/mcp"}}}. Start a new session, type /mcp-config login postsyncer and approve it in your browser. /mcp then shows it connected.

Does this work with Kimi K3?

Yes. Kimi’s Plus plan and above include K3.1 Pro and K3 in Kimi Code, and either one calls PostSyncer’s tools once the server is in mcp.json.

Which Kimi membership do I need?

Plus or above. Kimi’s own docs say the Go tier has no coding quota, so Kimi Code isn’t on it. Legacy plans from Andante up include Kimi Code too.

Can Kimi Code use a PostSyncer API key?

Yes, in either of two ways: bearerTokenEnvVar, naming an environment variable that holds the key, or a headers object with Authorization set to Bearer and the key. Both replace the browser sign-in. Keep keys in your own ~/.kimi-code/mcp.json, never in a repo’s .kimi-code/mcp.json.

Is PostSyncer free with Kimi Code?

PostSyncer’s free plan includes the MCP server, so connecting costs nothing on our side and needs no card. Campaigns, labels and analytics beyond the last 7 days are on paid plans. Kimi Code itself needs a Kimi membership of Plus or above.

Which networks can Kimi Code post to?

PostSyncer’s 14, each once you’ve connected it: Instagram, TikTok, Facebook, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Google Business Profile, Mastodon, Telegram, Slack and Discord.

Change the menu, then tell people.

Start free, add one entry to mcp.json, and ask Kimi Code for the post.

  • No card for free
  • Cancel anytime
  • Unlimited posts on paid plans