Kimi Code MCP server for social media

SocialKit runs an MCP server that Kimi Code, the successor of Kimi CLI, reads from its mcp.json file. Put your key in an environment variable or sign in with /mcp-config login. Kimi can then draft, schedule and check posts on 11 social networks and read your analytics.

Start my free trial

7-day free trial · cancel anytime · 7-day money-back guarantee

Scheduled · Thu 09:00, Thu 12:30

Kimi CodeSocialKit connected
CHANGELOG.md
  1. ## 2.4.0
  2. Book a table online
  3. Pick indoor or terrace
  4. Reminder the day before

kimi

Draft a launch post for X and LinkedIn from CHANGELOG.md, then queue it.

  1. Read CHANGELOG.md3 changes
  2. list-accounts-toolauthorized_only: trueX, LinkedIn
  3. create-post-toolaccount_ids: [12, 18],schedule: "draft"Draft saved, 2 versions
  4. add-post-to-queue-tooluuid: "7c1e4f0a…"Next free slots taken
Fern & FigScheduled

Table booking is now online. Pick indoor or terrace, and we remind you the day before 🍕

Thu 12:30
Posting times
  1. Tue 18:00We are hiring a sous chef
  2. Thu 09:00Online booking is live at Fern & Fig. Guests choose indoor or terrace themselves and get a reminder the day before, so fewer tables stay empty. Thank you to everyone who asked for it.
  3. Thu 12:30Table booking is now online. Pick indoor or terrace, and we remind you the day before 🍕
Sign-in
A personal key in an environment variable, or a SocialKit sign-in window with /mcp-config login.
Your Kimi Code plan
No plan is named for MCP. You log in with Kimi Code or with a Moonshot AI Open Platform key.
Where it works
The terminal, the desktop app, and editors such as Zed and JetBrains that run Kimi Code.
Before it changes anything
Yes in Always Ask, the default mode. In Ask When Needed and Never Ask it does not ask.

Connect Kimi Code to SocialKit

You need a SocialKit account (any plan, or the 7-day free trial) and the server address below.

SocialKit MCP server URL

https://app.socialk.it/core/mcp

With a personal key

  • Personal key
  • From the app’s official docs

The key stays in your shell and not in the file. The file below is for all your projects.

  1. Create a personal key in SocialKit (steps below) and save it in an environment variable.
    bash
    export SOCIALKIT_KEY="YOUR_PERSONAL_KEY"
  2. Add the entry below to ~/.kimi-code/mcp.json. An entry with url and no transport is an HTTP server.
    ~/.kimi-code/mcp.json
    {
      "mcpServers": {
        "socialkit": {
          "url": "https://app.socialk.it/core/mcp",
          "bearerTokenEnvVar": "SOCIALKIT_KEY"
        }
      }
    }
  3. Start a new session with kimi: servers added later join new sessions only.
  4. Type /mcp to see the status of socialkit.

With the sign-in window

  • Sign-in window, no key
  • From the app’s official docs

You can also type /mcp-config and add the server in a chat, without editing the file.

  1. Add the entry below to ~/.kimi-code/mcp.json, or let /mcp-config add it.
    ~/.kimi-code/mcp.json
    {
      "mcpServers": {
        "socialkit": {
          "url": "https://app.socialk.it/core/mcp"
        }
      }
    }
  2. In a new session, run /mcp-config login socialkit.
    text
    /mcp-config login socialkit
  3. Sign in to SocialKit in the browser and click Allow access.
  4. Type /mcp to see the status.

Create a personal key

Only for the ways above that use a key.

  1. In SocialKit, open the user menu and choose API.
  2. Create a personal key: give it a name and an expiry date. SocialKit asks for your password.
  3. Copy the key right away. You will not see it again.

The key acts as you, so treat it like a password. You can rotate or delete it on the same page.

Have Kimi Code ask first

By default Kimi Code asks before important changes. This is what you see and what you can set.

  1. Keep the mode Always Ask, which is the default for new sessions. The line below sets it in the config file.
    ~/.kimi-code/config.toml
    default_permission_mode = "manual"
  2. Do not turn on Ask When Needed (/yolo) or Never Ask (/auto) while you work with SocialKit: both run MCP tools without a question.
  3. For a tool it must never run, add a deny rule as below.
    ~/.kimi-code/config.toml
    [[permission.rules]]
    decision = "deny"
    pattern = "mcp__socialkit__delete-post-tool"

As a second lock, sign in with a SocialKit member who cannot approve: every post the app schedules then waits as Needs approval. That member can still change or delete posts that are already scheduled, so let the app ask before it uses the update and delete tools.

Check that it works

Ask this first. It only reads, so nothing changes in your account.

List my SocialKit workspaces.

If your workspaces come back, the connection works.

Official docs

Checked against the official docs on

Prompts to copy into Kimi Code

Ask in plain words. Under each request: the SocialKit tools it uses.

What Kimi Code can do in SocialKit

32 tools: 16 only read, 14 change something, 2 remove something. They are included in every plan.

