Publit.Si
X

An X MCP server without the paid X API

Publit.Si's MCP server lets Claude Code, Codex, Cursor or OpenCode write and plan X posts on your own computer. Publit.Si doesn't use X's API: at the planned time it opens the post's copy page, and you post it on x.com yourself.

What your agent does for X

  • Drafts X posts: text, up to 4 images, 1 GIF or 1 video – not mixed.
  • Counts the way get_platform_rules describes it: 280 characters, emojis and most non-Latin characters count 2, every link 23; 25,000 with X Premium.
  • Writes a short X version next to a longer LinkedIn or Threads text in the same draft.
  • Fills your X slots and daily goal like for any platform.
  • At the planned time Publit.Si opens the post's copy page; you post it on x.com and mark it as online.[2]

The tools for X

ToolWhat it does for X
list_backlogFolders still missing on X (missingOn=X), oldest first.
get_platform_rulesFormat post, the weighted 280-character rule (25,000 with X Premium) and the media rule. X has no extra fields.
list_accountsYour X accounts, added by their @name without a login.
get_posting_slotsFree posting times per X account.
get_goal_progressToday's X goal, what's still missing and the streak.
create_draftAn X draft with its own text; backlogItem attaches the folder's images or video.
list_postsPosts with each account's state: an X post waits as HANDOFF until you post it and mark it as online.
get_postOne post's text per account, to shorten a longer text into an X version.

Set it up

  1. Add your X account under Accounts in Publit.Si by its @name. There is no login and no 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 X versions of my three newest LinkedIn drafts.” → list_posts with status=DRAFT, get_post for each, get_platform_rules for X, then create_draft for the X account with a text within the weighted 280 characters.
  • “Plan one X post per free slot this week from my backlog.” → get_posting_slots for the X account, list_backlog with missingOn=X, then one create_draft per slot with plannedFor and backlogItem.
  • “Which X posts are still waiting for me?” → list_posts for the project and reads each account's state; posts you still have to post show HANDOFF.

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]
  • Publit.Si doesn't use X's API and fills in nothing on x.com. At the planned time it opens the post's copy page, and you click Post yourself. There is no Chrome extension for X.[2]
  • No statistics and no replies: Publit.Si reads nothing from X, so get_post_performance, get_account_growth and list_comments return nothing for X.[2]
  • The rules name both 280 and 25,000 characters. Tell your agent when the account has X Premium; the X Premium switch is under Accounts.[2]
  • Your computer must be on when an X post is due, so the copy page can open.[2]

Questions

Can the agent post to X on its own?

No. It creates drafts, and you approve each one under Queue › Review. Publit.Si doesn't post to X either: it opens the copy page, and you click Post on x.com.

Do I need X API access?

No. There is no developer app and no API plan to buy. The account is just its @name, and you post in your own browser.

Can my agent read X statistics?

No. Publit.Si reads nothing from X, so the agent only writes and plans X posts.

Sources

  1. [1] Publit.Si docs: MCP tools: publit.si/docs/guide/mcp
  2. [2] Publit.Si docs: Connect X: publit.si/docs/platforms/x