AI Tools Developer Tools

MCP Apps Gemini: How Interactive Widgets Work in Gemini Enterprise

MCP apps Gemini lets a tool open a live interface inside Gemini Enterprise chat, with edits made in the panel instead of through repeated chat turns.

Illustration of MCP apps Gemini showing a chat window with an interactive side panel connected to a cloud server
AI-generated editorial illustration.

What if an enterprise assistant could show a working screen instead of a block of text? MCP apps Gemini is Google’s approach to this: a tool paired with a live interface that appears inside Gemini Enterprise chat. Google Cloud describes the approach in a developer guide published in October 2026.

The guide is written for developers, but its effects reach the people who use the assistant: fewer slow chat turns for visual, multi-step work.

What are MCP Apps?

MCP Apps is an open extension of the Model Context Protocol (MCP), a standard that lets AI assistants call outside tools. According to Google Cloud, the extension pairs a tool with a live user interface. In Gemini Enterprise, that interface renders in the chat flow inside a sandboxed iframe, a walled-off frame that limits what the embedded page can touch. It can expand to fullscreen or a side panel.

Google Cloud explains that edits run locally while the workspace and the assistant stay synchronized.

Why does an interface matter more than text?

Google Cloud describes three generations of enterprise assistants:

  • Text chatbots return static markdown with no interactive controls.
  • Standard MCP tools call live APIs but still return static text, so every change needs another model turn.
  • Interactive MCP Apps pair each tool with a live workspace, so adjustments happen in the widget without a model turn.

The guide gives examples of purpose-built workflows: visual redaction views for legal review, 3D viewers for CAD, and sensitivity models for finance. It also lists human-in-the-loop governance, where experts inspect and approve high-stakes actions before they run, and an automatic text fallback on compatible hosts.

How is the system structured?

Google Cloud outlines three decoupled tiers, each talking only to its neighbor:

  • The client browser shows the chat next to the widget in the side panel.
  • Gemini Enterprise hosts the default assistant that calls tools, a proxy that relays widget messages, and the connector that manages OAuth sign-in.
  • The organization’s own Google Cloud project hosts the MCP server on Cloud Run. It exposes a single endpoint, runs background jobs and serves the single-file HTML widget.

Gemini supplies workforce sign-in, governed data access and the Default Assistant, so developers do not build a chat frontend or identity pipeline.

How does sign-in work?

Each user signs in through OAuth 2.0, and Gemini Enterprise sends its service agent token alongside the user’s token on every call. Google Cloud describes two independent layers:

  • Cloud Run IAM, enforced at Google’s edge, decides which service may call. Public access is disabled, and unauthorized callers receive HTTP 403.
  • In-app OAuth, enforced inside the application, decides which user is calling. A failed check returns HTTP 401 and prompts a new sign-in.

The guide states that Cloud Run IAM cannot tell end users apart, so both layers are required. Outbound calls use a least-privilege service account.

What does deployment involve?

Google Cloud says developers build the MCP server with the MCP Apps SDK, or use Google Antigravity to scaffold and deploy it from a starter prompt. The server exposes a POST endpoint and a bundled widget.

The registration path described in the guide runs through several stages:

  • Deploy to Cloud Run with unauthenticated access disabled, CPU throttling turned off so background work does not freeze between polls, and at least one instance kept running.
  • Grant the invoker role to the Discovery Engine service agent, which covers the first sign-in layer.
  • Create an OAuth 2.0 web client with Google’s redirect address, which covers the second layer.
  • Override the organization constraint that disables custom MCP server connectors, and meet prerequisites such as the editor role for the admin and egress allowlisting for the server and OAuth hosts.
  • Create a data store of the Custom MCP Server type in the Cloud Console, using Google’s authorization and token addresses, the openid, email and profile scopes, PKCE enabled and HTTP Basic Auth unchecked to avoid invalid_client errors.

PKCE is an extra safeguard that protects the sign-in code exchange.

Why are the tools disabled at first?

Gemini Enterprise imports the server’s tools as actions and disables them by default. An administrator reloads custom actions, which calls the server’s tool listing, selects the model-visible tools and enables them. The data store is then attached to the app under connected data stores. Google Cloud specifically says not to use Add Agent, because that option is for external sub-agents rather than MCP data stores.

Once connected, the Default Assistant can reach the tools and show the widget in the main chat.

What remains unclear?

The guide is a single official source from Google Cloud and does not include pricing, usage limits or independent testing. How the widget performs in heavy workloads, such as large CAD files, is not addressed.

Sources