Post for Me MCP Pro

السجل الرسمي أخرى

Publish, schedule and analyze social posts across 9 platforms via the Post for Me API.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package postforme-mcp-pro
Claude Code
claude mcp add post-for-me-mcp-pro -e 'POSTFORME_API_KEY=<your postforme_api_key>' -e 'POSTFORME_READONLY=<POSTFORME_READONLY>' -- npx -y postforme-mcp-pro@1.0.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "post-for-me-mcp-pro": {
            "command": "npx",
            "args": [
                "-y",
                "postforme-mcp-pro@1.0.0"
            ],
            "env": {
                "POSTFORME_API_KEY": "<your postforme_api_key>",
                "POSTFORME_READONLY": "<POSTFORME_READONLY>"
            }
        }
    }
}

متغيرات البيئة

  • POSTFORME_API_KEY إلزامي سري Post for Me API key (Dashboard - Settings - API Keys).
  • POSTFORME_READONLY Set to 'true' to block all write tools.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. postforme-mcp-pro 📱
  2. Why this server
  3. Install
  4. Configuration
  5. Test locally
  6. Add to Claude Code
  7. Add to Claude Desktop
  8. Tools
  9. Companion skill
  10. Example
  11. Comparison with the official MCP
  12. Security
  13. License

postforme-mcp-pro 📱

The most complete Post for Me MCP server — publish, schedule, edit, delete and analyze social posts across 9 platforms from any MCP client.

postforme-mcp-pro wraps the Post for Me API in 27+ fully-typed MCP tools (one per operation) plus a postforme_raw escape hatch and a readonly safety mode. Unlike the official MCP — which exposes only a doc-search + sandboxed code-execution tool ("code mode") — every operation here is a first-class, directly-callable tool, so the model can post, schedule and pull analytics without writing SDK code.

Platforms: Instagram · Facebook · TikTok · YouTube · X · LinkedIn · Pinterest · Bluesky · Threads

Why this server

  • 27+ typed tools — create_post, schedule_post, publish_now, create_draft, upload_media, list_account_feeds, list_post_results, account & webhook management, and more.
  • High-level shortcuts — publish_now / schedule_post / create_draft / reschedule_post / upload_media collapse common multi-step flows into one call.
  • One-step media upload — upload_media takes a local file path or a public URL, gets a signed URL, uploads the bytes, and hands back a media_url ready to attach.
  • Per-platform tuning — platform_configurations models Instagram Reels, X polls, TikTok privacy, YouTube visibility, etc., and stays permissive for new options.
  • Readonly safety mode — POSTFORME_READONLY=true blocks every write; great for analytics-only sessions.
  • postforme_raw — call any endpoint for 100% API coverage, even brand-new ones.
  • Resilient client — Bearer auth, retries on 429/5xx with backoff, actionable error messages.

Install

npm install
npm run build

Or run published (after release) without cloning:

npx -y postforme-mcp-pro

Configuration

Copy .env.example → .env and set your key:

VariableRequiredDescription
POSTFORME_API_KEY✅Your Post for Me API key (Dashboard → Settings → API Keys).
POSTFORME_BASE_URL—Override the API base URL for self-hosted/open-source deployments. Default https://api.postforme.dev.
POSTFORME_READONLY—true blocks all write tools (only reads + postforme_raw GET run).
POSTFORME_DISABLE_RAW—true removes the postforme_raw tool.
POSTFORME_TIMEOUT_MS—Per-request timeout (default 60000).
POSTFORME_MAX_RETRIES—Max retries on 429/5xx/network (default 3).

Test locally

npx @modelcontextprotocol/inspector node dist/index.js

Add to Claude Code

.claude/settings.json → mcpServers:

"postforme": {
  "command": "node",
  "args": ["projects/postforme-mcp-pro/dist/index.js"],
  "env": { "POSTFORME_API_KEY": "pfm_xxx" }
}

Add to Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json (Windows) / ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

