---
title: "X (Twitter) MCP server: post from Claude or ChatGPT"
description: "X (Twitter) MCP server for agentic scheduling: Claude, ChatGPT or any AI agent drafts and schedules X (Twitter) posts in PostNext. Drafts wait for you."
url: "https://postnext.io/mcp/x"
language: "en-GB"
---

# X (Twitter) MCP: schedule X (Twitter) posts from your AI agent

X (Twitter) MCP server for agentic scheduling: Claude, ChatGPT or any AI agent drafts and schedules X (Twitter) posts in PostNext. Drafts wait for you.

Human version: [https://postnext.io/mcp/x](https://postnext.io/mcp/x)

Ask your AI assistant to write and schedule X (Twitter) posts for you. The drafts appear in PostNext, and a post is only scheduled when you ask for it.

[Connect PostNext](https://postnext.io/mcp/connect)

## What your assistant can post to X

Posts and threads for X, saved as drafts for you to schedule.

[See the X (Twitter) scheduler](https://postnext.io/channels/x)

### Through your assistant

**Text**

Up to 280 characters, or 25,000 with a paid X account.

**Media**

Up to 4 images or 1 video per post.

**Thread text**

Ask for a thread of 5 to 10 posts. You approve the text before it is saved as a draft.

**Post numbers**

Likes, replies, reposts and impressions for each post.

**Best times**

Paid plans. Ranked by engagement on your posts of the last 90 days.

### In the PostNext app only

**Thread and poll settings**

Set them in the PostNext composer. The draft tool has no thread or poll option.

## Prompts for X posts

A thread, a launch post and last week's results, each from one message.

1. Thread
   Turn this blog post into a thread of 8 posts for X. Keep each post under 280 characters.
   What happens next
   It writes 8 posts in your brand voice and shows them to you. After you approve, it saves them as a draft. You set the thread in the PostNext composer.
2. Launch post
   Write a short X post about our new feature and schedule it for Tuesday at 9:00.
   What happens next
   It saves the post as a draft, then schedules it for Tuesday at 9:00. Most assistants ask you to confirm first.
3. Results
   How did my X posts from last week do?
   What happens next
   It reads the likes, replies, reposts and impressions of each post and names the best one.

[Connect PostNext](https://postnext.io/mcp/connect)

## Post to X from Claude or ChatGPT

Add PostNext to your assistant once. Then ask for X posts in the chat you already use.

- Claude
  Add PostNext as a custom connector
  Customize Connectors+Add custom connector [Claude setup guide](https://postnext.io/ai-agents/claude)
- ChatGPT
  Add PostNext as a custom MCP server
  Plugins+Add custom MCP server [ChatGPT setup guide](https://postnext.io/ai-agents/chatgpt)
- Claude Code
  Add PostNext with one command
  ```
  claude mcp add --transport http --scope user postnext https://mcp.postnext.io/api
  ```
  [Claude Code setup guide](https://postnext.io/ai-agents/claude-code)

1. **Connect X (Twitter) to PostNext** Sign in to PostNext and connect your X (Twitter) account once. PostNext holds the connection, so no token ever reaches your assistant.
2. **Add PostNext to your assistant** Add https://mcp.postnext.io/api as an MCP server in Claude, ChatGPT, Codex or Cursor, then approve the sign-in screen once.
3. **Ask for the post** Describe what you want in plain language. The assistant drafts it and schedules it through PostNext, and you can review it in the calendar before it publishes.

MCP server URL `https://mcp.postnext.io/api`

```
{
  "mcpServers": {
    "postnext": {
      "url": "https://mcp.postnext.io/api",
      "transport": "http"
    }
  }
}
```

## How it works

X (Twitter) MCP server for agentic scheduling: Claude, ChatGPT or any AI agent drafts and schedules X (Twitter) posts in PostNext. Drafts wait for you.

[Tool reference](https://postnext.io/mcp/docs)

## What it can do on each plan

On the free plan it can read your queue, write drafts with your 10 monthly AI credits and schedule up to 10 posts a month. A paid plan adds editing drafts, best times to post, account health and brand profile updates.

[See the X (Twitter) scheduler](https://postnext.io/channels/x)

[ChatGPT](https://postnext.io/ai-agents/chatgpt) [OpenAI dots](https://postnext.io/ai-agents/openai-dots) [Claude](https://postnext.io/ai-agents/claude) [Claude Duet](https://postnext.io/ai-agents/claude-duet) [Claude Cowork](https://postnext.io/ai-agents/claude-cowork) [Claude Code](https://postnext.io/ai-agents/claude-code) [Codex](https://postnext.io/ai-agents/codex) [Cursor](https://postnext.io/ai-agents/cursor) [GitHub Copilot](https://postnext.io/ai-agents/github-copilot) [Windsurf](https://postnext.io/ai-agents/windsurf) [Kiro](https://postnext.io/ai-agents/kiro) [Gemini](https://postnext.io/ai-agents/gemini) [OpenClaw](https://postnext.io/ai-agents/openclaw) [Hermes Agent](https://postnext.io/ai-agents/hermes-agent) [Grok Bot](https://postnext.io/ai-agents/grok-bot) [Grok Build](https://postnext.io/ai-agents/grok-build) [DeepSeek](https://postnext.io/ai-agents/deepseek) [Kimi K3](https://postnext.io/ai-agents/kimi) [Mistral Vibe](https://postnext.io/ai-agents/mistral-vibe) [Muse](https://postnext.io/ai-agents/muse) [Manus](https://postnext.io/ai-agents/manus) [Perplexity Computer](https://postnext.io/ai-agents/perplexity-computer) [NanoClaw](https://postnext.io/ai-agents/nanoclaw) [Paperclip](https://postnext.io/ai-agents/paperclip)

## Use it from the assistant you already have

[MCP (Model Context Protocol)](https://postnext.io/learn/what-is-an-mcp-server) is an open standard that lets an AI assistant work with other apps. With it, Claude, ChatGPT, Codex and Cursor can use your PostNext account after you sign in once.

Channels it can post toX (Twitter) [Instagram](https://postnext.io/mcp/instagram) [LinkedIn](https://postnext.io/mcp/linkedin) [TikTok](https://postnext.io/mcp/tiktok) [Threads](https://postnext.io/mcp/threads)

## Frequently asked questions

What you need to know before connecting.

### Can my assistant post a thread to X?

It can write one. Ask for a thread of 5 to 10 posts, and it saves the text as a draft after you approve it. The draft tool has no thread option, so you set the thread in the PostNext composer before you schedule it.

### Can I see how my X posts did from Claude or ChatGPT?

Yes. Your assistant can read the likes, replies, reposts and impressions of each X post that PostNext published.

### Do I need a paid plan?

No. On the free plan the assistant reads your queue, creates drafts (each uses 1 of your 10 monthly AI credits) and schedules up to 10 posts a month. Editing drafts through the assistant, best-time suggestions, the 30-day account-health summary and brand profile updates need a paid plan.

### Can the assistant publish posts on my behalf?

Yes: the assistant can schedule a draft for a time you choose, and PostNext publishes it then. The free plan includes 10 scheduled posts a month. Most AI clients ask you to confirm each action, and every scheduled post stays visible in PostNext, where you can cancel it until it goes out.

### Is my data secure?

Authentication uses OAuth 2.1 with PKCE. Access tokens are scoped to your team and expire after 30 days of inactivity. Your social credentials are never shared with the AI client.

### How do I revoke access?

Disconnect from your AI client's settings, or open your account page on PostNext and remove the client. Tokens also auto-expire after 30 days of inactivity.

## Run your social posts from your AI assistant

Connect once. Then ask any AI assistant to plan and schedule your posts.

[Connect PostNext](https://postnext.io/mcp/connect)
