Gemini CLI

Add the 1health MCP to Google Gemini CLI via settings.json.

Edit settings.json

Add the following to your settings.json file:

json
{
  "mcpServers": {
    "1health-docs": {
      "httpUrl": "https://mcp.dev.1hdev.io/mcp"
    }
  }
}

Transport Types

Gemini CLI supports three transport types:

  • httpUrl — HTTP streaming (recommended for 1health)
  • url — Server-Sent Events (SSE)
  • command — Local stdio process

Optional Settings

  • timeout — Request timeout in ms (default: 600000)
  • trust — Skip tool confirmations (default: false)
  • includeTools — Allowlist specific tools
  • excludeTools — Blocklist specific tools

What You Can Ask

  • "How do I authenticate with the 1health API?"
  • "Show me endpoints for patient management"
  • "Generate code to call the provider search endpoint"
  • "What's the workflow for placing lab orders?"