"postforme": {
  "command": "node",
  "args": ["/abs/path/projects/postforme-mcp-pro/dist/index.js"],
  "env": { "POSTFORME_API_KEY": "pfm_xxx" }
}

Cursor uses the same config shape in its MCP file.

Tools

Social accounts
ToolDescription
list_social_accountsList connected accounts (filter by platform/username).
get_social_accountGet one account by id.
create_social_accountConnect an account by supplying credentials.
update_social_accountUpdate stored credentials/metadata.
create_auth_urlStart the OAuth connect flow (returns a URL).
disconnect_social_accountRevoke access for an account.
list_account_feedsAnalytics: recent feed + engagement metrics for an account.
Posts
ToolDescription
create_postCreate a post (publish now, schedule, or draft) across accounts.
publish_nowShortcut: publish immediately.
schedule_postShortcut: schedule for an ISO-8601 time.
create_draftShortcut: save as draft.
get_postGet a post by id.
list_postsList posts (filter by status).
update_postEdit caption/media/accounts/schedule/config.
reschedule_postShortcut: change a scheduled time.
delete_postDelete a post.
Results & previews
ToolDescription
list_post_resultsAnalytics: per-platform publish outcomes.
get_post_resultOne post result by id.
create_post_previewPreview how a post renders per platform.
Media
ToolDescription
create_media_upload_urlGet a signed upload URL (2-step flow).
upload_mediaOne-step: upload a local file or remote URL → returns media_url.
Webhooks
ToolDescription
list_webhooks · get_webhook · create_webhook · update_webhook · delete_webhookManage event subscriptions.
Escape hatch
ToolDescription
postforme_rawCall any /v1/... endpoint directly (method, path, params, body).

Companion skill

/postforme (in skill/SKILL.md) orchestrates these tools into guided workflows: post, schedule, campaign, analytics, accounts, media. Copy it into .claude/skills/ to use it in Claude Code.

Example

You: post "Lançamos a v2 🚀" no instagram e no x, com a imagem ./hero.png
→ list_social_accounts            (get the instagram + x account ids)
→ upload_media { file_path: "./hero.png" }   → media_url
→ create_post_preview             (optional, confirm look)
→ publish_now { social_accounts: [...], caption: "...", media: [{ url: media_url }] }
→ list_post_results               (report success/links per platform)

Comparison with the official MCP

postforme-mcp-proofficial post-for-me-mcp
Tool model27 typed tools, one per operation2 tools (doc-search + code-execution sandbox)
CallsDirect tool callsModel must write SDK code in a sandbox
Shortcutspublish_now / schedule_post / create_draft / upload_media—
SafetyPOSTFORME_READONLY mode + SSRF/file-read hardening—
Escape hatchpostforme_raw (any /v1 endpoint)code execution
Companion skill/postforme guided workflows—

Security

upload_media hardens remote fetches against SSRF (DNS resolution + public-unicast IP validation, no redirects, size cap) and restricts local file reads to recognized media extensions (optionally to POSTFORME_MEDIA_DIR). postforme_raw paths are validated to stay on the versioned API surface. See REVIEW.md for the full audit.

License

MIT © Helbert Paranhos / Strat Academy

الأسئلة الشائعة

ما هو Post for Me MCP Pro؟

Publish, schedule and analyze social posts across 9 platforms via the Post for Me API.

كيف أثبّت Post for Me MCP Pro؟

يعمل على جهازك. في Claude Code: claude mcp add post-for-me-mcp-pro -e 'POSTFORME_API_KEY=<your postforme_api_key>' -e 'POSTFORME_READONLY=<POSTFORME_READONLY>' -- npx -y postforme-mcp-pro@1.0.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Post for Me MCP Pro إلى مفتاح API؟

نعم. يتطلب POSTFORME_API_KEY، وتضبطها في إعداداته.

هل Post for Me MCP Pro مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون Post for Me MCP Pro؟

ينشره helbertparanhos. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.