Posts 9Reads 2 · Changes 5 · Removes 2
  • list-posts-toolReads

    Finds posts by status, account, tag, word or date.

  • get-post-toolReads

    Opens one post: its versions, live links and publishing errors.

  • create-post-toolChanges

    Creates a post with one version per account: draft, now, at a time, or queued.

  • update-post-toolChanges

    Changes the text, accounts, tags or versions of a post.

  • update-post-version-toolChanges

    Changes the version of one account.

  • delete-post-version-toolRemoves

    Removes the version of one account.

  • duplicate-post-toolChanges

    Copies a post as a draft.

  • delete-post-toolRemoves

    Moves a post to the trash; on request deletes it for good, or on the networks too.

  • restore-post-toolChanges

    Brings a post back from the trash as a draft.

Workspaces and accounts 5Reads 4 · Changes 1
  • list-workspaces-toolReads

    Lists your workspaces and your role in each.

  • get-workspace-toolReads

    Opens one workspace: your role, your right to approve, its counts.

  • list-accounts-toolReads

    Lists the connected accounts and what each one can do.

  • get-account-toolReads

    Shows one account in detail.

  • run-account-action-toolChanges

    Lists or creates Pinterest boards.

Tags 6Reads 2 · Changes 4
  • list-tags-toolReads

    Lists your tags.

  • get-tag-toolReads

    Shows one tag.

  • create-tag-toolChanges

    Creates a tag with a name and a color.

  • update-tag-toolChanges

    Changes the name or color of a tag.

  • attach-tags-to-post-toolChanges

    Puts tags on a post.

  • detach-tags-from-post-toolChanges

    Takes tags off a post.

Scheduling and best times 4Reads 1 · Changes 3
  • schedule-post-toolChanges

    Schedules a post, or publishes it now.

  • unschedule-post-toolChanges

    Turns a scheduled post back into a draft.

  • add-post-to-queue-toolChanges

    Puts a post in the next free slot of your posting schedule.

  • get-best-posting-times-toolReads

    Gives the best weekday and hour, and the next good slots in 14 days.

Media and mentions 5Reads 4 · Changes 1
  • list-media-toolReads

    Lists the images, GIFs and videos of your media library.

  • get-media-toolReads

    Shows one file.

  • upload-media-by-url-toolChanges

    Adds an image, GIF or video from a public link.

  • get-media-upload-status-toolReads

    Tells whether a large file has finished loading.

  • list-mentions-toolReads

    Finds the people and pages you can @mention.

Analytics 3Reads 3
  • get-analytics-summary-toolReads

    Gives the whole workspace: followers, growth and posts.

  • get-account-analytics-toolReads

    Gives one account: overview, engagement, audience, reach and what its network reports.

  • get-post-analytics-toolReads

    Gives one post: views, likes, comments and shares per account.

What it cannot do

  • Approve a post. A person who can approve does that in SocialKit.
  • Read or answer comments, mentions and reviews in your inbox.
  • Use the AI writer or the AI images of SocialKit. The app you connect writes the text itself.
  • Take a file from the chat. Media comes from a public link or from your media library.
  • Connect a social account or change your posting schedule.
  • Create reports, delete tags or files, or retry a post that failed.

Limits on the Kimi Code side

  • A server you add while a session is open joins new sessions only.
  • Servers in a project’s .kimi-code/mcp.json work after you trust that project. kimi -p cannot show that question, so they stay off there.
  • In Ask When Needed mode, MCP tool calls are approved by themselves.
  • Connecting may take 30 seconds. startupTimeoutMs changes it.
  • If a static key is refused, Kimi Code does not try again: the server stays failed until you fix the key.
  • A file or video you give to Kimi does not reach SocialKit. Give a public link for the media.

Your team’s rules still apply

The assistant signs in as you and acts with your role in each workspace. It only sees the workspaces you belong to.

Admin or Member with Can Approve on
Creates, schedules and publishes posts, the same as you can in the app.
Admin or Member with Can Approve off
The assistant can write and schedule, but every post it schedules waits as Needs approval until someone who can approve it does.
Viewer
Read only: posts, accounts and analytics. Any change it tries is refused.

Publishes to

Including Bluesky, Threads, Mastodon and Google Business, the networks many schedulers still leave out.

Run it from

See all apps

Let the AI app or automation tool you already use write, schedule and check your posts.

Kimi Code and SocialKit: common questions

Start my free trial

7-day free trial · cancel anytime · 7-day money-back guarantee

Yes. SocialKit runs one at https://app.socialk.it/core/mcp, and Kimi Code connects to it with one entry in mcp.json. Kimi can then draft, schedule and read posts on 11 networks.

Use Kimi Code. The old Kimi CLI in Python is archived and gets no more updates. Kimi Code offers to copy your settings and MCP servers the first time you run it, or with kimi migrate. Sign-ins are not copied, so sign in to SocialKit again.

These steps are for Kimi Code, the agent for the terminal, desktop and editors. The docs on this page do not cover the Kimi chat.

We found none in the Kimi Code docs. You edit mcp.json, or type /mcp-config in a session and add the server in a chat.

In Always Ask, the default mode, yes: every call that no rule covers asks first. You can answer Approve for this session. In Ask When Needed and Never Ask, MCP calls run without a question.

Yes, with .kimi-code/mcp.json in the repository and bearerTokenEnvVar: the file names the variable and each person keeps their own key. Each key acts with the role of its owner in SocialKit.

Your next week of posts, scheduled by lunch.

Start your 7-day free trial and see your whole week on one calendar.

Start my free trial

7-day free trial · cancel anytime · 7-day money-back guarantee