Qwen Code MCP server for social media

SocialKit runs an MCP server that Qwen Code adds with one command: qwen mcp add with the http transport and your personal key. From the terminal you can then write drafts from your project files, schedule posts on 11 social networks, and read how the published ones did.

Start my free trial

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

Scheduled · Thu 09:00, Thu 12:30

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

qwen mcp add --transport http socialkit 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
A personal key in one command. A sign-in window also works on your own computer, by the docs.
Your Qwen Code plan
No plan is named for MCP. Qwen Code is open source and runs on a Qwen Plus or Pro subscription or a provider key.
Where it works
The terminal, and the editors and desktop app that run Qwen Code.
Before it changes anything
It depends on the mode. In Auto, the default in trusted folders, a model decides. Ask Permissions asks you.

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

One command with a personal key

  • Personal key
  • From the app’s official docs

Saved for your user, in ~/.qwen/settings.json. Add --scope project for one project, but then keep the key out of git.

  1. Create a personal key in SocialKit (steps below).
  2. Run the command below with your key.
    bash
    qwen mcp add --transport http socialkit https://app.socialk.it/core/mcp --header "Authorization: Bearer YOUR_PERSONAL_KEY"
  3. Start qwen and type /mcp: socialkit should be connected.

By hand in settings.json

  • Personal key
  • From the app’s official docs

The same result as the command. The field is httpUrl: in Qwen Code, url means the older SSE transport.

  1. Open ~/.qwen/settings.json, or .qwen/settings.json in a project. Qwen Code asks you to approve a project server before it connects.
  2. Add the entry below and save. A running session picks it up. The excludeTools line is optional: it hides the tool that deletes posts.
    ~/.qwen/settings.json
    {
      "mcpServers": {
        "socialkit": {
          "httpUrl": "https://app.socialk.it/core/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_PERSONAL_KEY"
          },
          "excludeTools": ["delete-post-tool"]
        }
      }
    }
  3. Type /mcp to see the status.

With the sign-in window

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

On your own computer only: the browser comes back to localhost:7777. On a remote machine use the key.

  1. Run the command below, without a key.
    bash
    qwen mcp add --transport http socialkit https://app.socialk.it/core/mcp
  2. Start qwen, type /mcp, select socialkit and start the authentication.
  3. Sign in to SocialKit in the browser and click Allow access.

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 Qwen Code ask first

Whether Qwen Code asks depends on your settings. This makes it ask.

  1. Add an ask rule for SocialKit. It asks before each call, also in Auto mode.
    ~/.qwen/settings.json
    {
      "permissions": {
        "ask": ["mcp__socialkit"]
      }
    }
  2. For one session, switch to the mode Ask Permissions with /approval-mode default, or press Shift+Tab until the status bar shows it.
  3. Do not set trust: true on the server: in a trusted folder that skips the questions.

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 Qwen Code

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

What Qwen 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 Qwen Code side

  • url in an entry means SSE, which SocialKit does not offer. Use httpUrl, or --transport http in the command. Without it, the command takes the address for a local program.
  • In a folder you did not trust, the session skips all MCP servers.
  • With --bare or --safe-mode, servers from the settings file are ignored.
  • A remote server has 5 seconds to answer at start. Raise discoveryTimeoutMs if your network is slow.
  • After a lost connection, Qwen Code does not repeat a call that changes something. Check in SocialKit before you ask again.
  • Sign-in tokens are stored unencrypted in ~/.qwen/mcp-oauth-tokens.json unless you turn encryption on.
  • These steps are for the main version, not for the Qwen Code 1.0 Preview.

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.

Qwen 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. One qwen mcp add command connects it, and Qwen Code can then draft, schedule and read posts on 11 networks.

In Qwen Code, url stands for the older SSE transport, which SocialKit does not offer. Use httpUrl in settings.json, or --transport http in the command.

In Ask Permissions mode, yes. In Auto mode, the default in trusted folders, a model judges each MCP call and allows those it finds safe. An ask rule for mcp__socialkit makes it ask each time.

Yes. List them in excludeTools on the server, or list only the ones you want in includeTools. Names such as delete-post-tool go in as they are.

With a personal key, yes. The sign-in window comes back to localhost:7777 on the machine that runs Qwen Code, so on a remote machine it does not finish without extra setup.

In plain text in ~/.qwen/settings.json on your computer, as part of the header. Give the key an expiry date, do not commit the file, and delete the key in SocialKit when you stop using it.

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