New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@postbasehq/mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@postbasehq/mcp

MCP server for Postbase, the open-source social media scheduler: let Claude, Cursor or any MCP client schedule posts, threads, images and video to X, LinkedIn, Bluesky, Mastodon and YouTube.

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
26
-90.19%
Maintainers
1
Weekly downloads
 
Created
Source

@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

  • Create an API key in your Postbase dashboard under Developers.
  • Add the server to your MCP client config (see examples below).
  • 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

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), media_ids from list_media, and youtube details (title, privacy, made_for_kids). TikTok posts can only be drafts.
list_mediaList images and videos in your Postbase media library, to attach by id.
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.

Keywords

mcp

FAQs

Package last updated on 08 Oct 2026

Related posts