MCP server for Postbase: let Claude, Cursor or any MCP client schedule posts and threads to X, LinkedIn, Bluesky and Mastodon.
- ✓Open-source license (AGPL-3.0)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/postbasehq/mcp{
"mcpServers": {
"mcp": {
"command": "node",
"args": ["/path/to/mcp/dist/index.js"],
"env": {
"POSTBASE_API_URL": "<postbase_api_url>"
}
}
}
}POSTBASE_API_URLMCP Servers overview
# @postbasehq/mcp
[](https://github.com/postbasehq/mcp/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/@postbasehq/mcp)
[](https://www.npmjs.com/package/@postbasehq/mcp)
[](./LICENSE)
[](https://nodejs.org)
The **Model Context Protocol** server for [Postbase](https://www.postbase.so), 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](https://www.postbase.so/tools/mcp-config)
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
| Tool | What it does |
|---|---|
| `list_channels` | List the channels connected to your workspace. |
| `create_post` | Create a draft, or schedule a post or `thread`: `channel_ids`, `scheduled_at` (ISO 8601 with an offset) or `schedule_in_minutes`, `channel_bodies` for per-channel text, `media_ids` or `media_urls`, `youtube` details, and an `idempotency_key` so retries can't post twice. TikTok posts can only be drafts. |
| `get_post` | How a post went on each channel: status, live URL, error, retry time and latest metrics. |
| `update_post` | Edit or reschedule a draft or scheduled post; only the fields you pass change. |
| `retry_post` | Send a post again to the channels where it failed. |
| `get_analytics` | Impressions, likes, comments, shares and saves per post and channel, with totals. |
| `list_media` | List images and videos in your Postbase media library, to attach by id. |
| `add_media` | Add an image or video to the media library from a public https link. |
| `list_scheduled` | List scheduled posts, or drafts, published or failed ones with `status`. |
| `cancel_post` | Cancel a scheduled post by id (it goes back to a draft). |
| `schedule_thread` | Create a thread (`tweets` in order). Kept for older setups; `create_post` with `thread` does the same. |
## Environment
| Variable | Required | Default |
|---|---|---|
| `POSTBASE_API_KEY` | yes | — |
| `POSTBASE_API_URL` | no | `https://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.
What people ask about mcp
What is postbasehq/mcp?
+
postbasehq/mcp is mcp servers for the Claude AI ecosystem. MCP server for Postbase: let Claude, Cursor or any MCP client schedule posts and threads to X, LinkedIn, Bluesky and Mastodon. It has 7 GitHub stars and its last recorded update is dated 2026-10-10.
How do I install mcp?
+
You can install mcp by cloning the repository (https://github.com/postbasehq/mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is postbasehq/mcp safe to use?
+
Our security agent has analyzed postbasehq/mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains postbasehq/mcp?
+
postbasehq/mcp is maintained by postbasehq. The last recorded GitHub activity is dated 2026-10-10, with 0 open issues.
Are there alternatives to mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/postbasehq-mcp)<a href="https://claudewave.com/repo/postbasehq-mcp"><img src="https://claudewave.com/api/badge/postbasehq-mcp" alt="Featured on ClaudeWave: postbasehq/mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.