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