AI推文生成工具

一个基于AI的自然语言指令生成并直接发布推文到X(前Twitter)的自定义工具。

  • by Shreeyansh14
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 Shreeyansh14/AI-Agents-with-MCP-Server

使用说明

🧠 MCP Server – AI Tool for Posting on X (Twitter)

This project allows you to create a custom AI-powered tool that can generate and directly post content to X (formerly Twitter) using natural language instructions.

Instead of writing posts manually, you can interact with the AI by giving simple commands like:

“Post a funny one-liner about Monday mornings.”

The AI understands the instruction, generates relevant content, and publishes it to your X account through the API.


⚙️ Tech Stack Used

  • Node.js – Server-side JavaScript runtime
  • Express.js – Web framework for building APIs
  • Gemini GPT-Model – For generating intelligent and context-aware responses
  • X (Twitter) API – To publish generated content directly to X
  • dotenv – To securely manage environment variables (API keys, tokens, etc.)
  • MCP Server SDK – Powers session-based AI interaction and streaming responses