Google Cloud's MCP server and Gemini CLI extension that lets AI agents deploy code to Cloud Run, list services and read their logs.
Agents CLI Publish to GeminiMCP Server
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.
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.
Related MCP Servers
See all Agents CLI Publish to Gemini alternativesAave's official MCP server: live V3 and V4 markets, wallet positions and health factor, DAO governance, and unsigned transactions your own wallet signs.
MCP: Sequential Thinking
by Model Context Protocol
A tool for dynamic, reflective problem-solving through structured, revisable sequences of thoughts.
Google's official Firebase MCP server — 70+ tools across Firestore, Auth, Crashlytics, Cloud Functions, Storage, Messaging and Remote Config, shipped inside the Firebase CLI.
