X

x.com

X is a social platform centered on posts, users, messaging, trends, and advertising. Its developer platform provides APIs and tools for accessing public conversation, managing ads, and building chat or automation integrations.

5 integrations · MCP · REST · CLI

x.com exposes a REST X API at api.x.com/2, an Ads API at ads-api.x.com, hosted MCP servers for X API and Ads, and the xurl CLI; auth is required via bearer tokens, OAuth 2.0, or OAuth 1.0a depending on surface.

discovered 10d ago
MCP servers2
REST · OpenAPI2
CLI1
Credentials
X app Bearer TokenbearerGet token

In the X Developer Console, create or open an app, then copy the app's Bearer Token from its keys/tokens page. The docs describe Bearer Token generation as part of app credentials in Apps and the quickstart in Make Your First Request.

OAuth 2.0oauth2
OAuth 2.0 — pre-registered app required

This server does not support automatic client registration (no DCR or CIMD), so the MCP client cannot register itself. Create an OAuth app in the provider's developer settings, allow-list your MCP client's OAuth callback URL as a redirect URL, and give the client that app's client ID and secret. Then connect and approve access in the browser.

X OAuth 1.0a app + user tokenscompoundGet key

In the X Developer Console, create or open an app and copy its API Key and API Key Secret. For OAuth 1.0a user-context access, also obtain an Access Token and Access Token Secret for a user authorized against that app. X documents these app credentials in Apps and notes OAuth 1.0a user-context support in Authentication.

conventions · 0/8 published

Publish these signals → /publishing