postforme-mcp-pro

postforme-mcp-pro

MCP server for the Post for Me API, enabling publishing, scheduling, editing, deleting, and analyzing social media posts across 9 platforms from any MCP client.

Category
访问服务器

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

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 toolscreate_post, schedule_post, publish_now, create_draft, upload_media, list_account_feeds, list_post_results, account & webhook management, and more.
  • High-level shortcutspublish_now / schedule_post / create_draft / reschedule_post / upload_media collapse common multi-step flows into one call.
  • One-step media uploadupload_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 tuningplatform_configurations models Instagram Reels, X polls, TikTok privacy, YouTube visibility, etc., and stays permissive for new options.
  • Readonly safety modePOSTFORME_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:

Variable Required Description
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.jsonmcpServers:

"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

Tool Description
list_social_accounts List connected accounts (filter by platform/username).
get_social_account Get one account by id.
create_social_account Connect an account by supplying credentials.
update_social_account Update stored credentials/metadata.
create_auth_url Start the OAuth connect flow (returns a URL).
disconnect_social_account Revoke access for an account.
list_account_feeds Analytics: recent feed + engagement metrics for an account.

Posts

Tool Description
create_post Create a post (publish now, schedule, or draft) across accounts.
publish_now Shortcut: publish immediately.
schedule_post Shortcut: schedule for an ISO-8601 time.
create_draft Shortcut: save as draft.
get_post Get a post by id.
list_posts List posts (filter by status).
update_post Edit caption/media/accounts/schedule/config.
reschedule_post Shortcut: change a scheduled time.
delete_post Delete a post.

Results & previews

Tool Description
list_post_results Analytics: per-platform publish outcomes.
get_post_result One post result by id.
create_post_preview Preview how a post renders per platform.

Media

Tool Description
create_media_upload_url Get a signed upload URL (2-step flow).
upload_media One-step: upload a local file or remote URL → returns media_url.

Webhooks

Tool Description
list_webhooks · get_webhook · create_webhook · update_webhook · delete_webhook Manage event subscriptions.

Escape hatch

Tool Description
postforme_raw Call 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-pro official post-for-me-mcp
Tool model 27 typed tools, one per operation 2 tools (doc-search + code-execution sandbox)
Calls Direct tool calls Model must write SDK code in a sandbox
Shortcuts publish_now / schedule_post / create_draft / upload_media
Safety POSTFORME_READONLY mode + SSRF/file-read hardening
Escape hatch postforme_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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选