1.1 KiB
1.1 KiB
Gemini CLI Setup
Note
: While PAL 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 PAL MCP Server to work with Gemini CLI.
Prerequisites
- PAL MCP Server installed and configured
- Gemini CLI installed
- At least one API key configured in your
.envfile
Configuration
- Edit
~/.gemini/settings.jsonand add:
{
"mcpServers": {
"pal": {
"command": "/path/to/pal-mcp-server/pal-mcp-server"
}
}
}
-
Replace
/path/to/pal-mcp-serverwith your actual PAL MCP installation path (the folder name may still bepal-mcp-server). -
If the
pal-mcp-serverwrapper script doesn't exist, create it:
#!/bin/bash
DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$DIR"
exec .pal_venv/bin/python server.py "$@"
Then make it executable: chmod +x pal-mcp-server
- Restart Gemini CLI.
All 15 PAL tools are now available in your Gemini CLI session.