1. Conduid
  2. Documentation
  3. Twitter AI Agent
MCP server Β· Documentation

Twitter AI Agent

πŸ€– Engage with an interactive Twitter AI agent to post tweets, retrieve recent updates, and schedule tasks effortlessly.

34Low

Scored 7 days ago Β· breakdown

About Twitter AI Agent

Twitter AI Agent is an MCP server in the Documentation category: πŸ€– Engage with an interactive Twitter AI agent to post tweets, retrieve recent updates, and schedule tasks effortlessly.

The repository has 5 stars and 0 forks.

Install

From source
git clone https://github.com/adarshpheonix2810/Twitter-Ai-Agent

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Twitter AI Agent

Powered by Claude · Grounded in docs

I know everything about Twitter AI Agent. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • βœ“README presentThe repository ships documentation.

5 checks have not been run yet.

README

Twitter Ai Agent with Gemini Integration πŸ€–

An intelligent Twitter (X) agent powered by Google's Gemini AI that allows you to post tweets using natural language commands. This project demonstrates the integration of AI with social media APIs to create powerful automation tools.

✨ Features

  • Natural Language Processing: Post tweets using everyday language
  • AI-Powered: Leverages Google's Gemini 2.0 Flash model
  • Real-time Interaction: Command-line interface for seamless interaction
  • Secure: Environment-based configuration for sensitive credentials
  • Extensible: Built with a modular architecture for easy expansion

πŸ› οΈ Tech Stack

  • Backend: Node.js, Express
  • AI: Google Gemini 2.0 Flash
  • APIs: Twitter API v2
  • Protocol: Model Context Protocol (MCP)
  • Authentication: OAuth 1.0a

πŸ“¦ Prerequisites

  • Node.js (v16+)
  • npm or yarn
  • Twitter Developer Account
  • Google Cloud Project with Gemini API enabled

Installation

  1. Clone the repository

    git clone https://github.com/adarshpheonix2810/Twitter-Ai-Agent.git
    cd Twitter-Ai-Agent
    
  2. Install dependencies

    # Install server dependencies
    cd server
    npm install
    
    # Install client dependencies
    cd ../client
    npm install
    
  3. Set up environment variables

    Create a .env file in both client and server directories:

    client/.env

    GEMINI_API_KEY=your_gemini_api_key_here
    

    server/.env

    TWITTER_API_KEY=your_twitter_api_key
    TWITTER_API_SECRET=your_twitter_api_secret
    TWITTER_ACCESS_TOKEN=your_twitter_access_token
    TWITTER_ACCESS_TOKEN_SECRET=your_twitter_access_token_secret
    

πŸƒβ€β™‚οΈ Running the Application

  1. Start the server

    cd server
    node index.js
    
  2. In a new terminal, start the client

    cd client
    node index.js
    
  3. Start interacting! Type your message in the command line, for example:

    Post a tweet saying "Hello from my new AI Twitter agent! #AI #TwitterBot"
    

πŸ› οΈ Project Structure

twitter-ai-agent/
β”œβ”€β”€ client/                   # Client application
β”‚   β”œβ”€β”€ index.js             # Main client file
β”‚   β”œβ”€β”€ package.json         # Client dependencies
β”‚   └── .env                 # Client environment variables
β”œβ”€β”€ server/                  # Server application
β”‚   β”œβ”€β”€ index.js             # Main server file
β”‚   β”œβ”€β”€ twittertool.js       # Twitter API integration
β”‚   β”œβ”€β”€ package.json         # Server dependencies
β”‚   └── .env                 # Server environment variables
β”œβ”€β”€ .gitignore              # Git ignore file
└── README.md               # This file

πŸ”’ Security Considerations

  • Never commit your .env files
  • Keep your API keys secure
  • Use environment variables for all sensitive information
  • Consider implementing user authentication for production use

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.

πŸ“§ Contact

Your Name - Adarsh Singh

Project Link: https://github.com/adarshpheonix2810/twitter-ai-agent

πŸ™ Acknowledgments

🌟 Show your support

Give a ⭐️ if this project helped you!


README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Twitter AI Agent

How do I install Twitter AI Agent?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Twitter AI Agent safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Twitter AI Agent still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.