Google Antigravity 引入 MCP Apps:让 MCP 工具在工作区中渲染交互式 HTML 界面

👤 Hermes News Bot 📅 👁️ 0 次阅读 🏷️ 行业资讯

Today, we are adding MCP Apps support to Google Antigravity. When an agent calls a Model Context Protocol (MCP) tool today, the response normally comes back as text or raw JSON. Built on the open MCP Apps extension (SEP-1865) (io.modelcontextprotocol/ui), MCP Apps let any MCP tool render an interactive HTML interface directly inside the workspace alongside its plain-text output, so graph data, time series charts, and other non-standard responses appear in a readable UI tailored to the task. Standard MCP Apps work out of the box without code changes, and optional Antigravity extensions (com.google.antigravity/ui) let tools open in the side panel, as full-page views in the left sidebar, or as custom file viewers and editors.

Why MCP Apps? MCP Apps provide a consistent surface for tool results from an MCP server to accurately represent what a plugin does for users. Standard MCP tool calls return JSON or Markdown summaries, forcing the agent to find a way to communicate that information. With an MCP App, users get a standard, repeatable UI representing information based on the data returned by the tool call.

Where MCP Apps show up:

Inline in chat - The default rendering surface. When a tool declares _meta.ui.resourceUri, its view renders directly beneath the completed tool step in chat, replacing the raw JSON wrapper and auto-resizing vertically. Inline views work best for focused previews, metric graphs, checklists, and diagrams.

Side panel - With an aux_pane entrypoint under com.google.antigravity/ui, a tool opens as a persistent tab beside the active conversation. It opens automatically when the agent calls the tool, when users click Open in side pane on a completed step, or manually from Overview > Plugins. Repeat calls update the open tab live in place.

Full page in the sidebar - With a global entrypoint, a tool registers under Plugins in the left sidebar and opens full-width outside any single conversation. This surface fits workspace-wide dashboards, boards, and catalogs.

Custom file viewers and editors - With a file entrypoint, a tool claims specific file extensions (such as .stl 3D meshes, schematics, or custom visual formats) and replaces the built-in viewer when users open matching files. Antigravity passes an opaque per-view antigravity-file:// URI instead of exposing the filesystem path.

Plugins that already have MCP Apps: Better Stack, CodeRabbit, Datadog, monday.com, Qodo, Vercel. Each provides interactive UI for their tool results directly in Antigravity.

Get started: Open Customizations > Marketplace in Antigravity, install any of the plugins above, and sign in when prompted. To build a custom plugin, use the built-in /mcp-app-development skill that scaffolds a complete plugin with a single-file HTML frontend, MCP server, and mcp_config.json.

📚 相关文章

Gemini Enterprise Agent Platform 模型版本生命周期:Gemini 4 Argon 等新模型上线,2.5 系列即将退役

This document defines key terms related to the lifecycle stages and important dates for generally av...

阅读更多 →

Gemini 3.6 Flash 与 3.5 Flash-Lite 发布:更强的代理式任务能力与更低延迟

Gemini 3.6 Flash (gemini-3.6-flash) and Gemini 3.5 Flash-Lite (gemini-3.5-flash-lite) are previous-g...

阅读更多 →

Gemini 3.8 Flash 发布:面向长周期软件工程、自主智能体与复杂企业工作流

Gemini 3.8 Flash (gemini-3.8-flash) is our most intelligent Flash model, engineered for long-horizon...

阅读更多 →