Postbase

io.github.postbasehqv0.1.1更新于 Oct 6, 2026

Schedule social posts and threads to X, LinkedIn, Bluesky and Mastodon from your AI.

已验证Streamable HTTP可网页运行Productivity & WorkflowCommunication & Collaboration

概览

AI 生成的概览

让助手通过 Postbase 起草并定时发布到 X、LinkedIn、Bluesky 和 Mastodon 的社交帖子和长推文串。

功能
把助手连接到开源社交媒体定时发布工具 Postbase。工具包括 list_channels 查看已连接账号、create_post 创建帖子或草稿并可指定定时时间、schedule_thread 创建 X 长推文串、list_scheduled 查看已排期帖子,以及 cancel_post 按 id 取消帖子。TikTok 和 YouTube 因需要视频而不支持。
适用场景
适合希望助手在不打开排期工具的情况下,跨多个平台起草、排队或取消社交帖子和 X 长推文串的场景。若你已在使用 Postbase,或愿意自行部署或登录,则更合适。
运行要求
可使用带 OAuth 登录的托管远程端点,或通过 npx 在本地用 Node.js 运行 npm 包 @postbasehq/mcp。本地包需要在 POSTBASE_API_KEY 中提供 API 密钥,可在 Postbase 面板的 Developers 处创建。POSTBASE_API_URL 为可选,用于指向自托管实例。需要能访问 Postbase 的网络。
安装前请注意
本地包需要密钥 POSTBASE_API_KEY,它可访问你的 Postbase 工作区。相关工具能创建、排期和取消帖子,助手因此可能发布或删除已连接账号上的内容;排期前请先检查草稿。托管方式改用 OAuth 登录而非 API 密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Postbase,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "postbase": {
      "type": "http",
      "url": "https://mcp.postbase.so/mcp"
    }
  }
}

README

@postbasehq/mcp

[CI] [npm version] [npm downloads] [license] [Node]

The Model Context Protocol server for Postbase, the open-source social media scheduler. Add it to Claude, Cursor or any MCP client and let your AI agent draft and schedule posts and threads to X, LinkedIn, Bluesky and Mastodon. (TikTok and YouTube need a video, so schedule those in the app.)

Post everywhere. Even from your AI.

Hosted server (no API key)

Postbase also runs this server for you at https://mcp.postbase.so/mcp, with OAuth sign-in instead of an API key. Add that URL as a custom connector in Claude or ChatGPT, or as a remote MCP server in Cursor, VS Code, Windsurf, Claude Code or Gemini CLI. The MCP config generator prints the exact setup for each one.

Use this npm package when you want an API key instead, or a self-hosted Postbase.

Quick start

  1. Create an API key in your Postbase dashboard under Developers.
  2. Add the server to your MCP client config (see examples below).
  3. Ask your agent: "Schedule this thread for 9am to X and Bluesky."

Example configs

Any MCP client — the minimal config:

json
{  "mcpServers": {    "postbase": {      "command": "npx",      "args": ["@postbasehq/mcp"],      "env": { "POSTBASE_API_KEY": "pb_live_your_key_here" }    }  }}

Claude Desktop — add the same block to your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Then restart Claude Desktop.

Cursor — add it to ~/.cursor/mcp.json (or Settings → MCP):

json
{  "mcpServers": {    "postbase": {      "command": "npx",      "args": ["@postbasehq/mcp"],      "env": { "POSTBASE_API_KEY": "pb_live_your_key_here" }    }  }}

Local development — point at a Postbase instance running on your machine:

json
{  "mcpServers": {    "postbase": {      "command": "npx",      "args": ["@postbasehq/mcp"],      "env": {        "POSTBASE_API_KEY": "pb_live_your_key_here",        "POSTBASE_API_URL": "http://localhost:3000/api/v1"      }    }  }}

Tools

ToolWhat it does
list_channelsList the channels connected to your workspace.
create_postCreate a post — body, channel_ids, optional ISO scheduled_at (omit for a draft).
schedule_threadCreate an X thread (tweets in order) and optionally schedule it.
list_scheduledList posts scheduled to publish.
cancel_postCancel a scheduled post by id.

Environment

VariableRequiredDefault
POSTBASE_API_KEYyes—
POSTBASE_API_URLnohttps://www.postbase.so/api/v1

For local development against a Postbase instance on your machine, set POSTBASE_API_URL=http://localhost:3000/api/v1.

License

AGPL-3.0-or-later. Part of the open-source Postbase project.

来源:README.md,提交 d29bdcb

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.1最新Oct 6, 2026