X (Twitter) MCP
X (Twitter) MCP server
Connect Claude, Cursor or any MCP client to FoPost, and your agent can draft, schedule and manage X posts. Nothing reaches X until you approve it.
Paste this into your agent
Set up FoPost from fopost.com/agents/mcp-serverTools
Tools that act on X
The hosted server exposes the tools of the FoPost agent. These are the ones that read or write your X account. Each one needs the permission that covers it, granted when you sign in.
Write and schedule
list_accounts- Lists the connected accounts, so the agent finds your X account id.
create_draft_post- Saves a draft for your X account, with its post type, media and settings. Never publishes.
score_draft- Checks a caption against X’s limits and conventions before it is saved.
propose_publish- Proposes publishing a draft now or at a set time. Runs only after you approve.
add_to_queue- Proposes putting a draft in the next free posting slot.
reschedule_post- Moves a scheduled post to a new time.
cancel_post- Cancels deliveries that have not gone out yet.
list_delivery_failures- Lists posts that failed to publish, with X’s own error.
retry_delivery- Proposes retrying a failed delivery.
After publishing
update_post- Edits a draft or scheduled post. X cannot edit a live post through its API.
unpublish_post- Proposes taking a published post down on X.
Inbox
list_inbox- Lists X comments and messages waiting for an answer.
read_inbox_item- Reads one item with its thread.
draft_inbox_reply- Drafts a reply that is sent after you approve.
like_inbox_item- Proposes liking a comment on X.
engage_x_post- Proposes reposting or bookmarking a post.
start_conversation- Proposes opening a private message thread.
Analytics
get_analytics_summary- Summarizes how recent posts performed across your accounts.
get_account_insights- Reads what drives engagement on your X account.
Connect
Connect from Claude or Cursor
One URL, and you sign in to FoPost in the browser. No API key goes in a config file, and the connection stays locked to the workspace you pick.
or add the endpoint yourself
https://api.fopost.com/mcpClaude Code
Terminal
claude mcp add --transport http fopost https://api.fopost.com/mcpCursor
.cursor/mcp.json
{
"mcpServers": {
"fopost": {
"url": "https://api.fopost.com/mcp"
}
}
}Approval
Ask your agent for a post on X
Anything that publishes, schedules or sends is a proposal. The agent prepares it, you approve it in the client, and only then does it reach X.
Ask your agent
Draft a post for X
announcing our spring sale,
check it against X’s limits,
and propose it for tomorrow at 9:00.- 1.
list_accountsLists the connected accounts, so the agent finds your X account id. - 2.
create_draft_postSaves a draft for your X account, with its post type, media and settings. Never publishes. - 3.
score_draftChecks a caption against X’s limits and conventions before it is saved. - 4.
propose_publishProposes publishing a draft now or at a set time. Runs only after you approve. - 5.You approve, and the post goes out to X at the time you agreed.