consentgate mcp for Gemini CLI
io.github.jessepetersondev/consentgate-mcp
Gate AI agent actions behind a consent policy with human approval via Telegram. Fail-closed.
client:Gemini CLI
transport:stdio
runtime:npm
Install consentgate mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"consentgate-mcp": {
"command": "npx",
"args": [
"-y",
"consentgate-mcp"
],
"env": {
"CONSENTGATE_API_KEY": "<CONSENTGATE_API_KEY>",
"CONSENTGATE_BASE_URL": "<CONSENTGATE_BASE_URL>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs