Skip to main content

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 SEO and backlink analysis tools 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

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:

  1. Sync Project Dependencies

    uv sync
    

    This installs all dependencies from pyproject.toml into a local virtual environment (.venv).

  2. Activate the Virtual Environment

    For Linux/macOS:

    source .venv/bin/activate
    

    For Windows (PowerShell):

    .venv\Scripts\Activate
    
  3. Start the MCP Inspector

    mcp dev src/universal_mcp_twitter/mcp.py
    

    This will start the MCP inspector. Make note of the address and port shown in the console output.

  4. Install the Application

    mcp install src/universal_mcp_twitter/mcp.py
    

📁 Project Structure

.
├── src/
│   └── universal_mcp_twitter/
│       ├── __init__.py       # Package initializer
│       ├── mcp.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! 🚀

Metadata

Release files for universal-mcp-twitter 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for universal-mcp-twitter 0.1.1
File Size Uploaded Provenance
universal_mcp_twitter-0.1.1.tar.gz 142.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for universal-mcp-twitter 0.1.1
File Interpreter ABI Platform
universal_mcp_twitter-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 168.4 kB

Release files / universal_mcp_twitter-0.1.1.tar.gz

Download URL universal_mcp_twitter-0.1.1.tar.gz
Size 142.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8c63363719744806fd2141f66de8cfda93054e0b427b664d4d2b9d9d94fa565e
BLAKE2b-256 checksum
How to use checksums
96f140f225a1ed8cad5406f40de9b5cc8fd9889e43ab1d12a47cb1f648f87512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Release files / universal_mcp_twitter-0.1.1-py3-none-any.whl

Download URL universal_mcp_twitter-0.1.1-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa065fedb144a36ab1fbe35d418108518c723dcf0cfc0536bde90fe23a685af7
BLAKE2b-256 checksum
How to use checksums
d223652a5011757eddfb8ae9869738c2a403d4121852d132d638f0fbbff486b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.3

Security for universal-mcp-twitter 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page