使用说明
outpost-mcp
MCP server for Outpost — publish to X (Twitter), LinkedIn, Reddit, Instagram, Bluesky, and Threads directly from Claude, Cursor, or any AI agent.
Outpost is a unified social media publishing API. This MCP server wraps it as a Model Context Protocol tool, so your AI agent can post to social media as a first-class capability — no separate UI needed.
Quick Start
Claude Desktop
Add this to your ~/.claude_desktop_config.json:
{
"mcpServers": {
"outpost": {
"command": "npx",
"args": ["-y", "@outpost/mcp-server"],
"env": {
"OUTPOST_API_KEY": "your-api-key-here"
}
}
}
}
Restart Claude Desktop — the Outpost tools will appear automatically.
Custom API URL (self-hosted)
{
"mcpServers": {
"outpost": {
"command": "npx",
"args": ["-y", "@outpost/mcp-server"],
"env": {
"OUTPOST_API_KEY": "your-api-key-here",
"OUTPOST_API_URL": "https://your-outpost-instance.com"
}
}
}
}
Cursor / Other MCP Clients
Same config structure — refer to your client's MCP documentation for where to put it.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
OUTPOST_API_KEY |
✅ Yes | — | Your Outpost API key (get one here) |
OUTPOST_API_URL |
No | https://outpost.hibernyte.com |
Outpost API base URL (for self-hosted instances) |
Tools
publish_post
Publish content to a social media platform.
Platforms: x, linkedin, instagram, reddit, bluesky, threads
Required: platform, accountId, text
Optional: imageUrl, subreddit (reddit), title (reddit), replyTo
Example prompt: "Post to my X account: 'Just shipped a new feature 🚀 #buildinpublic'"
list_accounts
List all connected social accounts available for posting.
Optional: platform (filter by platform)
Returns: accountId, platform, handle, status
Example prompt: "What social accounts do I have connected in Outpost?"
get_capabilities
Get platform capabilities before posting — character limits, media types, supported features.
Optional: platform (omit to get all platforms)
Returns: charLimit, mediaTypes, features, rateLimits
Example prompt: "What's the character limit on LinkedIn vs Bluesky?"
check_rate_limits
Check current rate limit status for a connected account.
Required: accountId
Returns: remaining, resetAt, limit
get_post_status
Look up the status of a previously published post.
Required: postId (returned by publish_post)
Returns: status (published|pending|failed), url, publishedAt
Example Workflow
Ask Claude:
"Post this thread to my X account and then check if it published successfully."
Claude will:
- Call
list_accounts→ find your X account ID - Call
get_capabilities→ verify character limits - Call
publish_post→ publish the content - Call
get_post_status→ confirm it went through
Get an API Key
Sign up at outpostapi.dev to get your API key and connect your social accounts.
License
MIT © Hibernyte