Skip to main content
Glama
@postonce/mcp

@postonce/mcp

Official
by postoncehq

@postonce/mcp: Crosspost and Autopost MCP Server for Claude, ChatGPT, Cursor, Codex & AI Agents

npm version npm downloads License: MIT GitHub stars

Official Model Context Protocol server for PostOnce. Let Claude Code, Claude Desktop, Cursor, OpenAI Codex, Windsurf, VS Code and any other MCP client crosspost and autopost to 12 platforms: Instagram, TikTok, YouTube, LinkedIn, X (Twitter), Facebook, Threads, Bluesky and Pinterest through their official APIs, plus Farcaster, Nostr and Telegram, in plain English.

One request publishes a native post to every account you pick. One workflow autoposts every new video from one account to all the others. Everything goes through each network's official API: no scraping, no browser automation, no developer apps to register.

Resource

URL

🌐 Homepage

postonce.to

πŸ€– MCP page

postonce.to/integrations/mcp

πŸ“– MCP docs

docs.postonce.to/mcp/docs

πŸ”Œ REST API (OpenAPI)

postonce.to/api/openapi.json

πŸ”‘ Get an API key

postonce.to/dashboard/preferences β†’ API keys

πŸ’΅ Pricing

postonce.to/pricing

🧩 Agent skills

github.com/postoncehq/postonce-skills

πŸ“¦ This package on npm

npmjs.com/package/@postonce/mcp

πŸ’» Source on GitHub

github.com/postoncehq/mcp

πŸ› Issues

github.com/postoncehq/mcp/issues

πŸ’‘ Feature requests

feedback.postonce.to

Related MCP server: AdaptlyPost

What can your AI agent do with it?

  • Crosspost one post, photo, carousel or video to several networks at once, each as a native post

  • Autopost: set up workflows that repost every new video from one account (for example TikTok) to the others (Instagram Reels, YouTube Shorts, Facebook Reels, LinkedIn…)

  • Publish now or at a set time, then publish early, update or cancel

  • Save drafts for you to review in PostOnce before anything goes live

  • Upload media and attach it to posts

  • Check delivery per network, and read views, likes, comments, shares and saves

  • Connect accounts with a sign-in link

Quick Start

1. Get an API key

Start a 7-day free trial at postonce.to, connect your social accounts, then create an API key in Preferences β†’ API keys.

2. Add PostOnce to your AI client

Claude Code

claude mcp add postonce -e POSTONCE_API_KEY=your_api_key -- npx -y @postonce/mcp

Claude Desktop

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

{
  "mcpServers": {
    "postonce": {
      "command": "npx",
      "args": ["-y", "@postonce/mcp"],
      "env": { "POSTONCE_API_KEY": "your_api_key" }
    }
  }
}

Restart Claude Desktop.

Cursor

Settings β†’ MCP β†’ Add new MCP server, or add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "postonce": {
      "command": "npx",
      "args": ["-y", "@postonce/mcp"],
      "env": { "POSTONCE_API_KEY": "your_api_key" }
    }
  }
}

OpenAI Codex

codex mcp add postonce --env POSTONCE_API_KEY=your_api_key -- npx -y @postonce/mcp

VS Code (GitHub Copilot)

code --add-mcp '{"name":"postonce","command":"npx","args":["-y","@postonce/mcp"],"env":{"POSTONCE_API_KEY":"your_api_key"}}'

Kiro

Add to Kiro

One click adds the hosted server (https://postonce.to/mcp); Kiro then asks you to sign in to PostOnce. No API key.

Windsurf and other MCP clients

Use the same command, args and env as above. This package is a standard stdio MCP server.

Prefer no API key? Use the hosted server

Clients that support remote MCP servers can connect to https://postonce.to/mcp and sign in with OAuth instead:

  • Claude (claude.ai, Desktop, mobile): Settings β†’ Connectors β†’ Add custom connector β†’ https://postonce.to/mcp. Guide

  • ChatGPT: guide

  • Claude Code: claude mcp add --transport http postonce https://postonce.to/mcp

  • Cursor: guide

3. Try it

"List my connected accounts"

"Crosspost this video to TikTok, Instagram Reels and YouTube Shorts: https://example.com/clip.mp4 with the caption 'Behind the scenes 🎬'"

"Autopost every new TikTok video to Instagram, YouTube and Facebook"

"Post this to LinkedIn and X tomorrow at 9am: We just shipped dark mode."

"Save a draft for all my accounts so I can review it first"

"Did my last post go out everywhere? Show the views on each platform"

Available Tools

Accounts

  • list_accounts: all connected social accounts, including disconnected ones

  • list_active_accounts: only accounts that can post right now

  • connect_account: a short-lived sign-in link to connect a new account

  • delete_account: remove PostOnce's access to an account

Posts

  • create_post: crosspost one post to several accounts, now or at a set time

  • get_post: one post with its delivery status on each network

  • list_posts: recent posts, newest first

  • update_post: change a post before it runs

  • publish_post: publish a set-time post right away

  • cancel_post: cancel a post that has not gone out

Drafts

  • create_draft, get_draft, list_drafts, update_draft: save posts for review without publishing

Autopost workflows

  • create_workflow: autopost new content from one account to others

  • list_workflows, get_workflow, update_workflow, delete_workflow

Media

  • create_upload_url: upload a photo or video and get a media_id

  • get_media: resolve a media_id to its URL

Analytics

  • get_analytics: views, likes, comments, shares and saves across your posts

  • get_post_analytics: the same numbers for each network copy of one post

The tools come live from the hosted PostOnce MCP server, so new tools appear without updating this package.

Supported Platforms

  • Instagram: posts, carousels, Reels (Business and Creator accounts)

  • TikTok: videos and photo posts, or drafts to your TikTok inbox

  • YouTube: videos and Shorts with titles, descriptions and privacy

  • LinkedIn: text, images and video

  • X (Twitter): posts with images, GIFs and video

  • Facebook: Page posts, photos and Reels

  • Threads: text, images, video and carousels

  • Bluesky: text, images and video

  • Pinterest: pins, carousels and video pins

  • Farcaster, Nostr and Telegram: text and media posts

Configuration

Setting

Environment variable

Flag

Default

API key (required)

POSTONCE_API_KEY

--api-key

Server URL

POSTONCE_MCP_URL

--url

https://postonce.to/mcp

How it works

@postonce/mcp runs locally over stdio and forwards every request to the hosted PostOnce MCP server at https://postonce.to/mcp with your API key. Your key stays on your machine and in requests to postonce.to. Revoke it any time in Preferences β†’ API keys.

Privacy and support

License

MIT Β© PostOnce

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Gives AI agents the ability to schedule and publish social media posts to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, and Bluesky. Create, schedule, and bulk-plan posts with per-platform captions, then check per-platform results and retry failures.
      94
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to upload and schedule videos, images, carousels, and text posts across 17 social platforms, read analytics, and reply to comments through a hosted OAuth connection.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants and autonomous agents to connect to social media accounts and manage, generate, schedule, upload media for, and publish content across Facebook Pages, YouTube, TikTok, Instagram, and X, plus maintain a content pipeline.
      14
      MIT