← 返回首页
美国 · 交易所与实时行情 · Google Finance

Developer’s guide to implementing MCP apps in Gemini

来源:Google Finance · 美国 33 天前
Developer’s guide to implementing MCP apps in Gemini
Google Finance

详细摘要

Enterprise assistants still respond mostly in text. However, that can break down for visual, multi-step work, where every adjustment costs another slow chat turn. Generation 1…

Enterprise assistants still respond mostly in text. However, that can break down for visual, multi-step work, where every adjustment costs another slow chat turn.

MCP Apps (SEP-1865) solves this. This open Model Context Protocol (MCP) extension pairs a tool with a live UI. In Gemini Enterprise, that UI renders directly in the chat flow inside a sandboxed iframe, and can expand to fullscreen or a side panel. Edits run locally while the workspace and assistant stay synchronized.

You also avoid rebuilding core foundations: Gemini provides workforce sign-in, governed data access, and the Default Assistant, while you host your MCP server on a private Cloud Run service.

Each tier talks only to its neighbor, letting Gemini Enterprise enforce security and routing.

Each user signs in through OAuth 2.0. On every call, Gemini Enterprise sends its service agent token alongside the user's OAuth token:

Cloud Run IAM cannot distinguish end users, so both layers are required. Outbound calls use a least-privilege service account.

First, build your custom MCP server (exposing POST /mcp and a bundled ui:// HTML widget) using the MCP Apps SDK, or use Google Antigravity to scaffold and deploy your MCP App with this starter prompt:

Once your MCP server code is ready, deploy it to Cloud Run and connect it to Gemini Enterprise:

An MCP App pairs backend tools with a live workspace in Gemini Enterprise. You do not build a chat frontend or identity pipeline; you deploy one Cloud Run container and attach it as a Data Store, making Gemini Enterprise where enterprise work gets done.

文章开头,摘自Google Finance。如需阅读全文,请前往媒体网站。

在 Google Finance 阅读全文 登录后可收藏

MarketNews 仅展示媒体发布的标题和摘要,全文请在出版方网站阅读。 (cloud.google.com)

推荐阅读