Windsurf + PostNinja

Schedule Social Media Posts from Windsurf

Let Cascade handle the announcement while you keep coding. Connect PostNinja and ask Cascade to draft posts for each platform, schedule them for the right time, and check how they went.

  • Connect once with an API key
  • Draft, schedule and publish by asking
  • 7 platforms: X, Instagram, TikTok, Facebook and more

Setup

How do I connect PostNinja to Windsurf?

  1. 1

    Create an API key

    In PostNinja, go to Settings → API and create a key. It starts with pn_ and is shown once, so copy it somewhere safe.

  2. 2

    Add PostNinja to Windsurf

    In the Cascade panel, open the … menu, go to MCPs and click the icon to open the MCP config file. Add PostNinja:

    mcp_config.json
    {
      "mcpServers": {
        "postninja": {
          "serverUrl": "https://postninja.app/api/mcp",
          "headers": { "Authorization": "Bearer ${env:POSTNINJA_API_KEY}" }
        }
      }
    }

    Windsurf uses "serverUrl" (not "url") for remote servers. Windsurf was renamed Devin Desktop in 2026; the setup is the same.

  3. 3

    Just ask

    Windsurf finds the PostNinja tools on its own. Try:

    • “Announce the new pricing page on X and Threads tomorrow at 9am.”
    • “Draft a week of tips about our product, one a day at noon, as drafts.”
    • “Reschedule tomorrow's post to 3pm.”

Tools

What can Windsurf do with PostNinja?

Write and schedule

Drafts posts, gives each platform its own text, and schedules them for any date and time.

Threads and Stories

Builds multi-post X threads and posts photos or videos as Instagram Stories.

Check what's planned

Lists upcoming posts, drafts and what went out, with links to the live posts.

Fix and reschedule

Moves, edits or deletes drafts and scheduled posts when plans change.

Add images

Uploads images to attach to posts. Larger files and video go through the REST API.

Spot failures

Reads each account's status and error, so it can tell you what didn't go out and why.

One connection, seven platforms

Connect your accounts in PostNinja once. From then on Windsurf can post to any of them, and PostNinja publishes at the time you set.

FAQ

Windsurf and PostNinja questions

Does Windsurf limit how many tools I can use?

Cascade has a limit of 100 tools across all MCP servers. PostNinja adds 7, so it fits alongside most setups.

Does Windsurf post without asking me?

That depends on Windsurf's own settings; most ask before each tool call. If you'd rather review everything, ask it to save posts as drafts, then schedule them from the PostNinja calendar.

Is my API key safe?

PostNinja only stores a hash of each key and shows its first characters so you can tell keys apart. A key works for one workspace, and you can revoke it any time under Settings → API.

Which platforms can Windsurf post to?

Every account you've connected: X, Instagram, Threads, Facebook Pages, TikTok, YouTube Shorts and Pinterest.

Do posts scheduled by an AI agent cost extra?

No. They're ordinary posts on your plan. As always, X posts use credits (10 each, 80 with a link) because X charges for every post; other platforms are unlimited.

Works with other AI agents too

Let Windsurf run your social media.

Connect Windsurf to PostNinja in a couple of minutes. Plans from $15 a month.