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
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.
Twitter (X) data for agents: profiles, tweets, search, followers, lists. $0.0006 per call.
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Publish and schedule tweets and threads on X (Twitter) from your AI assistant.