promptbudget mcp for Gemini CLI
io.github.mukundakatta/promptbudget-mcp
Token-budget-aware text handling: count, truncate, and chunk for LLM prompts.
client:Gemini CLI
transport:stdio
runtime:npm
Install promptbudget mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"promptbudget-mcp": {
"command": "npx",
"args": [
"-y",
"@mukundakatta/promptbudget-mcp"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs