0n3
MCP servers · X (Twitter) · MCP server

Connect Gemini CLI to X (Twitter)

One line gives Gemini CLI your X (Twitter) account as tools: 16 endpoints, tweets, users, dm, called with your own connection. No key in the prompt, a receipt for every call, revoke Gemini CLI's access alone any time.

Get the line for Gemini CLIConnect X (Twitter) first

Three steps

  1. Create a free 0n3 account and connect X (Twitter). Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Gemini CLI. Google's terminal agent. One command at user scope.
  3. Ask Gemini CLI: whoami. Then: "Create a tweet in X (Twitter)".
Install (user scope)
gemini mcp add --scope user --transport http 0n3 https://0n3.app/mcp -H "Authorization: Bearer <your 0n token>"

The line above carries a placeholder; 0n3.app/install mints a real key named for Gemini CLI and fills it in.

What Gemini CLI can then do in X (Twitter)

Tweets · Post and manage tweets7
Create a tweetPOST /tweets
Delete a tweetDELETE /tweets/{tweetId}
Get a tweetGET /tweets/{tweetId}
Search tweetsGET /tweets/search/recent
Get user tweetsGET /users/{userId}/tweets
Like tweetPOST /users/{userId}/likes
Unlike tweetDELETE /users/{userId}/likes/{tweetId}
Users · View user profiles and connections7
Get an userGET /users/{userId}
Get an user by usernameGET /users/by/username/{username}
Get followersGET /users/{userId}/followers
Get a followingGET /users/{userId}/following
Get listsGET /users/{userId}/owned_lists
RetweetPOST /users/{userId}/retweets
UnretweetDELETE /users/{userId}/retweets/{tweetId}
Dm · Send direct messages1
Send a dmPOST /dm_conversations/with/{participantId}/messages
Lists · Create and manage lists0
Create and manage lists
More · Everything else this app exposes.1
Create a listPOST /lists

X (Twitter) in other AI clients

Claude Code + X (Twitter)MCP server + skillClaude (desktop & claude.ai) + X (Twitter)connectorChatGPT + X (Twitter)connector · GPT actionCodex CLI + X (Twitter)MCP serverCursor + X (Twitter)MCP serverVS Code (Copilot) + X (Twitter)MCP serverWindsurf + X (Twitter)MCP server

Gemini CLI with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints