twitter.com
Twitter, now branded as X, is a social networking platform for publishing and consuming short-form posts, media, conversations, and related account and advertising data. Its developer platform provides programmatic access to X content and account capabilities through APIs and AI-tool integrations.
twitter.com exposes two documented HTTP API generations (current v2 and legacy v1.1), plus hosted MCP endpoints for the API and docs, and an official `xurl` CLI used to authenticate and bridge MCP access.
- Hosted X MCPdiscovered
- X Docs MCPdiscovered
- Twitter API v2discovered
- Twitter API v1.1 (legacy)discovered
- xurldiscovered
Create an app in the X Developer Console and use the quickstart in Make your first request to obtain API credentials. The X API v2 OpenAPI defines a BearerToken security scheme, and X's hosted MCP announcement says the bridge injects a fresh Bearer token after OAuth login. For MCP, the easiest path is to create an app with OAuth 2.0 enabled in the console, register redirect URI http://localhost:8080/callback, then authenticate through xurl as described in Announcing the hosted X MCP.
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.
conventions · 0/8 published
- integrations.json✗
/.well-known/integrations.json - llms.txt✗
/llms.txt - API catalog✗
/.well-known/api-catalog - OpenAPI document✗
/api/schema/, /openapi.json, /swagger.json, /api/openapi.json, or /v1/openapi.json - MCP server card✗
/.well-known/mcp/server-card.json - OAuth protected resource✗
/.well-known/oauth-protected-resource - Agent card✗
/.well-known/agent-card.json - Agent skills✗
/.well-known/agent-skills/index.json
Publish these signals → /publishing