Twitter Universal MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Twitter Universal MCP Serverpost a tweet saying 'Hello from MCP!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Twitter Universal MCP Server
This repository contains an implementation of an Twitter Universal MCP (Model Context Protocol) server. It provides a standardized interface for interacting with Twitter's tools and services through a unified API.
The server is built using the Universal MCP framework.
This implementation follows the MCP specification, ensuring compatibility with other MCP-compliant services and tools.
Usage
You can start using Twitter directly from agentr.dev. Visit agentr.dev/apps and enable Twitter.
If you have not used universal mcp before follow the setup instructions at agentr.dev/quickstart
Related MCP server: Slack Universal MCP Server
Available Tools
The full list of available tools is at ./src/universal_mcp_twitter/README.md
Local Development
š Prerequisites
Ensure you have the following before you begin:
Python 3.11+ (recommended)
uv (install globally with
pip install uv)
š ļø Setup Instructions
Follow the steps below to set up your development environment:
Sync Project Dependencies
uv syncThis installs all dependencies from
pyproject.tomlinto a local virtual environment (.venv).Activate the Virtual Environment
For Linux/macOS:
source .venv/bin/activateFor Windows (PowerShell):
.venv\Scripts\ActivateStart the MCP Inspector
mcp dev src/universal_mcp_twitter/server.pyThis will start the MCP inspector. Make note of the address and port shown in the console output.
Install the Application
mcp install src/universal_mcp_twitter/server.py
š Project Structure
.
āāā src/
ā āāā universal_mcp_twitter/
ā āāā __init__.py # Package initializer
ā āāā server.py # Server entry point
ā āāā app.py # Application tools
ā āāā README.md # List of application tools
āāā tests/ # Test suite
āāā .env # Environment variables for local development
āāā pyproject.toml # Project configuration
āāā README.md # This fileš License
This project is licensed under the MIT License.
Generated with MCP CLI ā Happy coding! š
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, schedule, and publish social posts, manage accounts, and read analytics as MCP tools.
Twitter/X read-only MCP server ā 12 tools: search, users, tweets, followers, timelines, trends.
Hosted MCP for X/Twitter and Reddit. 12 read-only tools, no API keys, free during beta.
Hosted MCP messaging across owners, tools, and machines, with readable transcripts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that enables programmatic interaction with Twitter API, allowing users to post tweets, search for content, and retrieve user timelines through standardized MCP tools.9MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Slack's tools and services through a unified API, enabling integration with MCP-compliant applications.MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized MCP interface for interacting with Shopify tools and services, enabling unified API access and compatibility with MCP-compliant clients.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with Reddit's tools and services through a unified API, enabling seamless integration with MCP-compliant applications.5MIT