About PostHero
PostHero is an MCP server for managing social media posts through compatible AI tools. It supports drafting, scheduling, publishing, and reviewing post analytics across connected accounts.
Key features
- 01Create, schedule, and publish posts
- 02List and update posts
- 03Manage connected social accounts
- 04Review platform analytics
- 05Find top-performing posts
Use cases
- 01Schedule a LinkedIn post for a future time
- 02Publish a Twitter/X post immediately
- 03Review top posts on Threads
MCP support
Exposes PostHero account, post, publishing, and analytics operations as tools to MCP clients. Requires a PostHero API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.posthero.ai/mcpclaude mcp add --transport http ai-posthero-posthero https://mcp.posthero.ai/mcp{"mcpServers":{"ai-posthero-posthero":{"type":"http","url":"https://mcp.posthero.ai/mcp"}}}Open in Cursor{"servers":{"ai-posthero-posthero":{"type":"http","url":"https://mcp.posthero.ai/mcp"}}}Open in VS Code{"mcpServers":{"ai-posthero-posthero":{"type":"http","url":"https://mcp.posthero.ai/mcp"}}}{"mcpServers":{"ai-posthero-posthero":{"serverUrl":"https://mcp.posthero.ai/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project README@posthero/mcp
MCP (Model Context Protocol) server for PostHero — schedule and publish social media posts from Claude Desktop, Cursor, VS Code, Windsurf, and any MCP-compatible AI tool.
Quick start
1. Get your API key
Sign up at posthero.ai and grab your key from Settings > API.
2. Add to your MCP client
Claude Desktop — edit claude_desktop_config.json:
{
"mcpServers": {
"posthero": {
"command": "npx",
"args": ["-y", "@posthero/mcp"],
"env": {
"POSTHERO_API_KEY": "pk_your_api_key_here"
}
}
}
}
Cursor — edit .cursor/mcp.json:
{
"mcpServers": {
"posthero": {
"command": "npx",
"args": ["-y", "@posthero/mcp"],
"env": {
"POSTHERO_API_KEY": "pk_your_api_key_here"
}
}
}
}
VS Code — edit .vscode/mcp.json:
{
"servers": {
"posthero": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@posthero/mcp"],
"env": {
"POSTHERO_API_KEY": "pk_your_api_key_here"
}
}
}
}
3. Use it
Ask your AI assistant to post to social media:
"Schedule a LinkedIn post about our new feature launch for tomorrow at 9am"
"Create a Twitter thread about the benefits of remote work and publish it now"
"Show me my top-performing posts on Threads this month"
Available tools
| Tool | Description |
|---|---|
list_accounts | List connected social media accounts |
create_post | Create, schedule, or publish a post |
list_posts | List posts with filters (status, platform) |
get_post | Get full details of a post |
update_post | Update a draft or scheduled post |
delete_post | Delete a post from PostHero |
publish_post | Immediately publish a draft/scheduled post |
get_analytics_summary | Aggregated analytics for a platform |
get_top_posts | Top-performing posts ranked by metric |
Supported platforms
LinkedIn, Twitter/X, Instagram, Facebook, YouTube, TikTok, Threads, Bluesky
Environment variables
| Variable | Description |
|---|---|
POSTHERO_API_KEY | Required. Your PostHero API key (pk_...) |
POSTHERO_BASE_URL | Override API base URL (default: https://server.posthero.ai/api/v1) |
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.