Publit.Si
LinkedIn

A LinkedIn MCP server for your personal profile

Publit.Si's MCP server lets Claude Code, Codex, Cursor or OpenCode write LinkedIn posts on your own computer: longer texts with images or a video, for anyone or for your connections only, on your free posting slots. LinkedIn gives these apps no statistics, so this page is about writing and planning.

What your agent does for LinkedIn

  • Drafts posts for your personal LinkedIn profile: text, 1–20 images or one video up to 30 minutes – images or a video, not both.
  • Writes within 3,000 characters; get_platform_rules tells it that about 210 show before “…more” and that links in the text get no preview card.
  • Sets fields.visibility: PUBLIC (anyone) or CONNECTIONS (your connections only).
  • Writes a longer LinkedIn text next to a short X version in the same draft.
  • Fills your LinkedIn slots and daily goal with get_posting_slots and get_goal_progress, like for any platform.

The tools for LinkedIn

ToolWhat it does for LinkedIn
list_backlogFolders still missing on LinkedIn (missingOn=LINKEDIN), oldest first.
get_platform_rulesFormat post, the 3,000-character rule and the field visibility (PUBLIC or CONNECTIONS).
list_accountsYour LinkedIn profile with its id and status.
get_posting_slotsFree posting times for your LinkedIn profile.
get_goal_progressToday's LinkedIn goal, what's still missing and the streak.
create_draftA LinkedIn draft with its own text and fields.visibility, optionally on a slot.
list_postsPlanned and published posts with each account's state, so the agent doesn't repeat a topic.
get_postOne post's text per account, to reuse it as the base of a LinkedIn text.

Set it up

  1. Connect your personal LinkedIn profile under Accounts in Publit.Si, with a free self-serve LinkedIn developer app.[2]
  2. Connect Publit.Si's MCP server once in your agent with the lines below. Publit.Si → Settings → MCP for Claude Code, Codex, Cursor & OpenCode shows them with your real path.
  3. Cursor: Publit.Si → Settings → MCP for Claude Code, Codex, Cursor & OpenCode shows the block for ~/.cursor/mcp.json with your real path. Paste it there.
  4. Ask your agent “List my Publit.Si projects”. It calls list_projects and names your projects.
Claude Code – Run once in the publitsi folder (Mac and Linux):
claude mcp add --scope user publitsi -- pnpm --silent --dir "$(pwd)" mcp
Claude Code – Windows (PowerShell, in the folder):
claude mcp add --scope user publitsi -- cmd /c pnpm --silent --dir "$PWD" mcp
Codex – Add Publit.Si's MCP server to ~/.codex/config.toml:
[mcp_servers.publitsi]
command = "pnpm"
args = ["--silent", "--dir", "/path/to/publitsi", "mcp"]
OpenCode – Add Publit.Si's MCP server to ~/.config/opencode/opencode.json:
{
  "mcp": {
    "publitsi": { "type": "local", "command": ["pnpm", "--silent", "--dir", "/path/to/publitsi", "mcp"], "enabled": true }
  }
}

Example prompts

  • “Write a LinkedIn post from this week's strongest Reel and plan it on my next free slot.” → get_post_performance with days=7 and sort=score to find the Reel, get_posting_slots for the LinkedIn profile, get_platform_rules for LINKEDIN, then create_draft with plannedFor set to the free slot.
  • “Draft the same announcement for LinkedIn and X: long for LinkedIn, short for X.” → get_platform_rules for LINKEDIN and X, then one create_draft with both accounts, each with its own text.
  • “Is today's LinkedIn post still missing?” → get_goal_progress for the project, reading LinkedIn's stillMissing, what's planned today and the streak.

Limits

  • It never publishes. create_draft and update_draft only make drafts, and you approve each one under Queue › Review. The MCP server your coding agent connects to has no tool that schedules or publishes.[1]
  • No statistics and no comments: LinkedIn gives these apps neither, so get_post_performance, get_account_growth and list_comments return nothing for LinkedIn.[2]
  • Personal profile only: Publit.Si uses LinkedIn's w_member_social permission, which creates posts on behalf of the signed-in member.[3]
  • CONNECTIONS shows a post to your 1st-degree connections only.[4]
  • The login lasts 60 days and self-serve apps can't renew it. Publit.Si warns five days ahead; then you connect the profile again.[2]

Questions

Can the agent post to LinkedIn on its own?

No. It creates drafts, and you approve each one under Queue › Review. Then your own computer posts it to your profile through LinkedIn's API.

Can it post to a LinkedIn company page?

No. Company pages need an API that LinkedIn only grants after a review. Publit.Si posts to your personal profile.

Can my agent read LinkedIn statistics?

No. LinkedIn gives these apps no statistics and no comments, so the agent only writes and plans for LinkedIn.

Sources

  1. [1] Publit.Si docs: MCP tools: publit.si/docs/guide/mcp
  2. [2] Publit.Si docs: Connect LinkedIn: publit.si/docs/platforms/linkedin
  3. [3] LinkedIn: Share on LinkedIn: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin, checked November 17, 2026
    „Required to create a LinkedIn post on behalf of the authenticated member.“
  4. [4] LinkedIn: Share on LinkedIn: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin, checked November 17, 2026
    „The share will be viewable by 1st-degree connections only.“