Skip to content
Gemini CLI

Agentic MCP for Gemini CLI

io.github.hugolsramos01-bit/mcp-agentic-server

Local coding tools for ChatGPT Developer Mode and MCP clients with safe editing and shell execution.

client:Gemini CLI transport:stdio runtime:npm

Install Agentic MCP in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-agentic-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-agentic-server"
      ],
      "env": {
        "AGENTIC_ALLOWED_ROOTS": "<AGENTIC_ALLOWED_ROOTS>"
      }
    }
  }
}

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

Agentic MCP in other clients