PostHero
PostHero MCP server — schedule and publish social media posts from any MCP-compatible AI tool
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http posthero 'https://mcp.posthero.ai/mcp'
{
"mcpServers": {
"posthero": {
"type": "http",
"url": "https://mcp.posthero.ai/mcp"
}
}
}
@posthero/mcpclaude mcp add posthero -e 'POSTHERO_API_KEY=<your posthero_api_key>' -- npx -y @posthero/mcp@0.1.1
{
"mcpServers": {
"posthero": {
"command": "npx",
"args": [
"-y",
"@posthero/mcp@0.1.1"
],
"env": {
"POSTHERO_API_KEY": "<your posthero_api_key>"
}
}
}
}
متغيرات البيئة
POSTHERO_API_KEYإلزامي سري Your PostHero API key (Settings → API at posthero.ai)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
@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
الأسئلة الشائعة
ما هو PostHero؟
PostHero MCP server — schedule and publish social media posts from any MCP-compatible AI tool
كيف أثبّت PostHero؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http posthero 'https://mcp.posthero.ai/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج PostHero إلى مفتاح API؟
نعم. يتطلب POSTHERO_API_KEY، وتضبطها في إعداداته.
هل PostHero مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون PostHero؟
ينشره a007mr. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.