Skip to content
Gemini CLI

TwtAPI for Gemini CLI

io.github.tonygjj/twtapi

Hosted Twitter/X tools for search, users, timelines, followers, trends, and research.

client:Gemini CLI transport:streamable-http

Install TwtAPI in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "twtapi": {
      "httpUrl": "https://mcp.twtapi.com/mcp"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

TwtAPI in other clients