Skip to content

MCP tools for LinkedIn, X, Facebook, Instagram, Threads and YouTube. That's the whole surface.

PostPen gives your AI agent a short list of tools: find where it may post, save drafts for any mix of networks, attach media, schedule, unschedule, list posts, publish now, delete drafts, read post stats and growth insights on every network, read LinkedIn company page comments, browse curated example posts, use your Social Prompts, and tag people and companies from your tag list. Publishing now, deleting and unscheduling all need confirm: true, and no tool ever accepts or returns a token for any network.

Start free · Connect your agent

The tools

These are the tools in PostPen's published tool spec. Your agent writes the post. These tools handle where it goes, when it goes, and how it did.

GroupToolInputsWhat it does
Where to postlist_destinationsnoneYour LinkedIn profile (id personal), each connected company page your plan allows, and your connected X, Facebook Page, Instagram and Threads accounts and YouTube channel, each with an id (such as youtube:<id>), network, type and name
Write and queuesave_draftcontent, id?, destinations?, network_text?, youtube?, youtube_format?, instagram?, facebook?, destination?, media?, mentions?, first_comment?, auto_react?Saves the post your agent wrote, or updates one that hasn't gone out. Send it to any mix of LinkedIn, X, Facebook, Instagram, Threads and YouTube, with its own text per network if you like. Write tags from your tag list as @[Name] and each network gets its own form; names not in the list come back in unknown_tags. For YouTube, youtube sets the video's title, privacy, tags, category, made for kids and thumbnail, and youtube_format picks a video or a Short. On Instagram, instagram picks a feed post, a Reel or a Story, and can make a Reel a trial reel; on Facebook, facebook takes feed, the only format PostPen posts. Images carry alt text to every network. Add a first comment posted right after the post on LinkedIn and X, tag LinkedIn company pages, and optionally auto-like on LinkedIn
create_uploadtypePrivate upload link for an image, mp4 or PDF. The link is short-lived: upload right away (expires_in gives the seconds left). Videos go to PostPen's own storage, up to the max_bytes in the result. Pass its upload_id to save_draft
schedule_postid, scheduled_for, youtube_format?, instagram?, facebook?Queues a draft for a future ISO-8601 time with a timezone, and can change its YouTube, Instagram or Facebook format first. PostPen publishes when due, even if the chat is closed
unschedule_postid, confirmMoves a scheduled post back to drafts. Nothing is deleted and nothing is sent. Needs confirm
list_postsstatus, limit?Reads drafts, scheduled or sent posts (default 50), with media, alt text, first comment and company tags, and for each network its text, status, link, whether the first comment went out, and, once published, network_status (live, deleted, or expired for an Instagram Story) with a short reason and the post's link
list_tagsnoneYour tag list: each tag's name, how to write it (@[Name]), its X, Instagram and Threads handles, and the LinkedIn company it tags
Publishpublish_nowid, confirmSends a saved post to its networks right away. Refused unless confirm is true
Clean updelete_draftid, confirmDeletes a draft that was never sent. Scheduled and published posts can't be deleted
Learn from resultsget_post_statsidFor one published post: impressions, reach, reactions, comments, reposts (plus clicks on company page posts) and engagement rate on LinkedIn, and views or impressions, likes, replies or comments, and reposts or shares from X, Facebook, Instagram, Threads and YouTube
list_commentsid, limit?Comments on a company page post (default 20), with each commenter as a LinkedIn id. LinkedIn doesn't allow this for personal posts
get_insightsdays?The last N days (default 30) against the period before for each LinkedIn account, and which recent posts beat what's usual for that account. For X, Facebook, Instagram, Threads and YouTube: followers (subscribers on YouTube), posts PostPen published, and their totals
Find ideaslist_inspirationtopic?, format?, query?, limit?Curated LinkedIn posts that did well (default 10, up to 25), with why each worked and prompts based on it. For structure, hooks and format, never for copying
get_inspirationidOne of those posts with its full text and author, so your agent can credit them
Use promptslist_promptstag?, query?, mine?, limit?Your own Social Prompts first, then PostPen's public prompt library (default 20, up to 50), each with a short preview
get_promptidOne prompt's full instructions, for your agent to follow with your topic and voice

