Use xpal as a Python client library, CLI, and stdio MCP server for the X (Twitter) API — construct one client, reach domain namespaces (users, posts, timelines, bookmarks, dms), with credential resolution, lazy dual-version sessions, and built-in rate limiting. Covers library usage, the reflection CLI, the MCP server, credentials/config, rate limits, and the real X API constraints (reply restrictions, communities post-only, DM read scope).
2026-05-31