X

xurl

CLI discovered

Details
Command
xurl
Docs
https://github.com/xdevplatform/xurl
Authentication
X OAuth app (client ID and client secret) oauth2 discovered Set up OAuth ↗
$ xurl auth oauth2 --headless

Create an app in the X Developer Console. For the hosted MCP flow, X documents creating an app with OAuth 2.0 enabled, registering redirect URI http://localhost:8080/callback (or setting REDIRECT_URI), and placing CLIENT_ID and CLIENT_SECRET in the MCP client config before running xurl mcp https://api.x.com/mcp as described in Announcing the hosted X MCP. On first run, xurl opens a browser for one-time OAuth login and caches/refreshes the token.