MCP server for Postbase: let Claude, Cursor or any MCP client schedule posts and threads to X, LinkedIn, Bluesky and Mastodon.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add postbase --env POSTBASE_API_KEY='<POSTBASE_API_KEY>' -- npx -y @postbasehq/mcp~/.codex/config.toml
[mcp_servers.postbase]
command = "npx"
args = ["-y", "@postbasehq/mcp"]
env = { POSTBASE_API_KEY = "<POSTBASE_API_KEY>" }
# codex mcp add postbase --env POSTBASE_API_KEY='<POSTBASE_API_KEY>' -- npx -y @postbasehq/mcp~/.cursor/mcp.json
{
"mcpServers": {
"postbase": {
"command": "npx",
"args": [
"-y",
"@postbasehq/mcp"
],
"env": {
"POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"postbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@postbasehq/mcp"
],
"env": {
"POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"postbase": {
"command": "npx",
"args": [
"-y",
"@postbasehq/mcp"
],
"env": {
"POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"postbase": {
"command": "npx",
"args": [
"-y",
"@postbasehq/mcp"
],
"env": {
"POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"postbase": {
"command": "npx",
"args": [
"-y",
"@postbasehq/mcp"
],
"env": {
"POSTBASE_API_KEY": "<POSTBASE_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http postbase https://mcp.postbase.so/mcp~/.codex/config.toml
[mcp_servers.postbase]
url = "https://mcp.postbase.so/mcp"
# codex mcp add postbase --url https://mcp.postbase.so/mcp~/.cursor/mcp.json
{
"mcpServers": {
"postbase": {
"url": "https://mcp.postbase.so/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"postbase": {
"type": "http",
"url": "https://mcp.postbase.so/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"postbase": {
"httpUrl": "https://mcp.postbase.so/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"postbase": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.postbase.so/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"postbase": {
"url": "https://mcp.postbase.so/mcp"
}
}
}Environment variables
POSTBASE_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.