Skip to content
Gemini CLI

self mcp for Gemini CLI

io.github.mrfentmen/self-mcp

Self MCP: 20 real tools to read, check, lint, scaffold, build and run Self code.

client:Gemini CLI transport:stdio runtime:npm

Install self mcp in Gemini CLI

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

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

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

self mcp in other clients