Client Setup: Gemini CLI
Official references
- https://geminicli.com/docs/
- https://geminicli.com/docs/tools/mcp-server/
- https://github.com/google-gemini/gemini-cli
Status
- Confidence: High (official docs and repo references).
Integration notes
- Register as stdio MCP server.
- Validate via Gemini CLI MCP diagnostics commands.
- Function declaration schemas are published in a Vertex/Gemini-friendly shape: optional parameters use an explicit
typeplusnullable: true, not nullableanyOfwrappers. If diagnostics fail, inspecttools/listand confirmconsensus_answer.methodis a nullable string enum.
Example (~/.gemini/settings.json → mcpServers)
"reasonkit-think": {
"command": "/ABSOLUTE/PATH/TO/reasonkit-think-mcp",
"args": [],
"env": { "TMPDIR": "/tmp" },
"trust": true
}Multi-client reference: root README.md.
Verification checklist
- server listed
- tools callable
- resources retrievable