Skip to content
Agent Process
All agents

Connect Gemini CLI

One block of settings gives Gemini CLI your processes, the data and email templates you've allowed, and a way to wait for your approval.

Setup

  1. Get your address and an access token

    In your workspace, open Agents and create an access token. The page shows your exact MCP address and fills it, and the token, into these settings for you. Tokens are shown once, so keep yours somewhere safe.

  2. Run this with your access token. With -s user it goes in your own settings, not the project’s.

    Command
    gemini mcp add -s user --transport http \
      --header "Authorization: Bearer <access-token>" \
      process-flow https://<your-mcp-endpoint>/mcp
  3. Check it's connected

    Ask Gemini CLI: “What processes can you see?” It should list the published processes in your workspace. If it can't reach the server, check the address and that the token hasn't been revoked.

Gemini CLI's MCP documentation

This setup is written from Gemini CLI's own MCP documentation.