{"repo":"xdevplatform/xmcp","free":true,"listed":false,"github":"https://github.com/xdevplatform/xmcp","clone":"git clone https://github.com/xdevplatform/xmcp.git","description":"MCP server for the X API","language":"Python","stars":851,"topics":[],"license":null,"category":"mcp-servers","readme_excerpt":"X API FastMCP Server Run a local MCP server that exposes the X API OpenAPI spec as tools using FastMCP. Streaming and webhook endpoints are excluded. Prerequisites - Python 3.9+ - An X Developer Platform app (to get tokens) - Optional: an xAI API key if you want to run the Grok test client Setup (local) 1. Create a virtual environment and install dependencies: - python -m venv .venv - source .venv/bin/activate - pip install -r requirements.txt 2. Create your local .env : - cp env.example .env - Required values (do not skip): - X OAUTH CONSUMER KEY - X OAUTH CONSUMER SECRET - X BEARER TOKEN (required for this setup; keep it set even if using OAuth1) - OAuth1 callback (defaults are fine): - X OAUTH CALLBACK HOST (default 127.0.0.1 ) - X OAUTH CALLBACK PORT (default 8976 ) - X OAUTH CALLBACK PATH (default /oauth/callback ) - X OAUTH CALLBACK TIMEOUT (default 300 ) - Server settings (optional): - X API BASE URL (default https://api.x.com ) - X API TIMEOUT (default 30 ) - MCP HOST (default 127.0.0.1 ) - MCP PORT (default 8000 ) - X API DEBUG (default 1 ) - Tool filtering (optional, comma-separated): - X API TOOL ALLOWLIST - Optional Grok test client: - XAI API KEY - XAI MODEL (default grok-4-1-fast ) - MCP SERVER URL (default http://127.0.0.1:8000/mcp ) - Optional OAuth2 token generation: - CLIENT ID - CLIENT SECRET - X OAUTH ACCESS TOKEN - X OAUTH ACCESS TOKEN SECRET (optional) - Optional OAuth1 debug output: - X OAUTH PRINT TOKENS - X OAUTH PRINT AUTH HEADER 3. Register the call","default_branch":null,"files":null,"tree":[],"storefront":"/r/xdevplatform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xdevplatform/xmcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}