PM

postbasehq/mcp

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 1 forks 质量 78 趋势 16AGPL-3.0

Postbase的MCP服务器:让克洛德,Cursor或任何MCP客户端的调度帖和线程到X,LinkedIn,Bluesky和Mastodon.

概览

Postbase的服务器,开源社交媒体调度器. Claude, Cursor 或任何 MCP 客户端, 并让您的 AI 代理起草和调度帖子和线程到 。 (TikTok和YouTube需要视频, Postbase 还在 https://mcp.postbase.so/mcp, 为您运行此服务器, 使用 OAuth 的签名输入而不是 API 密钥 。 添加该URL作为克洛德或ChatGPT的自定义连接器,或者作为Cursor,VS代码,Windsurf,克洛德代码或双子座CLI的远程MCP服务器. MCP配置生成器会打印每个的精确设置. 当您想要一个 API 密钥时使用此 npm 软件包, 或是自动托管的 Postbase 。 1. 在您的 Postbase 仪表板下创建 API 密钥。 2. 联合国 将服务器添加到您的 MCP 客户端配置中( 见下文实例) 。 3. 问你的经纪人:"把这条线排到9: 00到X和Bluesky". —— 在您的配置文件中添加相同的块 : - macOS:~/图书馆/应用程序支持/Claude/claude desktop config.json - Windows:%APPDATA+Claude\claude desktop config.

概述(AI 翻译)

** Postbase 参考协议**服务器, 开源社交媒体调度器. 添加到克劳德, Cursor 或任何 MCP 客户端和 让您的 AI 代理起草和调度帖子和线程到 QQ, LinkedIn, Bluesky (TikTok和YouTube需要视频,

到处都是邮站。 甚至从你的AI。

□ 主机服务器( 无 API 密钥)

Postbase 还在 [[T0] 为您运行此服务器, 使用 OAuth 登录而不是 API 密钥 。 添加此 URL 为自定义连接符 或 ChatGPT,或作为 Cursor, VS 代码, Windsurf, Claude 代码或 双子座CLI. MCP 配置生成器 打印每个选项的确切设置。

当您想要一个 API 密钥时使用此 npm 软件包, 或是自动托管的 Postbase 。

快开始

  1. 在您的 Postbase 仪表板上创建一个 API 密钥 。
  2. 将服务器添加到您的 MCP 客户端配置( 见下文实例) 。
  3. 问你的经纪人: “把这条线排到9:00到X和Bluesky”.

□ 示例配置

** 任何MCP客户**——最小配置:

** Claude 桌面** – 在您的配置文件中添加相同的块 :

  • ~/Library/Application Support/Claude/claude_desktop_config.json

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

@postbasehq/mcp

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:

{
  "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):

{
  "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:

{
  "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

Tool What it does
list_channels List the channels connected to your workspace.
在 GitHub 查看完整 README

安装

npx @postbasehq/mcp
新手?先看 mcpskill.org 教程 →

配置

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