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_rulesdescribes 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
| Tool | What it does for X |
|---|---|
list_backlog | Folders still missing on X (missingOn=X), oldest first. |
get_platform_rules | Format post, the weighted 280-character rule (25,000 with X Premium) and the media rule. X has no extra fields. |
list_accounts | Your X accounts, added by their @name without a login. |
get_posting_slots | Free posting times per X account. |
get_goal_progress | Today's X goal, what's still missing and the streak. |
create_draft | An X draft with its own text; backlogItem attaches the folder's images or video. |
list_posts | Posts with each account's state: an X post waits as HANDOFF until you post it and mark it as online. |
get_post | One post's text per account, to shorten a longer text into an X version. |
Set it up
- Add your X account under Accounts in Publit.Si by its @name. There is no login and no developer app.[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.
- 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.
- Ask your agent “List my Publit.Si projects”. It calls
list_projectsand names your projects.
claude mcp add --scope user publitsi -- pnpm --silent --dir "$(pwd)" mcpclaude mcp add --scope user publitsi -- cmd /c pnpm --silent --dir "$PWD" mcp[mcp_servers.publitsi]
command = "pnpm"
args = ["--silent", "--dir", "/path/to/publitsi", "mcp"]{
"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_postswithstatus=DRAFT,get_postfor each,get_platform_rulesfor X, thencreate_draftfor 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_slotsfor the X account,list_backlogwithmissingOn=X, then onecreate_draftper slot withplannedForandbacklogItem. - “Which X posts are still waiting for me?” →
list_postsfor the project and reads each account's state; posts you still have to post showHANDOFF.
Limits
- It never publishes.
create_draftandupdate_draftonly 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_growthandlist_commentsreturn 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.
Related
Sources
- [1] Publit.Si docs: MCP tools: publit.si/docs/guide/mcp
- [2] Publit.Si docs: Connect X: publit.si/docs/platforms/x