Social Post Flow MCP Server
Schedule and publish social media posts to Facebook, X, LinkedIn, Instagram, Threads and more.
Social Post Flow scores 65 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Communication. GitHub shows 2 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "socialpostflow-socialpostflow-cli": { "url": "https://app.socialpostflow.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Social Post Flow CLI
Social media automation for AI agents — schedule posts across 12+ networks programmatically.
A zero-dependency Node.js CLI wrapper around the Social Post Flow API. Designed for use with AI agents (Claude Code, Cursor, Windsurf, Codex, OpenAI SDKs) and for shell scripting / CI workflows.
Supports: Facebook, X (Twitter), LinkedIn, Instagram (Feed + Stories), Threads, Pinterest, TikTok, Mastodon, Bluesky, Telegram, Google Business Profiles, and more.
Pick your install
| Using | Use this |
|---|---|
| Claude Code | The plugin (see Install as a Claude Code plugin below) — ships the MCP server pre-wired |
| Claude Desktop, ChatGPT Desktop | The MCP server (one-click connect, no setup) |
| Cursor, Codex, Warp, Cline, OpenCode, other agents | The skill (see Install as a skill below) |
| Shell scripts, CI/CD, your own tooling | The CLI (see Install as a CLI below) |
You can use the skill and the CLI together. The skill teaches the agent how to use Social Post Flow; the CLI is what the agent actually runs.
Install as a Claude Code plugin
The plugin bundles the MCP server config and a Claude-native skill in one install:
/plugin marketplace add socialpostflow/claude-marketplace
/plugin install socialpostflow@socialpostflow
Or, once approved in the community marketplace:
/plugin marketplace add anthropics/claude-plugins-community
/plugin install socialpostflow@claude-community
On first use, Claude Code opens a browser for you to sign in with your Social Post Flow account and approve access — no personal access token needed.
Note: If you install the plugin, don't also add the MCP server manually in Claude Desktop settings — you'll register the same endpoint twice. Pick one.
Install as a skill
Adds the Social Post Flow skill to your agent so it can compose and schedule posts in natural language. This is the CLI-driven skill (agent shells out to spf). Claude Code users should install the plugin above instead — it uses the MCP server, no CLI needed.
Single-command install (any agent that reads ~/.claude/skills/):
mkdir -p ~/.claude/skills/socialpostflow && \
curl -L https://raw.githubusercontent.com/socialpostflow/socialpostflow-cli/main/agent-skill/socialpostflow/SKILL.md \
-o ~/.claude/skills/socialpostflow/SKILL.md
Multi-agent install (Cursor, Codex, Warp, Cline, OpenCode, etc.):
npx skills add socialpostflow/socialpostflow-cli
When prompted, pick the agents you want to install for.
Then ask your agent things like:
"Post this text to my X and LinkedIn accounts."
"Schedule a Monday motivation post for 9am next week."
"Queue up these three blog promos across all my channels."
The agent learns from agent-skill/socialpostflow/SKILL.md, which documents the post types, scheduling model, and common workflows.
Install as a CLI
Globally via npm:
npm install -g socialpostflow-cli
Or run directly via npx without installing:
npx socialpostflow-cli --help
Or clone the repo and run the script directly (zero dependencies):
git clone https://github.com/socialpostflow/socialpostflow-cli.git
cd socialpostflow-cli
node scripts/socialpostflow.js --help
Requires Node.js 18 or later (for built-in fetch).
Authentication
You need a Social Post Flow account with API access. Grab your personal access token from your profile page, then:
spf setup --key spf_xxxxxxxxxxxxxxxx
This verifies the token against the API and saves it to ~/.socialpostflow/credentials.json (chmod 600).
Alternatively, set the environment variable:
export SOCIALPOSTFLOW_API_TOKEN=spf_xxxxxxxxxxxxxxxx
Quick start
# List your connected social profiles
spf profiles
# Post to one profile, immediately
spf post -c "Hello world!" -i 42
# Post to multiple profiles
spf post -c "Big announcement coming soon" -i 42,87,103
# Schedule for a specific time
spf post -c "Happy Monday!" -i 42 --schedule-type scheduled -s "2026-07-20T09:00:00Z"
# Add to the user's queue (uses their configured queue interval)
spf post -c "Quick tip..." -i 42 --schedule-type queue_end
# List recent posts
spf posts --status posted --order-by posted_at --order desc
# Delete a scheduled post
spf delete 12345
Commands
| Command | Description |
|---|---|
spf setup --key <token> | Verify and store a personal access token. |
spf whoami | Show the authenticated user's profile, subscription state, and stats. |
spf profiles [--post-type T] | List connected social profiles. Optionally filter by post type. |
spf posts [--status S] [--profile-id N] | List posts. Filter by status or profile. |
spf post -c "..." -i id1,id2 [options] | Create a post (see options below). |
spf show <post-id> | Show details of a single post. |
spf delete <post-id> | Delete a post. Stops it publishing if scheduled. |
spf post options
| Flag | Description |
|---|---|
-c, --content | Post text. Required unless --type story. |
-i, --profile-ids | Comma-separated profile IDs (required). |
-t, --type | Post type: text (default), link, image, story, pin, tiktok, google. |
-m, --media | Comma-separated public image/video URLs. |
-u, --url | URL to attach (required for --type link). |
--first-comment | First-comment text. Not supported on Mastodon, TikTok, Telegram, Google. |
--schedule-type | immediate (default), queue_end, queue_start, scheduled. |
-s, --scheduled-at | ISO 8601 timestamp (required when --schedule-type=scheduled, must be in future). |
See agent-skill/socialpostflow/SKILL.md for the full post-type rules (what each type requires and forbids).
All output is JSON
Every command writes JSON to stdout. Errors write JSON to stderr with a non-zero exit code:
PROFILES=$(spf profiles)
TWITTER_ID=$(echo "$PROFILES" | jq -r '.data[] | select(.provider=="x") | .id')
spf post -c "Hello from a shell script" -i "$TWITTER_ID"
Environment variables
| Variable | Default | Description |
|---|---|---|
SOCIALPOSTFLOW_API_TOKEN | — | Your API token. Alternative to spf setup. |
SOCIALPOSTFLOW_API_URL | https://app.socialpostflow.com/api | Override the API base URL (useful for testing). |
Examples
See examples/ for shell scripts demonstrating common workflows:
post-everywhere.sh— post the same content to all connected text-capable profilesschedule-week.sh— schedule a week's worth of posts using the queuegithub-actions.yml— publish a blog post announcement from a GitHub Action
Troubleshooting
"Not authenticated" — Run spf setup --key <token> or set SOCIALPOSTFLOW_API_TOKEN.
"HTTP 401 from API" — Your token is invalid. Get a valid token from https://app.socialpostflow.com/profile.
"HTTP 422 from API" — Validation error. The details payload tells you which field failed. Common causes: invalid post_type/schedule_type combination, scheduled time in the past, missing required media_urls for image/story/pin/tiktok posts.
"HTTP 429 from API" — Daily post limit reached for that profile. The user needs to wait or upgrade their plan.
License
MIT — see LICENSE.
Links
- Social Post Flow: socialpostflow.com
- API documentation: socialpostflow.com/documentation/api
- MCP documentation: socialpostflow.com/documentation/mcp
- WordPress Plugin: wordpress.org/plugins/social-post-flow
- Issues / feedback: github.com/socialpostflow/socialpostflow-cli/issues
Frequently asked questions
What is Social Post Flow MCP Server?
Schedule and publish social media posts to Facebook, X, LinkedIn, Instagram, Threads and more.
How do I install Social Post Flow MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Social Post Flow MCP Server connects to the remote endpoint https://app.socialpostflow.com/mcp, so there is nothing to install locally.
Is Social Post Flow MCP Server free and open source?
Yes. Social Post Flow MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Social Post Flow MCP Server support remote (HTTP) connections?
Yes. Social Post Flow MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Social Post Flow MCP Server's trust score calculated?
Social Post Flow MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.