Skip to content

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

Merged
sugoi-yuzuru merged 1 commit into
mainfrom
editor_app
May 11, 2026
Merged

Implement various improvements to A2UI and the editor application, in…#1363
sugoi-yuzuru merged 1 commit into
mainfrom
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.
@sugoi-yuzuru sugoi-yuzuru merged commit 4a36aad into main May 11, 2026
15 checks passed
@sugoi-yuzuru sugoi-yuzuru deleted the editor_app branch May 11, 2026 14:40
@github-project-automation github-project-automation Bot moved this from Todo to Done in A2UI May 11, 2026
@zeroasterisk
Copy link
Copy Markdown
Collaborator

Warning: @sugoi-yuzuru you should probably talk to @jgindin who is working on a redesign for developer tools right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants