Skip to content

Eleven LinkedIn MCP tools. That's the whole surface.

PostPen gives your AI agent eleven tools for LinkedIn: find where it may post, save drafts, attach media, schedule, unschedule, list posts, publish now, delete drafts, and read stats, comments and growth insights. Publishing now, deleting and unscheduling all need confirm: true, and no tool ever accepts or returns a LinkedIn token.

Start free · Connect your agent

The eleven tools

These are the tools in PostPen's published tool spec (v1.1.0). 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 personal profile (id personal) and each connected company page your plan allows, each with an id, network (linkedin), type and name
Write and queuesave_draftcontent, id?, destination?, media?, mentions?, first_comment?, auto_react?Saves the post your agent wrote (up to 3,000 characters), or updates one that hasn't gone out. Tag company pages, add a first comment posted right after the post, and optionally auto-like from the same account
create_uploadtypePrivate upload link for an image, mp4 or PDF. The URL expires in 2 hours. Pass its upload_id to save_draft
schedule_postid, scheduled_forQueues a draft for a future ISO-8601 time with a timezone. 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, first comment and company tags
Publishpublish_nowid, confirmSends a saved post to LinkedIn 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_statsidImpressions, reach, reactions, comments, reposts (plus clicks on company page posts) and engagement rate for one published post
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 account, and which recent posts beat what's usual for that account

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. No tool accepts or returns a LinkedIn token.
  • 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.

  • PostPen doesn't write posts. Your agent does.
  • People can't be tagged. Only company pages can, through mentions.
  • Comments can't be read on personal posts, because LinkedIn doesn't let apps read them.

Media limits

TypeLimitPer post
Image5MB eachUp to 9
Video (mp4)75KB–200MBOne
PDF100MBOne, shown as a carousel

Don't mix types in one post. Company tags aren't applied to PDF posts.

Use them over MCP or HTTP

The same eleven 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.

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 all eleven

The Free and Personal plans both include all eleven agent tools over MCP or API key. 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

Eleven tools, one confirm step, no tokens.

Start free

PostPen's eleven LinkedIn 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.