# X (Twitter)

X (Twitter) is an MCP server for Claude Code to post tweets, search posts, and manage DMs, lists, and Community Notes from your editor.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2522 installs
- Author: twitter
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/twitter
- Updated: 2025-11-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/x-twitter

## What it does

The server exposes a toolkit for working with X: compose and send tweets, search posts and communities, handle direct messages, manage lists, bookmarks, and likes. Read timelines, search news, track post analytics, add captions and alt text to media. Includes tools for Community Notes — rate existing notes or create new ones on other posts.

Connects via HTTP to `https://twitter.run.tools`. You need X credentials; the server forwards requests to a remote endpoint that calls the platform API. Installation steps vary by editor: Claude Code uses `claude mcp add`, Cursor needs JSON config, GitHub Copilot requires its own settings format.

## Requirements
- Remote server: `https://twitter.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http twitter https://twitter.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add x-twitter --url https://twitter.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "x-twitter": {
            "url": "https://twitter.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "x-twitter": {
            "type": "http",
            "url": "https://twitter.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http x-twitter https://twitter.run.tools
```

## When to use it
- Post tweets and messages to X from an agent
- Search posts and news by keyword
- Manage lists, follows, likes, and bookmarks
- Send and receive direct messages
- Create or rate Community Notes on posts

## Example prompts
- Post about the new 2.0 release with #launch hashtag
- Find posts mentioning my company and show the most popular ones
- Create a sales contacts list and add five people to it

## Similar
- [twitter-automation](https://affpapa.org/en/nevibecode/skills/twitter-automation.md) — skill · 1000000 installs
- [twitter](https://affpapa.org/en/nevibecode/skills/resciencelab-twitter.md) — skill · 2100 installs
- [twitter-search](https://affpapa.org/en/nevibecode/skills/twitter-search.md) — skill · 136 installs
- [Social Profile Lookup — Twitter, GitHub, LinkedIn](https://affpapa.org/en/nevibecode/mcp/social-profile-lookup-twitter-github-linkedin.md) — MCP server · 6933 installs
- [analyzing-competitor-twitter-profile-content](https://affpapa.org/en/nevibecode/skills/analyzing-competitor-twitter-profile-content.md) — skill · 939 installs
- [twitter-ai-influencer-manager](https://affpapa.org/en/nevibecode/agents/twitter-ai-influencer-manager.md) — subagent · 510 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
