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»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http posthero 'https://mcp.posthero.ai/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "posthero": {
            "type": "http",
            "url": "https://mcp.posthero.ai/mcp"
        }
    }
}
NPM package @posthero/mcp
Claude Code
claude mcp add posthero -e 'POSTHERO_API_KEY=<your posthero_api_key>' -- npx -y @posthero/mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "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.

المحتويات
  1. @posthero/mcp
  2. Quick start
  3. Available tools
  4. Supported platforms
  5. Environment variables
  6. License

@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

ToolDescription
list_accountsList connected social media accounts
create_postCreate, schedule, or publish a post
list_postsList posts with filters (status, platform)
get_postGet full details of a post
update_postUpdate a draft or scheduled post
delete_postDelete a post from PostHero
publish_postImmediately publish a draft/scheduled post
get_analytics_summaryAggregated analytics for a platform
get_top_postsTop-performing posts ranked by metric

Supported platforms

LinkedIn, Twitter/X, Instagram, Facebook, YouTube, TikTok, Threads, Bluesky

Environment variables

VariableDescription
POSTHERO_API_KEYRequired. Your PostHero API key (pk_...)
POSTHERO_BASE_URLOverride 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 الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.