Postbase

v0.3.0
io.github.postbasehq/postbase Checked 4 days ago Published 1 month ago

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

Values you need

VariableWhat it is
POSTBASE_API_KEYrequired secret API key from Postbase → Developers
POSTBASE_API_URLoptional API base URL, for self-hosted instances (default https://www.postbase.so/api/v1)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add postbase -e 'POSTBASE_API_KEY=<POSTBASE_API_KEY>' -- npx -y --package=@postbasehq/mcp@0.3.0 postbase-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "postbase": {
      "args": [
        "-y",
        "--package=@postbasehq/mcp@0.3.0",
        "postbase-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postbase": {
      "args": [
        "-y",
        "--package=@postbasehq/mcp@0.3.0",
        "postbase-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "POSTBASE_API_KEY",
      "id": "postbase-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "postbase": {
      "args": [
        "-y",
        "--package=@postbasehq/mcp@0.3.0",
        "postbase-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBASE_API_KEY": "${input:postbase-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postbase]
command = "npx"
args = ["-y", "--package=@postbasehq/mcp@0.3.0", "postbase-mcp"]
env = { "POSTBASE_API_KEY" = "<POSTBASE_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http postbase https://mcp.postbase.so/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "postbase": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.postbase.so/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postbase": {
      "url": "https://mcp.postbase.so/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "postbase": {
      "type": "http",
      "url": "https://mcp.postbase.so/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postbase]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.postbase.so/mcp"]

For AI agents

  1. Ask the user for: POSTBASE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_channels, create_post, get_post, update_post, retry_post, get_analytics, add_media, schedule_thread, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json