ctxfile for Gemini CLI
dev.ctxfile/ctxfile
Local-first MCP server that snapshots your project's working state into one context object.
client:Gemini CLI
transport:stdio
runtime:npm
Install ctxfile in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"ctxfile": {
"command": "npx",
"args": [
"-y",
"ctxfile"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs