🤖 MCP Server — Agent X (Powered by Gemini Flash + Twitter API)
LocalAbout 🤖 MCP Server — Agent X (Powered by Gemini Flash + Twitter API)
Agent X is a Node.js server that uses Google Gemini Flash to generate contextual tweets and posts them through the Twitter API. It is aimed at automating Twitter content and keeps credentials in environment variables.
Key features
- 01Tweet generation with Google Gemini Flash
- 02Posting through the Twitter API
- 03Environment-based credential configuration
- 04Extensible Node.js server
Use cases
- 01Automating contextual Twitter posts
- 02Running an AI-powered content bot
MCP support
The project is described as an MCP server, but the README does not specify MCP tools or interactions exposed to clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project README🤖 MCP Server — Agent X (Powered by Gemini Flash + Twitter API)
Agent X is your autonomous AI agent built using Google Gemini Flash and integrated with the Twitter API, allowing it to post intelligent and contextual tweets on your behalf.
🚀 Features
- ✨ AI-powered tweet generation using Google Gemini Flash LLM
- 🐦 Seamless Twitter posting via
twitter-api-v2 - 🤝 Built-in
.envsupport for secure credentials - 🧠 Agent logic wrapped in an extensible Node.js server
- 🛡️ Lightweight and secure, perfect for automation or content bots
🛠️ Tech Stack
- JavaScript (Node.js)
- Google Gemini Flash LLM API
- twitter-api-v2 npm package
- dotenv for environment management
📦 Installation
- Clone the repo
git clone https://github.com/your-username/mcp-agent-x.git cd mcp-agent-x - Install dependencies
npm install - Environment Variables
TWITTER_API_KEY=your-app-key TWITTER_API_SECRET=your-app-secret TWITTER_ACCESS_TOKEN=your-access-token TWITTER_ACCESS_SECRET=your-access-secret GOOGLE_API_KEY=your-gemini-api-key
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.