MCP.so
登录

🐦 X-Post MCP 🚀

@subhadeeproy3902

关于 🐦 X-Post MCP 🚀

A Model Context Protocol (MCP) server that allows interaction with the X API, along with a client to interact with the server using Google's Gemini AI.

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

subhadeeproy3902

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "x-post-mcp": {
      "command": "bun",
      "args": [
        "run",
        "dev"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is 🐦 X-Post MCP 🚀?

X-Post MCP is a client-server application that enables AI models to create and publish posts on X (formerly Twitter) through a standardized interface using the Model Context Protocol (MCP). It integrates Google Gemini AI models with the X platform, allowing AI assistants to generate and post content.

How to use 🐦 X-Post MCP 🚀?

Install prerequisites (Bun v1.2.5+, X API credentials, Google Gemini API key). Clone the repository, install dependencies in both server and client directories, and create .env files with API keys. Start the server with bun run dev (listens on port 3001) and the client with bun run index.ts. Interact via the chat interface to instruct the AI to post to X.

Key features of 🐦 X-Post MCP 🚀

  • Seamless integration with X (Twitter) API v2
  • AI-powered post creation using Google Gemini models
  • MCP server exposes a createPost tool
  • Interactive chat interface for testing
  • Secure handling of API credentials
  • Automatic truncation of posts exceeding X's character limit

Use cases of 🐦 X-Post MCP 🚀

  • Automating social media posts from AI assistants
  • Generating and publishing AI-created content on X
  • Testing MCP-based tool integration with Twitter

FAQ from 🐦 X-Post MCP 🚀

What does 🐦 X-Post MCP 🚀 do?

It allows AI models (via Gemini) to post to X (Twitter) by exposing a MCP tool called createPost. Users interact through a chat client that translates requests into AI-generated tweets.

What prerequisites are needed to run 🐦 X-Post MCP 🚀?

You need Bun v1.2.5 or later, X (Twitter) API credentials (API key, secret, access token, access secret), and a Google Gemini API key.

How do I obtain X API credentials for 🐦 X-Post MCP 🚀?

Register a developer account on the X Developer Portal, create a project and app, enable OAuth 1.0a with “Read and Write and Direct Messages” permissions, and generate consumer keys and access tokens.

How does the client communicate with the server in 🐦 X-Post MCP 🚀?

The server uses Server-Sent Events (SSE) for communication. The client connects to the MCP server and sends commands via the chat interface.

What happens if a post exceeds X’s character limit?

The server automatically truncates the post to fit within X’s character limit before publishing.

评论

其他 分类下的更多 MCP 服务器