Agent harnesses

Connect Gemini CLI

Google · Apache-2.0

SupportedOAuth 2.1API key

Google's open-source terminal agent. Remote MCP over httpUrl with automatic OAuth discovery and dynamic client registration on 401.

1 · Choose the MCPs to connect

2 · How should it authenticate?

3 · Add to ~/.gemini/settings.json

{
  "mcpServers": {
    "deepinsights-mospi": {
      "httpUrl": "https://marketplace-gateway-pef65a33ta-el.a.run.app/mospi/mcp"
    }
  }
}
  1. 1.OAuth: the CLI discovers the gateway's endpoints and opens the sign-in on first use.
  2. 2.API key: replace mk_… with your personal key.

4 · Create it as an app

Save this harness + MCP setup to your account. You get a workbench with a live test chat over the combined tool surface — the exact gateway endpoints, auth and tools Gemini CLI will use, metered to your own quota.

5 · Or test each MCP on its own

Each playground's Chat and Tools pages exercise exactly the tools your harness will see — same servers, same gateway. Verify a query there first, then run it from Gemini CLI.

Agent harnesses