X (Twitter) MCP by usefulapi for Gemini CLI
io.usefulapi/twitter-x
Look up users, search and read posts, and publish or delete your own posts in X.
client:Gemini CLI
transport:streamable-http
tools:13
Install X (Twitter) MCP by usefulapi in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"twitter-x": {
"httpUrl": "https://twitter-x.usefulapi.io/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs