@vernikr/gemini-mcp 0.11.0 → 0.12.0

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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -51,6 +51,12 @@ macOS/Linux. What is left for the human — relay exactly these two manual actio
51
51
  from the JSON: **restart the MCP client fully**, then **send the agent the prompt in
52
52
  `verify_prompt`** (tool `quota_status`, MCP server `gemini`).
53
53
 
54
+ Analyzing a FILE (agent): never read it yourself and never inline its contents into a
55
+ prompt. Call `file_upload_ticket(filename, size_bytes)` → HTTP PUT the raw bytes to
56
+ `upload_url` → `analyze_file(upload_id, task)`. Extraction (pandoc), chunking and quota
57
+ are server-side; `quota_status` repeats this recipe in its `file_flow` field, and raw
58
+ RTF/PDF/DOCX payloads in text tools fail fast with a `raw_document_inlined` fix.
59
+
54
60
  ## Wiring — 2 options
55
61
 
56
62
  ### A · Wizard (recommended): `setup`, then paste one JSON block
@@ -69,8 +75,9 @@ What it does — and what it does NOT:
69
75
  side itself — clone/update repos, provision, push keys, healthcheck — and ends with
70
76
  the same paste-once JSON (`--vps-host`, `--vps-user`, `--projects-dir` skip prompts);
71
77
  - probes keys live (listModels — zero quota spent) and prints fingerprints, never keys;
72
- - **prints** the ready `mcpServers` JSON for your client — it does **not** edit any
73
- client config itself (formats differ per client; you paste the block once).
78
+ - **prints** the ready `mcpServers` JSON for your client — paste it once, or pass
79
+ `--write-client freebuff|claude_desktop|cursor` and the wizard merges the `gemini`
80
+ entry into the client's config file itself (`.bak` backup kept).
74
81
 
75
82
  After the wizard the client JSON needs no env/keys — the gateway auto-discovers
76
83
  `~/.config/gemini-mcp/`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vernikr/gemini-mcp",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
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"