-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Pre-reqs
- I've searched the current open issues
- I've updated to the latest versions
Extension Version
0.2.1
Gemini CLI Version
0.26.0
Environment
Linux vm-ubuntu24dev 6.14.0-37-generic #37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 21 03:10:52 UTC 2 aarch64 aarch64 aarch64 GNU/Linux
Current Behavior
I am using Gemini CLI on a Ubuntu VM on a Macbook M3 (ARM). The toolbox binary that gets installed for this extension on my ARM-based Linux VM is for x86-64 architecture. This gives the following message on startup:
Error during discovery for MCP server 'postgresql': MCP error -32000: Connection closed
Expected Behavior
I would expect that the aarch64 version of the binary to be installed. Also, the error message given is incorrect making this harder to determine the actual cause. I would expect the message to match closer what the repo documentation says:
either:
MCP ERROR: Error: spawn /Users/USER/.gemini/extensions/postgres/toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using Gemini CLI v0.6.0+.
or
"cannot execute binary file": The Toolbox binary did not download correctly. Ensure the correct binary for your OS/Architecture has been downloaded.
Steps to reproduce?
- Using an ARM version of Linux, install Gemini CLI from a terminal.
- Install postgres extension via:
$ gemini extensions install https://github.com/gemini-cli-extensions/postgres - Check the 'toolbox' binary via:
$ file ~/.gemini/extensions/postgres/toolbox
Additional Details
No response