Post for Me MCP Pro

io.github.helbertparanhos由 GitHub 帳號 helbertparanhos 發布v1.0.0更新於 Oct 24, 2026

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

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理透過 Post for Me API 在九個平台上發佈、排程、編輯與分析社群貼文。

可以做什麼
管理已連結的社群帳號:列出、檢視、以憑證或 OAuth 連結連接、更新與中斷連結,並讀取帳號動態的互動指標。跨帳號建立、立即發佈、排程、改期、編輯、列出與刪除貼文。查看各平台的發佈結果,並預覽貼文在各平台的呈現效果。從本機檔案路徑或公開網址上傳媒體,回傳可附掛的媒體網址。管理事件訂閱的 webhook。透過原始呼叫工具直接存取任意版本化 API 端點。
適用情境
適合讓助理起草、排程或立即將社群內容發佈到 Instagram、Facebook、TikTok、YouTube、X、LinkedIn、Pinterest、Bluesky 或 Threads,並取回各平台發佈結果與互動資料,無須撰寫 SDK 程式碼。
執行需求
以本機 Node.js 程序執行,通常透過 npx 或已建置的目錄在 MCP 用戶端中設定。需要 POSTFORME_API_KEY 中的 Post for Me API 金鑰,並能連線至 Post for Me API。選用變數可設定基礎網址、唯讀模式、停用原始呼叫工具、逾時與重試次數。
安裝前請注意
此 API 金鑰具有在已連結帳號上發佈內容的權限,請勿放入共用設定。寫入類工具會發佈、排程、編輯、刪除貼文,連接或中斷帳號並管理 webhook,操作對外公開且難以復原。設定 POSTFORME_READONLY=true 可阻擋寫入,僅供分析使用。原始呼叫工具可存取任意版本化端點,可用 POSTFORME_DISABLE_RAW 關閉。媒體上傳會讀取本機檔案並抓取遠端網址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Post for Me MCP Pro,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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.

[npm version] [License: MIT] [GitHub Stars] [GitHub Forks] [GitHub Issues] [Glama Quality]

[TypeScript] [Node.js] [MCP] [Claude Code] [Cursor] [Claude Desktop]

[Instagram] [YouTube] [LinkedIn] [Buy Me A Coffee] [Strat Academy]

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

bash
npm installnpm run build

Or run published (after release) without cloning:

bash
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

bash
npx @modelcontextprotocol/inspector node dist/index.js

Add to Claude Code

.claude/settings.json → mcpServers:

json
"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):

json
"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

來源:README.md,提交 420ca07

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分