All connection guides
Gemini

Connect Gemini

Remote MCP · OAuth

Connect Agami via the Gemini CLI, or as a Gemini Enterprise data store.

No signup required

There's nothing to sign up for first. Add the Agami MCP server to Gemini using the URL below, then Connect. The first time you connect, Gemini hands you to Agami's sign-in: choose Google or Microsoft, and a demo account is created on the spot. No API key.

MCP server URL
https://public.agami.ai/mcp

Gemini CLI

For developers

Add Agami to ~/.gemini/settings.json under mcpServers, or run gemini mcp add. The CLI auto-discovers the OAuth endpoints, registers a client, and opens your browser to log in, omit the oauth block to let discovery handle it.

~/.gemini/settings.json
{
  "mcpServers": {
    "agami": {
      "url": "https://public.agami.ai/mcp",
      "type": "http"
    }
  }
}

Recent Gemini CLI uses url with type "http" for streamable HTTP (older versions used a dedicated httpUrl key, which still works). Equivalent CLI form, gemini mcp add --transport http agami https://public.agami.ai/mcp

Gemini Enterprise

For admins

An administrator creates a custom MCP server data store in the Google Cloud console (Gemini Enterprise › Data stores › Create › Custom MCP Server), registers Gemini Enterprise as an OAuth client, and supplies the Agami MCP URL plus the OAuth endpoints.

Plan / access

Admin-only. Requires the Discovery Engine Editor role. This is a Preview feature governed by Google's Pre-GA terms.

  • Gemini Enterprise supports StreamableHTTP only (not SSE).
  • The Agami OAuth client must allowlist the redirect URI https://vertexaisearch.cloud.google.com/oauth-redirect.
  • The consumer Gemini app has no official custom-MCP connection path, use the CLI or Gemini Enterprise.

Ask your first question

Add the server URL to Gemini, sign in with Google or Microsoft, and ask. The demo is free.

Gemini and its logo are trademarks of their owner. Agami is not affiliated with, endorsed by, or sponsored by them. Setup steps live on the vendor's official documentation, linked above, and may change. Verified 2026-05-31.