# X MCP: your agent publishes on X

Connect Claude, ChatGPT or Cursor to X in 1 minute. Ask for the post in the chat, check the preview, and it publishes or schedules it.

URL: https://wyroapi.com/en/x-mcp

## What can your agent do on X?

- Publish posts with an optional image or video.
- Fit a long text into 280 characters before publishing it.
- Schedule posts for a date and time with `programar_para`.
- Show you the preview of every post before it goes out.
- Check whether a post went out, and why it failed if it did, with `wyro_estado_post`.

## X rules the MCP already applies

If a post breaks a rule, your agent gets the error with the fix and corrects it before publishing.

- Up to 280 characters of text on X.
- The image or video is optional.
- X counts by weight: each link counts as 23 characters and each emoji as 2.
- Scheduling: an ISO 8601 date with a time zone in `programar_para`.
- On a real account, nothing goes out without your explicit confirmation.

## Set it up in 1 minute

Pick one option. Both use the same MCP server.

### With your account (Claude, ChatGPT, Cursor)

Add this URL as a connector. The client opens the wyro sign-in: no key to copy.

```
https://wyroapi.com/mcp/auth
```

- In Claude (web, desktop or Cowork): **Customize** → **Connectors** → **Add custom connector**. Name: `wyro`. URL: the one above.
- In ChatGPT and Cursor, add it as a remote MCP server with the same URL.
- In Claude Code: `claude mcp add --transport http wyro https://wyroapi.com/mcp/auth`

### Without signing up: your test link

A personal link with a test key. It lasts 72 hours and simulates all 8 networks. It works in any client that takes a URL.

```
https://wyroapi.com/mcp/k/YOUR_KEY
```

```
curl -X POST https://wyroapi.com/v1/sandbox
```

### Then ask for it in the chat

Write "Connect my X". Your agent calls `wyro_conectar_cuenta` and gives you a link: you sign in with X's official login and come back to the chat. You never share your password.

## The MCP tools

| Tool | What it does |
| --- | --- |
| `wyro_empezar` | Creates a test key if there is none and explains the next step. |
| `wyro_cuentas` | Lists the connected accounts, simulated and real. |
| `wyro_conectar_cuenta` | Returns the link to connect a real account with the network's official login. |
| `wyro_publicar` | Publishes or schedules. On real accounts it asks for confirmation first. |
| `wyro_estado_post` | Status and preview of a post. |

## Prompts for X

**Connect X**

> Connect my X account with wyro and let me know when it's ready.

**Short post with a link**

> Write a post for X under 280 characters about [topic], with a link to [URL]. Remember the link counts as 23.

**From LinkedIn to X**

> Turn this LinkedIn post into a post for X that fits in 280 characters: [text].

**Three days in a row**

> Schedule these 3 posts on X, one per day at noon: [texts].

**X and Threads**

> Publish this announcement on X and Threads, fitting the length to each network: [text].

## FAQ

**Can Claude post to X (Twitter)?**
Yes. With the wyro MCP, Claude publishes and schedules posts on X and fits the text to the 280-character limit.

**What happens if the text is over 280 characters?**
Your agent gets the text_too_long error with the limit and shortens the text before publishing.

**Do I need to pay for the X API?**
No. You pay Wyro per connected account; X API access is on us.

**How much does the X MCP cost?**
Trying it is free with no sign-up, on simulated accounts. When you connect your real X account you get 7 free days; after that, USD 5 per connected account per month.

**Can my agent publish without me seeing it?**
Not on a real account: `wyro_publicar` asks for your confirmation before publishing, and every post comes with a preview link.

**Does it work with ChatGPT and Cursor, or only with Claude?**
With any client that uses remote MCP servers: Claude, ChatGPT, Cursor, Claude Code and Codex. The sign-in URL (https://wyroapi.com/mcp/auth) is supported by Claude, ChatGPT and Cursor.

## Next steps

- [X API: the same posting with one REST call](https://wyroapi.com/en/x-api)
- [Social media MCP: all 8 networks](https://wyroapi.com/en/social-media-mcp)
- [MCP server documentation](https://wyroapi.com/en/docs/mcp)
- [Guide: connect Claude in 1 minute, with 26 prompts](https://wyroapi.com/en/guide)

## Common questions

- [Can ChatGPT post to social media?](https://wyroapi.com/en/can-chatgpt-post-to-social-media)
- [How to schedule social media posts with Claude Code](https://wyroapi.com/en/schedule-social-media-posts-with-claude-code)
- [Best MCP server for social media posting](https://wyroapi.com/en/best-mcp-server-for-social-media)
