Skip to content

feat: Implement MCP Tool Call for Calculator App#922

Merged
sugoi-yuzuru merged 2 commits intomainfrom
mcp_calculator_combined
Mar 20, 2026
Merged

feat: Implement MCP Tool Call for Calculator App#922
sugoi-yuzuru merged 2 commits intomainfrom
mcp_calculator_combined

Conversation

@sugoi-yuzuru
Copy link
Collaborator

@sugoi-yuzuru sugoi-yuzuru commented Mar 20, 2026

Description

This PR implements a complete asynchronous round-trip for MCP Tool Calls from a self-contained web UI to the remote MCP Server via the host Agent. It demonstrates client-side tool mapping and the Double Iframe Isolation Pattern.

JS Calculation (💻 =): Evaluates locally as before.
MCP Tool Call (🤖 =): Dispatches asynchronous requests to the agent, returning results in the chat.

Video: https://screencast.googleplex.com/cast/NDY2MTEzMzk4NTE4NTc5Mnw2YmQzYTM2ZS1mNw

Pre-launch Checklist

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

@sugoi-yuzuru sugoi-yuzuru force-pushed the mcp_calculator_combined branch from 42d91a9 to 5eac5ef Compare March 20, 2026 16:22
@sugoi-yuzuru sugoi-yuzuru requested review from dmandar and wrenj March 20, 2026 16:23
Copy link
Collaborator

@wrenj wrenj left a comment

Choose a reason for hiding this comment

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

this is awesome, thanks yuzuru

approved just left a few comments

@sugoi-yuzuru sugoi-yuzuru merged commit d0e062c into main Mar 20, 2026
10 checks passed
@sugoi-yuzuru sugoi-yuzuru deleted the mcp_calculator_combined branch March 20, 2026 19:24
@github-project-automation github-project-automation bot moved this from Todo to Done in A2UI Mar 20, 2026
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.

2 participants