X (Twitter)

Integrates with Twitter/X API using dual OAuth authentication (1.0a and 2.0) to enable tweet posting with media attachments, tweet

mbelinky 21 ↓ 7.6k
Claude CodeClaude DesktopGeneric
View source ↗

This MCP server provides Twitter/X API integration with dual OAuth authentication support (1.0a and 2.0), enabling tweet posting with media attachments, tweet searching, and tweet deletion through a comprehensive rate-limiting system designed for free-tier API usage. Built by Mariano Belinky using TypeScript with the twitter-api-v2 library and MCP SDK, it features intelligent media handling with base64 encoding, automatic fallback mechanisms for API endpoint failures, cross-authentication compatibility, and built-in rate limiting with daily quotas (17 tweets/deletes per day, 15-minute search intervals). The implementation includes robust error handling, v2 media upload support for OAuth 2.0, v1.1 fallback for OAuth 1.0a delete operations, and comprehensive test coverage including end-to-end functional tests, making it valuable for social media automation, content management workflows, and building AI assistants that need reliable Twitter integration with proper API usage controls.

Source

Repository: https://github.com/mbelinky/x-mcp-server

Maintain X (Twitter)?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

X (Twitter) on getagentictools
[![X (Twitter) on getagentictools](https://getagentictools.com/badge/mcp/mbelinky-x-mcp-server.svg)](https://getagentictools.com/mcp/mbelinky-x-mcp-server?ref=badge)