# Postbase [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/postbasehq/mcp  
**GitHub Stars:** 10  
**npm Downloads (last month):** 241  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/postbase

## Description
Schedule social posts, threads and video to X, LinkedIn, Bluesky, Mastodon and YouTube from your AI.

## Tools
Capabilities this server exposes over MCP:

- **list_channels** — List the social channels connected to the Postbase workspace.
- **create_post** — Create a draft, or schedule a post or thread, on connected channels. Give channel_ids from list_channels and scheduled_at (ISO 8601 with Z or an offset) or schedule_in_minutes; omit both for a draft. Attach media with media_ids (list_media) or media_urls (public https links). channel_bodies gives particular channels their own text. Pass an idempotency_key so a retried call returns the first post instead of a duplicate. YouTube needs a video and youtube.made_for_kids. TikTok posts can only be saved as drafts (the user schedules them in Postbase). Check the outcome later with get_post.
- **get_post** — Get one post and how it went on each channel: status, the live URL once published, the error if it failed and when it will be retried, and the latest metrics.
- **update_post** — Edit a draft or scheduled post before it publishes. Only the fields you pass change. Pass scheduled_at or schedule_in_minutes to reschedule (or schedule a draft); scheduled_at null turns it back into a draft. A post that has started publishing can't be edited.
- **retry_post** — Send a post again, now, to the channels where it failed. Channels where it already published are left alone. Check get_post first: an expired connection needs reconnecting in Postbase.
- **get_analytics** — How published posts performed: each post's channels with their latest impressions, likes, comments, shares and saves, plus totals. Defaults to the last 30 days, newest first.
- **add_media** — Add an image or video to the Postbase media library from a public https URL and return its id for media_ids. JPG, PNG, WebP, GIF, MP4, MOV or WebM, up to 200 MB.
- **schedule_thread** — Create a thread (several posts, in order) and optionally schedule it. Same as create_post with thread; kept for older setups.
- **list_media** — List images and videos in the workspace's Postbase media library (newest 50). Pass their ids to create_post as media_ids.
- **list_scheduled** — List posts in the workspace with their text, time and channels. Scheduled posts by default; pass status for drafts, published or failed ones.
- **cancel_post** — Cancel a scheduled post by id. It goes back to being a draft, which update_post can reschedule.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `POSTBASE_API_KEY`, `POSTBASE_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Postbase MCP server does

The Postbase MCP server gives an AI client access to a Postbase workspace through Model Context Protocol. It can inspect connected channels, create drafts, schedule posts, publish threads, manage media, and retrieve delivery results and analytics. Supported social destinations named by the project include X, LinkedIn, Bluesky, and Mastodon.

Postbase can create one post for multiple channels while allowing different text for each destination. Posts may include media from the Postbase library or public media URLs. Scheduling accepts either an ISO 8601 timestamp with an offset or a relative delay in minutes. An idempotency key can be supplied to prevent a retry from creating a duplicate post.

## How it works

The npm package runs as a local MCP process and communicates with the Postbase API. Configure it in an MCP client with the `@postbasehq/mcp` package and a Postbase API key. The default API endpoint is Postbase's hosted API, but local development can target another Postbase instance by setting a custom URL.

Postbase also hosts the MCP endpoint at `https://mcp.postbase.so/mcp`. That option uses OAuth sign-in instead of an API key and can be added as a remote MCP server or custom connector in supported clients. The repository specifically documents Claude, Cursor, VS Code, Windsurf, Claude Code, and Gemini CLI for the hosted endpoint.

## Setup and configuration

For the local package, create an API key in the Postbase dashboard under Developers. Add a server named `postbase` to the client configuration, using `npx` with `@postbasehq/mcp` as the package argument. Set `POSTBASE_API_KEY` in the server environment.

`POSTBASE_API_URL` is optional and defaults to `https://www.postbase.so/api/v1`. Set it to a local API URL such as `http://localhost:3000/api/v1` when developing against a Postbase instance on the same machine. Claude Desktop and Cursor configuration examples are provided in the repository.

## Tools and capabilities

- List channels connected to the workspace.
- Create drafts, scheduled posts, and threads with per-channel bodies.
- Attach media by library ID or public HTTPS URL.
- Edit or reschedule drafts and scheduled posts.
- Inspect channel status, live URLs, errors, retry times, and latest metrics.
- Retry delivery to channels where a post failed.
- Read impressions, likes, comments, shares, saves, and totals by post and channel.
- List drafts, scheduled posts, published posts, or failed posts by status.
- Cancel a scheduled post and return it to draft status.

`create_post` handles current post and thread creation. `schedule_thread` remains available for older setups and creates an ordered thread.

## Limitations and notes

The Postbase MCP server requires a Postbase API key when run from the npm package. The hosted endpoint uses OAuth instead. TikTok posts can only be created as drafts through the documented tool.

Canceling a scheduled post does not delete it; the post becomes a draft. Updates are partial, meaning only fields supplied to the update operation change. The project is licensed under AGPL-3.0-or-later.

_Full upstream README: https://allmcps.com/mcp/postbase/readme_

