Skip to content
Agents CLI Publish to Gemini

Agents CLI Publish to GeminiMCP Server

Released
v1.15.0
Apache-2.0

Summary

Google's agents-cli skill for registering a deployed ADK or A2A agent with the Gemini app (formerly Gemini Enterprise) and managing agents and MCP servers in Agent Registry.

Features

  • Registers deployed agents with the Gemini app via agents-cli publish gemini
  • ADK mode with auto-detection from deployment_metadata.json
  • A2A mode for Cloud Run and GKE, including the required IAM role
  • Programmatic CI/CD use through flags or environment variables
  • Agent Registry management, including registering external MCP servers

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

No ready-made configuration is available for this server yet. Check the repository for setup instructions.

Description

This skill belongs to the agents-cli suite in Google's google/agents-cli repository and covers the step after deployment: making an agent available in the Gemini app, formerly Gemini Enterprise, with agents-cli publish gemini. It requires the agents-cli binary (installed with uv tool install google-agents-cli) and an agent that is already deployed and reachable; deployment itself is left to the google-agents-cli-deploy skill.

It explains the two registration modes. ADK registration is the default for agents on Agent Runtime, where the deployment_metadata.json written by agents-cli deploy lets the command auto-detect the runtime ID and target. A2A registration is for agents on Cloud Run or GKE, where you pass the agent card URL (the path differs between Python and Go projects) and must grant the Discovery Engine service account roles/run.servicesInvoker. Live or voice agents are not supported because the Gemini app has no bidirectional transport.

Beyond the first publish it documents programmatic use in CI/CD through flags or environment variables, an interactive mode, a complete flag reference, and fleet management in Agent Registry: listing and updating agents, registering an external MCP server with an uploaded tool spec, and removing entries. A troubleshooting section closes it. Apache-2.0 licensed; version 1.15.0 at the time of listing.

Featured

Aave's official MCP server: live V3 and V4 markets, wallet positions and health factor, DAO governance, and unsigned transactions your own wallet signs.

Browse all MCP servers →