PostHero MCP server — schedule and publish social media posts from any MCP-compatible AI tool
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.
Sign up at posthero.ai and grab your key from Settings > API.
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"
}
}
}
}
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"
| 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 |
LinkedIn, Twitter/X, Instagram, Facebook, YouTube, TikTok, Threads, Bluesky
| 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) |
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @posthero/mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"ai-posthero-posthero": {
"command": "npx",
"args": [
"-y",
"@posthero/mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@posthero/mcpnpmPostHero works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.