# X MCP server

> Connect Claude, ChatGPT or Cursor to X (Twitter). Your agent schedules posts and threads with your reply settings, answers DMs and reads your numbers.

Canonical: https://omnisocials.com/x-mcp | Channel page: https://omnisocials.com/x.md | X API: https://omnisocials.com/x-api.md | Pricing: https://omnisocials.com/pricing.md | 14-day free trial: https://app.omnisocials.com/signup

This is the machine-readable version of [omnisocials.com/x-mcp](https://omnisocials.com/x-mcp), maintained for AI agents. Facts checked against the OmniSocials app on October 16, 2026.

- **Server URL:** https://mcp.omnisocials.com
- **Auth:** OAuth sign-in, or an API key for agents that run on their own
- **Discovery file:** https://omnisocials.com/.well-known/mcp.json
- **Docs:** https://docs.omnisocials.com/mcp-server

- **With your AI agent:** Connect Claude, ChatGPT or any MCP client to X with the OmniSocials MCP server. Your agent posts threads with your reply settings, answers your DMs and reads your numbers, with no X developer account.
- **With your coding agent:** Claude Code and Codex add the OmniSocials MCP server with one command, and agents that run on their own use an API key. Or call the X API from your own code.

## What your agent does

Ask in plain words. Your agent picks the MCP server's tools and fits every post to X's limits.

- **Threads of up to 25 posts.** 280 characters each, media on any post, and you choose who can reply. (`create_post`, `get_best_times`)
- **Choose who can reply.** Everyone, people you follow or only people you mention, set on the post. (`create_post`, `update_post`)
- **Answer your X DMs.** Once you switch X DMs on. Each reply uses 2 credits. (`reply_to_inbox`, `get_next_unanswered`)
- **Know what worked.** Replies and bookmarks on every post, and the best time for the next one. (`get_recent_platform_posts`, `get_best_times`)

## Setup

Connected in a minute. One URL and one sign-in. No API key for chat apps.

1. **Connect X in OmniSocials.** Sign in with X on any account tier. No developer account needed.
2. **Add the server to your agent.** Paste one URL as a custom connector, or run one command.
3. **Sign in and pick a workspace.** OAuth in the browser. Agents that run on their own use an API key.

- **Claude:** Customize > Connectors > Add custom connector > Paste the URL. Claude sends you to OmniSocials to sign in. No API key needed. Guide: https://omnisocials.com/claude
- **Claude Code:** `claude mcp add --transport http omnisocials https://mcp.omnisocials.com`. Then type /mcp in Claude Code and sign in to OmniSocials. Guide: https://omnisocials.com/claude-code
- **Codex:** `codex mcp add omnisocials --url https://mcp.omnisocials.com`. Then run codex mcp login omnisocials to sign in. Guide: https://omnisocials.com/codex
- **API key:** `claude mcp add --transport http omnisocials https://mcp.omnisocials.com --header "Authorization: Bearer YOUR_API_KEY"`. For agents that run on their own. Create the key in Settings, API Keys. Docs: https://docs.omnisocials.com/mcp-server

## Tools

24 tools in 5 groups. Your agent picks them from a plain request.

### Publishing

Posts and threads, now or on a schedule. Try asking: "Turn these notes into a thread for Thursday at 9 AM. Only people we follow can reply."

- create_post: Schedule a post or a thread, with who can reply and the labels.
- create_and_publish_post: Post to X right away.
- update_post: Change the text, the thread or the time of a scheduled post.
- upload_media: Upload images or a video from a URL or the chat.
- check_media_compatibility: Check a file's size and format against X's rules first.
- retry_post: Publish a failed post again.

### DMs

Read and answer your X DMs, once you switch them on. Try asking: "Answer the new DMs on X. Leave the sales pitches for me."

- get_next_unanswered: Get the next DM that needs an answer.
- list_inbox_conversations: List your X DM conversations.
- get_inbox_conversation: Read a whole DM conversation.
- reply_to_inbox: Answer a DM in text. Each reply uses 2 credits.
- mark_inbox_read: Skip a DM that needs no answer.

### Insights

What each post did, and when to post the next one. Try asking: "Which X posts got the most bookmarks last month, and when should I post next?"

- get_recent_platform_posts: Your latest X posts with views, likes, replies, reposts, quotes and bookmarks.
- get_post_analytics: The numbers X reports for one post, link clicks too in its first 30 days.
- get_posts_analytics: The numbers for many posts at once, to compare them.
- get_account_analytics: Your followers, who you follow and your post count.
- get_best_times: Your best days and hours from your own posts, or industry defaults until you have 15.

### Approvals

Your team or client signs off before a post goes out. Try asking: "Approve the X posts that are waiting for me."

- list_approval_workflows: The review steps a post can go through.
- approve_post: Approve a post that waits for you.
- reject_post: Send a post back with what to change.
- get_post_approval: Where a post stands in its review.

### Accounts and setup

Which account, which workspace, which hashtags. Try asking: "Which X account is connected, and is it on Premium?"

- list_accounts: The accounts connected to the workspace, with your X tier.
- switch_workspace: Work in another workspace.
- create_hashtag_set: Save hashtags to reuse on posts.
- create_webhook: Get an event when a post is scheduled, published, approved, rejected or fails.

## FAQ

### What is the X MCP server?

It is the OmniSocials MCP server with your X account connected. Your AI agent calls its tools to post threads, answer your DMs and read your numbers on X. The server lives at https://mcp.omnisocials.com, and the same tools post to your other channels too.

### Do I need an X developer account or API plan?

No. You connect X with X's own sign-in, on any account tier, and OmniSocials publishes for you. There is no developer account to set up and no X API plan to pay for.

### Can my agent post threads?

Yes. A thread holds 2 to 25 posts of up to 280 characters each, with up to 4 images or a video on any post. Your agent also sets who can reply (everyone, people you follow or people you mention) and the paid partnership and made with AI labels.

Polls aren't in the MCP server yet. You can add a poll to an X post in the OmniSocials composer.

### Why do some X posts use credits?

X charges for posts that contain a link, and OmniSocials passes that fee through at cost: 20 credits for each post or thread part with an http(s) link. Posts without a link cost nothing extra.

The cost shows in OmniSocials, not in your agent. Credits are set aside when the post is scheduled and only charged once it goes out. A link post your balance can't cover is refused up front, and your agent is told that X link posts aren't enabled on the account.

### Can it answer my X DMs?

Yes, once you switch X DMs on in OmniSocials, which needs 25 credits and someone with billing access. Each DM you receive uses 1 credit and each reply 2, and DMs pause when the balance runs out. Replies are text only.

Messages from before you switched DMs on don't come in, and mentions and replies to your posts stay on X.

### Is there an official X MCP server?

Yes. X launched its own hosted MCP server on June 30, 2026, and TechCrunch reported that it reads the X API with your account's permissions but does not post. The OmniSocials MCP server is for publishing: it schedules your posts and threads, answers your DMs, adds approvals and works with your other channels too.

### How do I connect Claude, ChatGPT or Cursor to X?

Connect X in OmniSocials first. In Claude, open Customize, then Connectors, click Add, choose Add custom connector and paste https://mcp.omnisocials.com. In ChatGPT, add the same URL as a custom MCP server under Plugins; in Cursor, put it in ~/.cursor/mcp.json. Each one sends you to OmniSocials to sign in and pick a workspace.

### Can an AI agent post to X safely?

Yes. Your agent can send a post through an approval workflow: it waits until a teammate or client approves it, and only then goes out at its time. You can also ask your agent to save drafts, or to show you each post before it schedules it.

### Does the X MCP server need a paid plan?

It needs an active OmniSocials plan or the 14-day free trial; without one, the server turns the connection down. The trial needs a card to start, and the MCP server is part of the one plan, like every other feature.

### How much does OmniSocials cost?

One plan with every feature included: $10 per seat per month billed annually, or $12 billed monthly. Team members and client seats cost the same. Every account starts with a 14-day free trial.

## Related

### Set up your agent

- [Claude](https://omnisocials.com/claude)
- [ChatGPT](https://omnisocials.com/chatgpt)
- [Claude Code](https://omnisocials.com/claude-code)
- [Codex](https://omnisocials.com/codex)
- [Cursor](https://omnisocials.com/cursor)
- [Every agent](https://omnisocials.com/mcp)

### X

- [X (Twitter) scheduler](https://omnisocials.com/x)
- [Connect X](https://omnisocials.com/help-center/integrations/x)
- [Best time to post on X](https://omnisocials.com/best-time-to-post-on-twitter)
- [X character limits](https://omnisocials.com/twitter-character-limits)

### For developers

- [MCP server docs](https://docs.omnisocials.com/mcp-server)
- [X (Twitter) API](https://omnisocials.com/x-api)
- [CLI](https://omnisocials.com/cli)

## More machine-readable pages

- [X](https://omnisocials.com/x.md)
- [X API](https://omnisocials.com/x-api.md)
- [All channels](https://omnisocials.com/channels.md)
- [MCP server](https://omnisocials.com/mcp.md)
- [REST API](https://omnisocials.com/api.md)
- [Pricing](https://omnisocials.com/pricing.md)
- [llms.txt](https://omnisocials.com/llms.txt)
