Codex
1. Add server
codex mcp add tweetapi --url https://mcp.tweetapi.com/mcp2. Log in
codex mcp login tweetapiGive Codex and Claude Code direct access to current TweetAPI documentation and bounded, read-only Twitter data tools. Connect once through the dashboard, then work from your agent chat.
New accounts include 100 free requests. No credit card required.
TweetAPI hosted MCP
OAuth-protected remote server
Server URL
https://mcp.tweetapi.com/mcpVerified setup
Run each command separately. Adding the server saves its configuration. The login command opens TweetAPI in your browser so you can approve access.
1. Add server
codex mcp add tweetapi --url https://mcp.tweetapi.com/mcp2. Log in
codex mcp login tweetapi1. Add server
claude mcp add --transport http --scope user tweetapi https://mcp.tweetapi.com/mcp2. Log in
claude mcp login tweetapiDashboard authorization
TweetAPI uses OAuth for the MCP connection. Your agent client receives access and refresh tokens after approval, while the selected TweetAPI API key remains behind the dashboard boundary.
Read the Agents and MCP guideSave the remote HTTP MCP URL in your agent client.
Your browser opens the TweetAPI dashboard authorization screen.
Select the TweetAPI key that should back this MCP connection.
The client receives OAuth tokens without exposing your API key to the chat.
Requirements and boundaries
Hosted MCP can search TweetAPI docs and call supported public-data tools. It does not expose posting, engagement, account-secret, or DM operations.
Each live MCP call is forwarded to TweetAPI and consumes the normal quota of the API key selected during authorization.
Authorize through the dashboard. Do not paste API keys, X account tokens, proxy credentials, or private message content into agent prompts.
You need a TweetAPI account, an active API key, and an agent client that supports remote HTTP MCP with OAuth.
Choose the right integration
Your agent needs current TweetAPI docs, exact endpoint parameters, or a bounded read-only public-data lookup during a chat.
Open MCP setup docsYou are building TweetAPI into an application, background job, data pipeline, or server. Keep the API key in server-side environment variables.
Start with 100 free requests or connect an existing dashboard API key.
TweetAPI is an independent third-party API service. Not affiliated with, endorsed by, or sponsored by X Corp.