1.0 KiB
1.0 KiB
Gemini CLI Setup
Note
: While Zen MCP Server connects successfully to Gemini CLI, tool invocation is not working correctly yet. We'll update this guide once the integration is fully functional.
This guide explains how to configure Zen MCP Server to work with Gemini CLI.
Prerequisites
- Zen MCP Server installed and configured
- Gemini CLI installed
- At least one API key configured in your
.envfile
Configuration
- Edit
~/.gemini/settings.jsonand add:
{
"mcpServers": {
"zen": {
"command": "/path/to/zen-mcp-server/zen-mcp-server"
}
}
}
-
Replace
/path/to/zen-mcp-serverwith your actual Zen installation path. -
If the
zen-mcp-serverwrapper script doesn't exist, create it:
#!/bin/bash
DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$DIR"
exec .zen_venv/bin/python server.py "$@"
Then make it executable: chmod +x zen-mcp-server
- Restart Gemini CLI.
All 15 Zen tools are now available in your Gemini CLI session.