PubNio MCP for X (Twitter)
Connect your MCP client to https://pubnio.com/mcp to let agents turn release notes or docs into validated X posts and threads over OAuth. Preflight checks catch character limits and surface X's exact pass-through create cost before publishing.
PubNio operates this third-party MCP service. Availability depends on platform approval and account permissions.
Connect in 30 seconds.
Add PubNio's hosted Streamable HTTP MCP endpoint to Claude Code, Codex, OpenAI Dots, Cursor, OpenCode, Grok & Grok Bot, or Muse & Muse Code and sign in with browser OAuth.
claude mcp add --transport http pubnio https://pubnio.com/mcp
codex mcp add pubnio --url https://pubnio.com/mcp
codex mcp login pubnio
{
"mcpServers": {
"pubnio": {
"url": "https://pubnio.com/mcp"
}
}
}
opencode mcp add pubnio --url https://pubnio.com/mcp
opencode mcp auth pubnio
{
"schema_version": 1,
"mcp_servers": {
"pubnio": {
"transport": "streamable_http",
"url": "https://pubnio.com/mcp"
}
}
}
{
"tools": [
{
"type": "mcp",
"server_label": "pubnio",
"server_url": "https://pubnio.com/mcp"
}
]
}
{
"tools": [
{
"type": "mcp",
"server_label": "pubnio",
"server_url": "https://pubnio.com/mcp"
}
]
}
Example prompts for X (Twitter).
Agents discover your connected X (Twitter) accounts, run preflight validation, and verify confirmed delivery outcomes.
- "Draft a 4-post X thread summarizing our v2 release notes, validate every item's length, and schedule it for 10:00 America/Los_Angeles."
- "Cross-post our release announcement to LinkedIn and X, adapting the X copy to fit cleanly."
- "Check whether our scheduled X thread confirmed live."
search -> find account and post operations
execute -> list ready X accounts => { accounts: [{ id: "acc_x_01", readiness: "ready" }] }
execute -> create post { text } => { postId: "pst_01j9..." }
execute -> read post until settled => { status: "published" }
Frequently asked questions.
Can Claude Code or Codex publish X threads directly?
Yes. Connect your X account in PubNio, register https://pubnio.com/mcp, and ask your agent to draft, validate, and publish a thread.
What if my X token expires during a multi-platform launch?
PubNio isolates delivery per target: already-published channels like LinkedIn or Facebook stay live, and you only retry X after reconnecting.
Connect your agent to X (Twitter) free.
100 free confirmed publishes per month, unlimited connected accounts at $0, and browser OAuth scoping built in.

