Client Setup: Gemini CLI

Official references

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 type plus nullable: true, not nullable anyOf wrappers. If diagnostics fail, inspect tools/list and confirm consensus_answer.method is a nullable string enum.

Example (~/.gemini/settings.jsonmcpServers)

"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