π₯π€ Xmcp β AI-Powered Twitter Posting Tool
About
An Ai agentic tool that creates posts on x automatically using mcp servers.
Details
- Author
- debasmitaas
- GitHub stars
- 4
- Downloads
- 89
- Categories
- Other, AI
Jump to
- AI-generated tweets based on prompts or topics
- Direct posting to Twitter without leaving the terminal
- Secure OAuth 2.0 authentication for Twitter access
- Customizable templates for consistent tweet formatting
- Draft management for saving and scheduling tweets
Install Node.js v14+, clone the Xmcp repository, run npm install, create .env files with your Twitter API credentials and AI API key, then execute npm start to run the application.
π₯π€ Xmcp β AI-Powered Twitter Posting Tool
Xmcp is a command-line tool that leverages AI to assist users in composing and publishing tweets directly to their Twitter (X) accounts. Designed for simplicity and efficiency, Xmcp streamlines the process of creating engaging content with minimal effort.
β¨ Features
- AI-Generated Tweets: Automatically generate tweet content based on prompts or topics.
- Direct Posting: Seamlessly post tweets to your Twitter account without leaving the command line.
- Secure Authentication: Utilizes OAuth 2.0 for secure and authorized access to your Twitter account.
- Customizable Templates: Define templates for consistent tweet formatting.
- Draft Management: Save and manage tweet drafts for future posting.
π Getting Started
Prerequisites
- Node.js v14 or higher
- npm v6 or higher
- Google Gemini API key
- A Twitter Developer Account with API credentials
Installation
1. Clone the repository:
git clone https://github.com/debasmitaas/Xmcp.git
2. Navigate to the project directory:
bashcd Xmcp
3. Installing Dependencies:
npm install
4. Configure environment variables:
- Create a .env file in the root directory.
- You will also need another .env file to add Your AI API.
- Add your Twitter API credentials:
envTWITTER_API_KEY=your_api_key
TWITTER_API_SECRET=your_api_secret
TWITTER_ACCESS_TOKEN=your_access_token
TWITTER_ACCESS_SECRET=your_access_secret
5. Run the application:
```bash
npm start
πΊ Checkout the youtube video here: <br>
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





