x-mcp-server MCP Server

An enhanced Model Context Protocol (MCP) server for X that adds OAuth 2.0 support, v2 API media uploads, and comprehensive rate limiting to the original implementation.

Local serverstdioMIT

What is the x-mcp-server MCP Server?

x-mcp-server source profile. From the maintainer documentation: “An enhanced Model Context Protocol (MCP) server for X that adds OAuth 2.0 support, v2 API media uploads, and comprehensive rate limiting to the original implementation.”

Installation

The documented npm package is @mbelinky/x-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares API_KEY, API_SECRET_KEY, ACCESS_TOKEN, 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 MCP Server

{
  "mcpServers": {
    "twitter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mbelinky/x-mcp-server"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY",
        "API_SECRET_KEY": "YOUR_API_SECRET_KEY",
        "ACCESS_TOKEN": "YOUR_ACCESS_TOKEN",
        "ACCESS_TOKEN_SECRET": "YOUR_ACCESS_TOKEN_SECRET"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
API_KEYDeclared in the maintainer’s client configuration.Check documentation
API_SECRET_KEYDeclared in the maintainer’s client configuration.Check documentation
ACCESS_TOKENDeclared in the maintainer’s client configuration.Check documentation
ACCESS_TOKEN_SECRETDeclared in the maintainer’s client configuration.Check documentation