Shell Exec for Gemini CLI
io.github.domdomegg/shell-exec-mcp
Execute bash commands with background job support.
client:Gemini CLI
transport:stdio
runtime:npm
Install Shell Exec in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"shell-exec-mcp": {
"command": "npx",
"args": [
"-y",
"shell-exec-mcp"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs