@vernikr/gemini-mcp 0.8.2 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,8 +41,8 @@ After the wizard the client JSON needs no env/keys — the gateway auto-discover
|
|
|
41
41
|
|
|
42
42
|
### B · JSON-only (skip the wizard entirely)
|
|
43
43
|
|
|
44
|
-
Is pasting JSON into `mcp.json` enough? **Yes — if the keys travel
|
|
45
|
-
|
|
44
|
+
Is pasting JSON into `mcp.json` enough? **Yes — if the keys travel with it** (without
|
|
45
|
+
keys anywhere the gateway fails fast by design). Inline in `env`:
|
|
46
46
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
@@ -56,6 +56,17 @@ Is pasting JSON into `mcp.json` enough? **Yes — if the keys travel in its `env
|
|
|
56
56
|
}
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
…or — more private, secrets stay out of the client config — point at a keys **file**
|
|
60
|
+
(comma/whitespace/newline separated, `#` comments ok):
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{ "env": { "GEMINI_MCP_KEYS_FILE": "/absolute/path/keys.txt" } }
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Key sources, priority high → low: `--keys` / `--keys-file` CLI flags (any command,
|
|
67
|
+
before the subcommand) → `GEMINI_MCP_KEYS_FILE` → `router.keys_file` in config.yaml →
|
|
68
|
+
`GEMINI_API_KEYS` env (this is what the wizard's `.env` provides).
|
|
69
|
+
|
|
59
70
|
Backend auto-resolves to `direct`; logs and the local usage ledger (`state.db` —
|
|
60
71
|
quota counters survive restarts) go to `~/.config/gemini-mcp/`. Trade-off vs option A:
|
|
61
72
|
keys sit in the client config file instead of a `0600` `.env`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vernikr/gemini-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "One-command Gemini free-tier MCP gateway: quota-aware model routing, massive-body chunked analysis, file ingest (RTF/DOCX→Markdown), async tickets. Thin bootstrap for the Python core gemini-mcp-gateway.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"gemini-mcp": "bin/gemini-mcp.js"
|