twitter-mcp-server

twitter-mcp-server

1

The project is a Model Context Protocol (MCP) server enabling AI models to interact with Twitter by using the agent-twitter-client package, without direct access to the Twitter API. It supports various authentication methods, includes extensive documentation, and offers integration with Grok for enhanced Twitter interactions.

agent-twitter-client-mcp

A Model Context Protocol (MCP) server designed to integrate with Twitter using the agent-twitter-client package, facilitating AI model interactions with Twitter without API access.

Features

  • Authentication Options:
    • Cookie-based authentication (recommended)
    • Username/password authentication
    • Twitter API v2 credentials
  • Tweet and User Operations:
    • Fetch tweets, send tweets, create polls, and more.
    • Get user profiles, follow users, and manage connections.
  • Grok Integration:
    • Interact with Twitter's interface, continue conversations, and access Twitter's data in real-time.

Documentation

  • Developer, Testing, Agent, and Contributing Guides are available.

Quick Start

  • Installation and basic usage instructions are provided, including setup for different environments and Docker usage.

Tools and Testing

  • Interactive command-line interface for testing various MCP functions.

Troubleshooting

  • Offers solutions for authentication, operational errors, and server issues.

Development

  • Prerequisites, setup instructions, and environment variables needed for development are described.

Security Considerations

  • Recommendations for secure credential storage and API rate limiting.

License

  • MIT License.