Social Post Flow

com.socialpostflow由 socialpostflow.com 发布官方发布者v1.0.0更新于 Oct 30, 2026

Schedule and publish social media posts to Facebook, X, LinkedIn, Instagram, Threads and more.

已验证Streamable HTTP可网页运行效率与工作流沟通与协作

概览

AI 生成的概览

远程 MCP 服务器,让助手在 Facebook、X、LinkedIn、Instagram、Threads 等平台排期并发布社交媒体帖子。

可以做什么
  • 创建文字、链接、图片、Story、Pin 或 TikTok/Google 等类型的帖子,可同时指定多个已连接账号
  • 按立即发布、指定未来时间、或加入队列开头/末尾的方式排期
  • 列出已连接的社交账号,并按帖子类型筛选
  • 列出、查看和删除帖子,包括在发布前取消已排期的帖子
  • 查看已认证账号的资料、订阅状态和统计数据
适用场景
适合让助手在对话中起草、排队并跨多个平台发布社交内容,或无需打开网页应用即可管理已有的排期帖子。
运行要求
通过 streamable HTTP 连接的远程端点,使用 OAuth 登录;需要一个具备 API 访问权限的 Social Post Flow 账号。配套 CLI(MCP 服务器本身不需要)需 Node.js 18 或更高版本,以及个人访问令牌,可通过 SOCIALPOSTFLOW_API_TOKEN 环境变量提供或由其 setup 命令保存。
安装前请注意
该服务器会向已连接的社交账号公开发布内容,并可删除帖子,确认前请核对草稿与排期。它需要 OAuth 授权访问用户的 Social Post Flow 账号,帖子内容和媒体链接会发送给该第三方服务并进一步传给目标平台。每个账号有每日发帖上限,可能需要升级套餐。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Social Post Flow,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.socialpostflow%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "social-post-flow": {
      "type": "http",
      "url": "https://app.socialpostflow.com/mcp"
    }
  }
}

README

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

UsingUse this
Claude CodeThe plugin (see Install as a Claude Code plugin below) — ships the MCP server pre-wired
Claude Desktop, ChatGPT DesktopThe MCP server (one-click connect, no setup)
Cursor, Codex, Warp, Cline, OpenCode, other agentsThe skill (see Install as a skill below)
Shell scripts, CI/CD, your own toolingThe 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/):

bash
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.):

bash
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:

bash
npm install -g socialpostflow-cli

Or run directly via npx without installing:

bash
npx socialpostflow-cli --help

Or clone the repo and run the script directly (zero dependencies):

bash
git clone https://github.com/socialpostflow/socialpostflow-cli.gitcd socialpostflow-clinode 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:

bash
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:

bash
export SOCIALPOSTFLOW_API_TOKEN=spf_xxxxxxxxxxxxxxxx

Quick start

bash
# List your connected social profilesspf profiles
# Post to one profile, immediatelyspf post -c "Hello world!" -i 42
# Post to multiple profilesspf post -c "Big announcement coming soon" -i 42,87,103
# Schedule for a specific timespf 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 postsspf posts --status posted --order-by posted_at --order desc
# Delete a scheduled postspf delete 12345

Commands

CommandDescription
spf setup --key <token>Verify and store a personal access token.
spf whoamiShow 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

FlagDescription
-c, --contentPost text. Required unless --type story.
-i, --profile-idsComma-separated profile IDs (required).
-t, --typePost type: text (default), link, image, story, pin, tiktok, google.
-m, --mediaComma-separated public image/video URLs.
-u, --urlURL to attach (required for --type link).
--first-commentFirst-comment text. Not supported on Mastodon, TikTok, Telegram, Google.
--schedule-typeimmediate (default), queue_end, queue_start, scheduled.
-s, --scheduled-atISO 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:

bash
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

VariableDefaultDescription
SOCIALPOSTFLOW_API_TOKEN—Your API token. Alternative to spf setup.
SOCIALPOSTFLOW_API_URLhttps://app.socialpostflow.com/apiOverride the API base URL (useful for testing).

Examples

See examples/ for shell scripts demonstrating common workflows:

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

来源:README.md,提交 1781c3b

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Oct 30, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分