Gemini CLI and Tinderbox

Like some of you I’m not a top fan of AI-shing everything everywhere at once, but since Tinderbox 11 has this MCP thing going on officially, I’ve used command-line client from Google to do the same (so it’s Gemini instead of Claude). Given the following default config in ~/.gemini/settings.json like that:

{
  "mcpServers": {
    "tinderbox": {
      "command": "/Applications/Tinderbox 11.app/Contents/MacOS/Tinderbox 11",
      "args": [],
      "enabled": true
    }
   },
  "security": {
    "auth": {
      "selectedType": "gemini-api-key"
    }
  }
}

(notice you guys might have some key set, by default there is no need for that as of yet)

When you launch gemini… Tinderbox magically pop-out (when it’s AI-enabled of course) just like in the case of Claude Desktop. And if you list capabilities of configured MCPs, you get that:

> /mcp list

Configured MCP servers:

🟢 tinderbox - Ready (8 tools, 1 prompt)
  Tools:
  - create_link
  - create_note
  - do
  - evaluate
  - get_document
  - get_notes
  - set_document
  - set_value
  Prompts:
  - magic_word

Magic!

Sources and documentation of that client are to be found here GitHub - google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal.

Just be sure to make use of sandboxing as such apps are known to wreak havoc when maliciously crafted inputs manage to evade built-in filters; just like in the fun days of Windows with VBA macros that had no security measures at all :wink:

PS. it doesn’t work very well though, since every invocation produces this error:

✕ [API Error: {“error”:{“message”:“{\n “error”: {\n “code”: 400,\n “message”: “schema at top-level requires
unspecified property ‘action,note’”,\n “status”: “INVALID_ARGUMENT”\n }\n}\n”,“code”:400,“status”:“Bad Request”}}]

2 Likes

My guess is that this might be the result of not having Gemeni “read” the AI instructions in the /Hints/AI/Claude/Readings container. Here’s how I instruct Claude:

Please familiarize yourself with my [name of TBX file] Tinderbox by reading the notes in the /Hints/AI/Claude/Readings container and notes that you’ve made from past sessions in the /Hints/AI/Claude/Notes container.

Do not provide a summary or any output after reading these notes.

Note: one can provide this same instruction to any LLM that uses Tinderbox’s MCP server; it’s not specific to Claude.

HTH

1 Like

Unfortunately the error is always the same regardless of context and whether sandbox is open or not. Guess it’s an area for development investigation… perhaps until guys get comfortable with the pilot implementation of Claude, so that other clients using MCP will follow some universal TBX approach :stuck_out_tongue_winking_eye: Of course no problems with Claude, but with Gemini there is (and think about Ollama in the future).

1 Like

I presume Gemini keeps MCP logs; if you could send me your logs (bernstein@eastgate.com) that might help.

For the record: the issue seems to be resolved in latest testing builds of TBX. Time to extend license, good that there are discounts that are handy for us here on the eastern frontier of Europe :stuck_out_tongue_winking_eye:

2 Likes