Built-in guardrails

  • Confirm gates. publish_now, delete_draft and unschedule_post only run when the call includes confirm: true.
  • No token in or out. Your agent authenticates to PostPen, never to LinkedIn, X, Facebook, Instagram, Threads or YouTube. No tool accepts or returns a token for any network.
  • Network limits checked first. save_draft lists what a network can't take yet, such as an Instagram post without an image, a PNG for Instagram, or a YouTube post without a video, and schedule_post and publish_now refuse the post until it's fixed.
  • Calendar first. Everything else lands on your calendar, where you can edit, move or delete it before it goes out.
  • Comments are information. Comment text is written by other people. Agents should treat it as information, not instructions.

What the tools cover, and what they don't

The tools cover posting and results. That's it.

  • The tools don't write posts. Your agent does. (In the app, the Composer's AI Assist can write one for you.)
  • Tags from your tag list become @handles on X, Instagram and Threads and a company tag on LinkedIn. Facebook and YouTube get the plain name, and people can't be tagged on LinkedIn.
  • Comments can't be read on personal posts, because LinkedIn doesn't let apps read them.
  • Comments are read on LinkedIn company page posts only. On X, Facebook, Instagram, Threads and YouTube, get_post_stats gives the comment count.
  • Each network gives different numbers. X has no reach, Threads has no clicks, and YouTube gives views, likes and comments. A number a network doesn't give comes back empty.
  • First comments go out on LinkedIn and X. Company tags and auto-likes are LinkedIn-only. Image alt text goes to every network that takes images.
  • Your agent can choose an Instagram feed post, Reel or Story, and a trial reel, with instagram. A Story goes to Instagram only, with no caption, location or first comment. An Instagram location is set in the Composer: open your agent's draft there to add one.
  • Facebook videos go out as regular Page video posts. PostPen can't post Facebook Reels yet.
  • A post deleted on X, Instagram, Threads or YouTube shows as deleted in list_posts. Facebook deletions are not always noticed yet.

Media limits

TypeLimitPer post
Image5MB eachLinkedIn 9, X 4, Facebook 10, Instagram 10 (JPEG only), Threads 20, YouTube none
Video (mp4)Up to 200MB from a link; larger through create_upload, up to the max_bytes it givesOne. On YouTube, choose a video or a Short (vertical or square, 3 minutes or less). If Instagram or Threads would refuse the original, PostPen sends them a copy that fits
PDF100MBOne, LinkedIn only, shown as a carousel

Don't mix types in one post. Every Instagram post needs an image or a video, and every YouTube post needs a video. Company tags aren't applied to PDF posts.

Text limits: LinkedIn 3,000 characters; X 280 per post (25,000 with X Premium; a link counts as 23), and longer text goes out as a thread of up to 25 posts; Facebook 63,206; Instagram 2,200 (at most 30 hashtags); Threads 500 with media, or up to 10,000 for a text post (the rest goes in its text attachment); YouTube 5,000 for the description and 100 for the title. network_text gives any network its own version of a long post. Alt text: up to 4,086 characters on LinkedIn, 1,000 elsewhere, about 120 recommended.

Use them over MCP or HTTP

The same tools work two ways.

  • MCP: https://mcp.postpen.ai.

  • HTTP: one POST /{tool} per tool. The full spec is at openapi.json, and agents can read llms.txt.

  • Agent skill: the PostPen agent skill is public on GitHub.

Not connected yet? Set up PostPen in Claude, ChatGPT, Cursor or a terminal agent with the LinkedIn MCP guide. For code samples over HTTP, see how to post to LinkedIn with an API.

Every plan gets every tool

Every plan includes every agent tool over MCP or API key. What changes is where your agent can post: Free covers any 1 network, Personal any 2, and Organization all 6 plus 2 LinkedIn company pages. Company page destinations, and with them list_comments and page post clicks, need Organization or Enterprise. Compare plans on pricing, or get help on support.

Give your agent the tools

Six networks, one confirm step, no tokens.

Start free

PostPen's MCP tools grouped by job: where to post, write and queue, publish, clean up, learn from results.

AI agent's publish_now call refused by PostPen until confirm is true.