Twitter MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Twitter MCP Server
An MCP (Model Context Protocol) server that allows LLM agents and developer tools (Continue.dev, Claude Desktop, VS Code MCP clients) to interact with Twitter (X).
Features
π Search recent tweets (read-only)
βοΈ Post tweets (text or images)
πΌ Upload images
π Analyze engagement
π§ Summarize tweets
π· Extract topics & hashtags
Why STDIO?
This server uses JSON-RPC over STDIN/STDOUT (transport="stdio"), as required by MCP.
No open ports (secure by default)
Process-based lifecycle (spawned by client)
Works out-of-the-box with MCP clients
MCP servers are CLI-style tools, not web services.
Authentication
Read-only: Bearer Token (Twitter API v2)
Write / Media: OAuth 1.0a
Media upload β v1.1 API
Tweet creation β v2 API
Environment Variables
TWITTER_BEARER_TOKEN=...
TWITTER_API_KEY=...
TWITTER_API_SECRET_KEY=...
TWITTER_ACCESS_TOKEN=...
TWITTER_SECRET_ACCESS_TOKEN=...
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Hosted MCP server from TwitterAPI.io that gives AI agents read-only access to Twitter/X data. 12 tools: tweet search with X operators, user profiles, a user's latest tweets, followers and followings, replies, quotes, retweeters, mentions and trends. Connect at https://mcp.twitterapi.io/mcp with a TwitterAPI.io API key or account sign-in; usage is paid per result returned. Separately, TwitterAPI.io also offers x402 pay-per-call HTTP endpoints (tweet search, user info, a user's latest tweets) paid in USDC on Base or Solana with no account or API key; see https://docs.twitterapi.io/x402-pay-per-call. The MCP server itself uses an API key or sign-in.
Publish and schedule tweets and threads on X (Twitter) from your AI assistant.
Twitter (X) API alternative for AI agents: tweet search, profiles, followers. $0.0002 per result.