Skip to main content
Glama
postforme-mcp-pro

postforme-mcp-pro

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.

Related MCP server: so-easy-mcp

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_SHOW_TOKENS

—

1 shows account access_token/refresh_token in responses (masked as [hidden] by default).

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

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

Available Tools

27 tools
create_auth_urlA

Start the OAuth connect flow for a platform. Returns a URL — open it in a browser to authorize the account; once approved, it appears in list_social_accounts. Use this to connect a new Instagram/TikTok/X/etc.

Inputs: platform (required), external_id, redirect_url.

create_draftA

Shortcut: save a post as a draft without publishing or scheduling it. Equivalent to create_post with status='draft'.

Inputs: social_accounts (required), caption, media, external_id, +2 more.

create_media_upload_urlA

Get a signed URL to upload a media file. Returns an upload_url (PUT your bytes there) and the media URL to reference in a post. Prefer upload_media if you want the upload done for you in one step.

Inputs: content_type, file_name.

create_postA

Create a social post across one or more connected accounts/platforms. This is the primary publishing tool. Set scheduled_at (ISO-8601) to schedule, status='draft' to save without publishing, or omit both to publish immediately. Use platform_configurations for per-network tweaks. For common cases the shortcuts publish_now / schedule_post / create_draft are simpler.

Inputs: social_accounts (required), caption, media, external_id, +4 more.

create_post_previewA

Generate a preview of how a post would appear on each target platform, without publishing it. Pass the same caption/media/social_accounts/platform_configurations you'd send to create_post. Great for a confirm-before-publish step.

Inputs: caption, social_accounts, media, platform_configurations, +1 more.

create_social_accountA

Manually create/connect a social account by supplying its platform and credentials/tokens. For the standard interactive OAuth flow, prefer create_auth_url instead.

Inputs: platform (required), username, access_token, refresh_token, +2 more.

create_webhookB

Create a webhook that POSTs to your HTTPS endpoint when the chosen events occur (e.g. post published, post errored). Subscribe to specific event types or all of them.

Inputs: url (required), event_types.

delete_postA

Delete a social post by id (drafts, scheduled or published records).

Inputs: id (required).

delete_webhookB

Delete a webhook by id.

Inputs: id (required).

disconnect_social_accountA

Disconnect a social account — revokes Post for Me's access. The account stops being usable for posting until reconnected via create_auth_url.

Inputs: id (required).

get_postA

Get a single social post by id, including its status, caption, media and target accounts.

Inputs: id (required).

get_post_resultA

Get a single post result by id — the detailed outcome of one post on one platform, including the native post URL/id and any error message.

Inputs: id (required).

get_social_accountB

Get a single connected social account by id, including platform, username and status.

Inputs: id (required).

get_webhookB

Get a single webhook by id.

Inputs: id (required).

list_account_feedsA

ANALYTICS: list the recent feed for a connected account — the posts on that platform, optionally with engagement metrics (likes, comments, views, etc.). Use this to pull performance data for a given account.

Inputs: social_account_id (required), limit, offset.

list_post_resultsA

ANALYTICS: list publishing results across posts — each row is the outcome of one post on one platform (success/error, native post id & URL). Filter by social_post_id to see how a specific post fared on every target account.

Inputs: social_post_id, limit, offset.

list_postsA

List social posts, optionally filtered by status (draft/scheduled/published/error) and paginated. Use this to review queued, scheduled or published content.

Inputs: status, external_id, limit, offset.

list_social_accountsA

List the social accounts connected to your Post for Me workspace. Optionally filter by platform (instagram, tiktok, x, ...). Returns account ids you pass to create_post via social_accounts.

Inputs: platform, username, id, limit, +1 more.

list_webhooksA

List the webhooks configured in your workspace.

Inputs: limit, offset.

postforme_rawA

Call any Post for Me REST endpoint directly (escape hatch for full API coverage). Provide the HTTP method and the FULL path INCLUDING the version segment (e.g. '/v1/social-posts' or '/v1/social-accounts/acc_xxx'), plus optional query params and JSON body. Use this only when no dedicated tool exists. Auth, retries and rate-limiting are handled for you. Reference: https://api.postforme.dev/docs

Inputs: method (required), path (required), params, body.

publish_nowA

Shortcut: publish a post immediately to the given accounts. Equivalent to create_post with no scheduled_at and status='published'.

Inputs: social_accounts (required), caption, media, external_id, +2 more.

reschedule_postA

Shortcut: move a scheduled post to a new time. Equivalent to update_post with only scheduled_at set.

Inputs: id (required), scheduled_at (required).

schedule_postC

Shortcut: schedule a post for a future time. Equivalent to create_post with scheduled_at set and status='scheduled'.

Inputs: social_accounts (required), scheduled_at (required), caption, media, +3 more.

update_postA

Update an existing post by id — change the caption, media, target accounts, schedule or platform_configurations. Works on drafts and scheduled posts.

Inputs: id (required), caption, social_accounts, media, +4 more.

update_social_accountB

Update a connected social account (e.g. refresh stored credentials or metadata).

Inputs: id (required), username, access_token, refresh_token, +1 more.

update_webhookB

Update a webhook's URL or subscribed event types.

Inputs: id (required), url, event_types.

upload_mediaA

One-step media upload: provide a local file path OR a public URL, and this generates a signed URL, uploads the bytes, and returns { media_url } ready to drop into create_post/publish_now/schedule_post media. Use this whenever you need to attach an image or video.

Inputs: file_path, source_url, content_type.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 27 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose. Shortcuts like publish_now and schedule_post are explicitly documented as equivalents to create_post parameters, avoiding ambiguity. Similarly, upload_media and create_media_upload_url serve different workflows (one-step vs signed URL). No two tools are easily confused.

    Naming Consistency4/5

    The vast majority follow a consistent verb_noun pattern (create_, get_, list_, update_, delete_). The exception is 'postforme_raw', which breaks the pattern but serves as a generic escape hatch. Also 'list_account_feeds' mixes noun order, but overall the naming is predictable.

    Tool Count4/5

    With 27 tools, the set is on the larger side but justified by the breadth of functionality: full CRUD for posts, accounts, webhooks, plus analytics, media upload, shortcuts, and a raw API endpoint. It covers all necessary operations without feeling bloated.

    Completeness5/5

    The tool surface covers the entire lifecycle of social media posting: account connection, post creation/scheduling/publishing, previews, updates, deletion, analytics, media upload, and webhooks. The inclusion of 'postforme_raw' ensures no API endpoint is inaccessible, making the set fully complete.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for Publer social media management API, enabling AI assistants to schedule posts, upload media, pull analytics, and manage accounts across 15+ social networks.
      15
      32 npm
      22
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A full social media management MCP server enabling post, read, schedule, and analyze across Facebook, Instagram, LinkedIn, X/Twitter, Pinterest, and YouTube from any MCP-compatible AI client.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server to manage social media accounts from AI assistants, enabling post creation, scheduling, publishing, and media uploads across multiple platforms.
      13
      9 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      MCP server for managing social media posts across multiple platforms using the Postiz API. Supports creating, updating, deleting posts, and generating videos.
      3
      MIT