For Claude, ChatGPT, Codex and Cursor
X (Twitter) MCP server.
Flaghand is an X (Twitter) MCP server for posting. Your agent writes the post or thread, you approve it with your passkey, and Flaghand posts exactly that.
Server URL
https://app.flaghand.com/mcp
- ClaudeCustomize › Connectors › Add custom connectorPaste the URL, then Connect.
- ChatGPTPlugins › + › Add custom MCP serverChoose OAuth. Business, Enterprise and Edu, on the web.
- Claude Code
claude mcp add --scope user --transport http flaghand https://app.flaghand.com/mcpThen /mcp to sign in. - Codex
codex mcp add flaghand --url https://app.flaghand.com/mcpIt opens the sign-in. - CursorAdd to CursorThen connect Flaghand in its MCP settings.
- Gemini CLI
gemini extensions install https://github.com/flaghand/flaghandRestart, then /mcp auth flaghand.
Every app signs in with your passkey. No token to paste.
Your agent writes. You approve.
- Drafts posts and threads, with photos, a video or a poll.
- Shows each one exactly as X will, counted as X counts.
- Asks you. Only your passkey approves.
- Posts it now or at its time, then checks the live post.
- LinkedIn too, on the same server.
What it doesn’t do.
- MessagesIt never asks X for DM access.
- Likes and followsPosting only.
- SearchIt doesn’t read X for your agent.
- ScrapingOnly X’s official API.
X MCP questions.
Is there an X (Twitter) MCP for Claude?
Yes. In Claude, open Customize › Connectors › Add custom connector, add https://app.flaghand.com/mcp and sign in with your passkey. It works on Claude Free, Pro and Max (Free allows one custom connector), and in Claude Code with one command.
Is there an official X MCP server?
Yes, for reading. X hosts one at api.x.com/mcp for searching and reading X, bookmarks and Articles; when we checked on October 25, 2026, it listed no tool that creates a post. Flaghand is for posting, with your approval.
How do I connect X to ChatGPT?
On ChatGPT Business, Enterprise or Edu, on the web: Plugins › + › Add custom MCP server, enter https://app.flaghand.com/mcp, choose OAuth and sign in. On Pro, OpenAI’s help describes read access only, and it doesn’t offer custom servers on Plus.
Can Claude post tweets?
With Flaghand, once you approve. Claude drafts the post or thread, checks it and asks you. You approve the exact posts with your passkey, and Flaghand posts them, now or at their time, then checks the live post.
Is it safe for my X account?
Flaghand posts through X’s official API, and you connect with X’s own sign-in: no password, no cookies, and it never asks for DM access. Your agent can’t approve or post; only your passkey can. Disconnect it any time.
Can it read X, like posts or send DMs?
No. It posts for you and reads back only its own posts, to check them. No search, no likes or follows, no DMs. For reading X, X’s own MCP server is the tool.
What does it cost?
$19 a month or $190 a year, with everything in it, including 300 X posts a month, 30 with a link. 7 days free to draft. No card to start. Add one when you approve your first post, or by day 7 to keep drafting. Cancel anytime.
Which apps work with it?
Any app that adds a remote MCP server and signs in: Claude, ChatGPT Business, Enterprise and Edu, Claude Code, Codex, Cursor, Gemini CLI, VS Code and more. Agents can use Flaghand’s API or CLI too.
Guides.
- LinkedIn MCP for Claude: connect LinkedIn and X to Claude
- Connect LinkedIn to ChatGPT: a LinkedIn and X MCP plugin
- LinkedIn MCP for Claude Code: connect LinkedIn and X to Claude Code
- LinkedIn MCP for Codex: connect LinkedIn and X to Codex
- LinkedIn MCP for Cursor: connect LinkedIn and X to Cursor
- LinkedIn MCP for Gemini: connect LinkedIn and X to Gemini, Gemini CLI and Antigravity
- Posting to X from an AI agent: the APIs and MCP servers, compared
- How to let an AI agent post on social media safely
- X API pricing, explained for people who post
- Social media schedulers, side by side
- All guides
For agents: this page in Markdown, the setup guide and llms.txt.
