Skip to content
Gemini CLI

Mastodon for Gemini CLI

io.github.richarvey/mastodon-mcp

Give Claude and other AI assistants a Mastodon account: 95 tools for posting, timelines and search

client:Gemini CLI transport:stdio runtime:npm

Install Mastodon in Gemini CLI

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

{
  "mcpServers": {
    "mastodon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ric_/mastodon-mcp"
      ]
    }
  }
}

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

Mastodon in other clients