x-mcp MCP Server

An MCP server to create, manage and publish X/Twitter posts directly through Claude chat.

Local serverstdio

What is the x-mcp Server?

x-mcp source profile. From the maintainer documentation: “An MCP server to create, manage and publish X/Twitter posts directly through Claude chat.”

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares TWITTER_API_KEY, TWITTER_API_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_ACCESS_TOKEN_SECRET. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the x-mcp Server

{
  "mcpServers": {
    "x_mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/x-mcp",
        "run",
        "x-mcp"
      ],
      "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"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
TWITTER_API_KEYDeclared in the maintainer’s client configuration.Check documentation
TWITTER_API_SECRETDeclared in the maintainer’s client configuration.Check documentation
TWITTER_ACCESS_TOKENDeclared in the maintainer’s client configuration.Check documentation
TWITTER_ACCESS_TOKEN_SECRETDeclared in the maintainer’s client configuration.Check documentation