X (Twitter)

X (Twitter)

Create, manage and publish X/Twitter posts directly through Claude chat.

63
Stars
22
Forks
0
Releases

Overview

X(Twitter) MCP server enables Claude chat users to create, manage, and publish X/Twitter posts directly from Claude. It supports composing single tweets and threads, saving drafts, and publishing or deleting drafts from within Claude. The server can be installed automatically via Smithery or manually, requiring UV to run locally and a claude_desktop_config.json with the appropriate command, directory, and environment variables. To operate, users must supply their X API credentials (API key and secret, access token, and access token secret) in the environment, and configure the path to the MCP repository. The README provides usage examples such as tweeting a message, creating a thread, showing drafts, publishing drafts, and deleting drafts. Setup steps include installing UV, creating the claude_desktop_config.json, obtaining X API credentials (from X API Developer Portal, with Read/Write permissions and Web App type, callback URL http://localhost/), updating the config, and restarting Claude. Troubleshooting advises ensuring UV is installed, using the full path if necessary, verifying credentials, and confirming the configured path matches the repository location.

Details

Owner
vidhupv
Language
Python
License
MIT License
Updated
2025-12-07

Features

Create and publish posts from Claude

Allows creating and publishing X/Twitter posts directly from Claude chat, including threads.

Draft management

View, publish, and delete draft posts from within Claude.

Tweet and thread support

Compose single tweets or multi-tweet threads for publication.

Smithery installation option

Optional automatic installation via the Smithery CLI.

Manual installation and config

Step-by-step manual setup, including claude_desktop_config.json configuration.

X API credentials integration

Uses TWITTER_API_KEY, TWITTER_API_SECRET, TWITTER_ACCESS_TOKEN, and TWITTER_ACCESS_TOKEN_SECRET for authentication.

Local runtime with UV

Runs the MCP server locally using UV with a specified repository path.

Troubleshooting guidance

Provides guidance for common setup issues, credential verification, and path checks.

Audience

Claude Desktop usersCreate, manage, and publish X/Twitter posts directly within Claude chat.