Skip to content

Implement various improvements to A2UI and the editor application, in…#1363

Open
sugoi-yuzuru wants to merge 1 commit intomainfrom
editor_app
Open

Implement various improvements to A2UI and the editor application, in…#1363
sugoi-yuzuru wants to merge 1 commit intomainfrom
editor_app

Conversation

@sugoi-yuzuru
Copy link
Copy Markdown
Collaborator

@sugoi-yuzuru sugoi-yuzuru commented May 7, 2026

…cluding Accept/Reject CTAs, styling updates, and agent enhancements.

Description

A new Editor MCP App example to demo A2UI-in-MCP.

https://screencast.googleplex.com/cast/NTE4NDc3NTMyNDE3MjI4OHxiNTkwOTc3ZS1iZQ

image

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new 'Editor' micro-app to the MCP samples, featuring a generative document editor powered by Gemini. Key changes include the addition of the Editor app source code, a generic tool relay in the client host to handle various MCP tools, and a Python-based agent for generating A2UI controls and performing text revisions. Feedback from the review identifies a security risk in the generic tool relay that requires a whitelist, a typo in the Gemini model name, missing validation for the GOOGLE_API_KEY environment variable, and an unsafe type cast in the application selection logic.

Comment thread samples/mcp/a2ui-in-mcpapps/client/src/app/app.ts Outdated
Comment thread samples/mcp/a2ui-in-mcpapps/server/smart_editor_agent.py Outdated
Comment thread samples/mcp/a2ui-in-mcpapps/server/smart_editor_agent.py
Comment thread samples/mcp/a2ui-in-mcpapps/client/src/app/app.ts
@sugoi-yuzuru sugoi-yuzuru force-pushed the editor_app branch 4 times, most recently from 4b68bb0 to 9545c74 Compare May 8, 2026 14:48
…pt/Reject CTAs, MCP tool allowlisting, model selection, and dependency linking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants