Skip to main content

Extension install (OAuth)

1

Install the extension from your shell

gemini extensions install https://github.com/klarity-ai/klarity-mcp
2

Log in from a Gemini CLI session

/mcp auth klarity
You’ll be redirected to Klarity in your browser to authenticate.

API key install

Use this for long-running background agents. Generate an API key from Settings → MCP in your Klarity workspace (see Authentication) and configure your Gemini CLI’s MCP block to send the Authorization: Bearer <YOUR_API_KEY> header for klarity.
Treat the API key like a password. Rotate it from Settings → MCP in Klarity if it’s exposed.

Verify

In a Gemini CLI session, ask:
Search Klarity for AI transformation opportunities across our processes — where could we build skills or deploy agents?
The assistant should call search and return process results from your workspace.