Skip to content

Releases

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 19:19
  • Rewritten in Rust: one native binary, 9 ms start-up (was 451 ms) and 7 MB RAM (was 82 MB); no Node.js runtime needed.
  • Same 10 tools and 69 actions; 123 recorded cases from 1.0.0 replay identically (rust-anything).
  • Fixed: actions sharing a parameter used the first action's default (quotes asked for 10 instead of 20, muted for 20 instead of 50, empty lists update sent private:false).
  • Fixed: x-mcp auth opened the wrong authorize URL; it now uses x.com/i/oauth2/authorize.
  • Fixed: X_UPLOAD_BASE was ignored; uploads now honour it.
  • Cleaner tool schemas: one property per parameter with per-action ranges, instead of duplicated anyOf lists.
  • Invalid arguments return a structured invalid_params error from the action; null counts as "not set".
  • HTTP transport: JSON or SSE replies, progress streaming for uploads, DNS-rebinding check.
  • Published as prebuilt binaries on npm (@el4cteo/x-mcp), crates.io (x-twitter-mcp) and GitHub Releases.
  • New logo.

x-mcp 1.0.0

Choose a tag to compare

@EL4CTEO EL4CTEO released this 31 Oct 11:14

x-mcp 1.0.0 An MCP server for X (Twitter), built for AI agents: 10 grouped tools with 69 actions. ### Highlights - Posts and threads — publish, reply, quote, create threads, search recent/full archive, counts, conversations, likers/reposters/quotes, hide replies. - Timelines and users — home/user timelines, mentions, likes, bookmarks, profiles, followers, follows, mutes, blocks. - Lists, Spaces, trends and DMs — manage Lists, read Spaces, location/personalized trends, send and read Direct Messages. - Media — upload with the v2 chunked flow (v1.1 fallback for OAuth 1.0a), check processing, and view media: photos are returned as MCP image content; videos are sampled into frames when ffmpeg is installed. - Authentication — OAuth 2.0 PKCE with automatic refresh, OAuth 1.0a, and app-only bearer tokens. - Performance — keep-alive HTTP, batched reads, TTL cache with request coalescing, per-endpoint rate-limit tracking, compact normalised payloads. - Safety — read-only and dry-run modes, SSRF-safe media downloads, upload roots and extension allowlists, HTTP bearer auth, structured errors with recovery hints. - MCP-native — tools, resources (x://me, post/user/list templates), prompts, progress notifications, stdio and Streamable HTTP transports. ### Requirements Node.js 22.18+. ffmpeg is optional and only needed to extract video frames. ### Quick start bash npm install npm run build # public reads export X_BEARER_TOKEN="..." # user context: posting, DMs, bookmarks node dist/index.mjs auth --client-id YOUR_OAUTH2_CLIENT_ID node dist/index.mjs ### Add to an MCP client json { "mcpServers": { "x": { "command": "node", "args": ["/absolute/path/to/x-mcp/dist/index.mjs"], "env": { "X_BEARER_TOKEN": "..." } } } } The npm package is published as @el4cteo/x-mcp. ### Tool interface Ten domain tools each take an action plus its parameters: json { "action": "search", "query": "mcp -is:retweet", "max_results": 20 } Full documentation, tool/action catalogue and configuration reference are in the README.