Pi coding agent MCP server for social media

SocialKit runs an MCP server that the Pi coding agent can use with its own MCP support, with no adapter. Two commands add it and sign you in. Pi can then draft, schedule and check posts on 11 social networks and read your analytics. Steps for Oh My Pi, the fork started with omp, are here too.

Start my free trial

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

Scheduled · Thu 09:00, Thu 12:30

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

pi mcp add socialkit --url https://app.socialk.it/core/mcp

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
You sign in to SocialKit in the browser and allow access. A personal key in a variable works too.
Your Pi plan
None. Pi and Oh My Pi are open source. You bring the AI model.
Where it works
In the terminal of your computer or server.
Before it changes anything
No. Pi does not ask before tool calls, and neither does Oh My Pi by default. A small extension, or a setting in Oh My Pi, makes them ask.

Connect Pi 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

Pi with sign-in

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

Needs Pi 0.99 or newer (29 September 2026). Older versions have no MCP support of their own.

  1. Add the server. It is saved in ~/.pi/agent/mcp.json and works in all projects.
    bash
    pi mcp add socialkit --url https://app.socialk.it/core/mcp
  2. Start the sign-in. Sign in to SocialKit in the browser and click Allow access.
    bash
    pi mcp login socialkit
  3. Check it. Pi connects and prints the state, the tools and any error. In an open session, run /reload.
    bash
    pi mcp list

Pi with a personal key

  • Personal key
  • From the app’s official docs

For servers and scripts. The file keeps the name of the variable, not the key.

  1. Create a personal key in SocialKit. The steps are in the box below.
  2. Put it in a variable of your shell.
    bash
    export SOCIALKIT_KEY="YOUR_PERSONAL_KEY"
  3. Add the server with the name of that variable, then run pi mcp list.
    bash
    pi mcp add socialkit --url https://app.socialk.it/core/mcp \
      --bearer-token-env-var SOCIALKIT_KEY

Oh My Pi (omp)

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

Oh My Pi registers under the name Codex, so SocialKit shows Codex when you sign in and in Connected apps. SocialKit also says that the app registered itself.

  1. Run /mcp add inside omp, or put the server in the config file.
    ~/.omp/agent/mcp.json
    {
      "mcpServers": {
        "socialkit": {
          "type": "http",
          "url": "https://app.socialk.it/core/mcp"
        }
      }
    }
  2. Run /mcp reload, then /mcp reauth socialkit.
  3. Sign in to SocialKit in the browser and click Allow access.
  4. Run /mcp test socialkit.

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 Pi ask first

By default Pi runs tools without asking you. This makes it ask.

  1. Pi: save this extension. It lets the SocialKit tools that only read pass, and asks you about the others.
    ~/.pi/agent/extensions/ask-socialkit.js
    export default function (pi) {
      pi.on("tool_call", async (event, ctx) => {
        if (!event.toolName.startsWith("mcp__socialkit__")) return;
        const tool = pi.getAllTools().find((t) => t.name === event.toolName);
        if (tool?.annotations?.readOnlyHint) return;
        const details = JSON.stringify(event.input, null, 2);
        if (!(await ctx.ui.confirm(`Run ${event.toolName}?`, details))) {
          return { block: true, reason: "Not approved" };
        }
      });
    }
  2. Run /reload in Pi. Where Pi cannot ask, as with pi -p, the change is blocked.
  3. Oh My Pi: set the approval mode in its config. It then asks for every MCP tool, also the ones that only read.
    ~/.omp/agent/config.yml
    tools:
      approvalMode: always-ask

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.

Prompts to copy into Pi

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

What Pi 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 Pi side

  • By default Pi calls MCP tools from scripts (codemode), and the model does not see the tool list. Add --exposure direct to pi mcp add to show the tools to the model.
  • A request to the server may take 60 seconds (timeout in mcp.json).
  • If the extension pi-mcp-adapter is installed, it replaces the MCP support of Pi and mcp.json is not read.
  • A project file .pi/mcp.json is read only after you trust the project.
  • Results over 20 KB reach the model shortened. The full text is in a temporary file.
  • Oh My Pi also loads servers from the config of Claude Code, Codex, Cursor, Windsurf, OpenCode and others. Run /mcp list to see where SocialKit comes from.

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.

Pi and SocialKit: common questions

Start my free trial

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

Yes, since version 0.99 of 29 September 2026. Older articles that say Pi has no MCP are out of date. You do not need an adapter for SocialKit.

Run pi mcp add socialkit --url https://app.socialk.it/core/mcp, then pi mcp login socialkit. Run pi mcp list to see if it is connected. In an open session, run /reload.

In ~/.pi/agent/mcp.json for all projects and in .pi/mcp.json for one project. Entries go under mcpServers, as in Claude Code or Cursor, so you can copy one from there.

Pi has no approval step of its own. Save the extension from this page: it asks before every SocialKit tool that changes something. You can also sign in with a SocialKit member who cannot approve posts.

Oh My Pi registers itself under that name. If you started the sign-in from omp, it is the right window. You can disconnect it in SocialKit under Profile, Connected apps.

Run pi mcp list and read the state. If it needs a sign-in, run pi mcp login socialkit. If it is connected, name SocialKit in your request, because by default Pi finds the tools by search. Check also that pi-mcp-adapter is not installed.

Yes. Open the sign-in page in your browser, allow access, then copy the address of the last page and paste it in the sign-in screen of Pi.

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