Support for MCP Apps, Elicitation, and Sampling#1408
Open
vaaale wants to merge 6 commits intoagent0ai:developmentfrom
Open
Support for MCP Apps, Elicitation, and Sampling#1408vaaale wants to merge 6 commits intoagent0ai:developmentfrom
vaaale wants to merge 6 commits intoagent0ai:developmentfrom
Conversation
enable websocket and api caching params
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MCP Apps, Elicitation & Sampling Support
Overview
Adds support for three MCP protocol extensions: MCP Apps (SEP-1865), Elicitation, and Sampling. These enable MCP servers to render interactive UIs in sandboxed iframes, request structured user input, and request LLM completions through the host.
Support for MCP Apps is implemented as a plugin. I'll make a separate PR for that and link it below.
If it should be an extension or part of core, the functionality can of course easily be moved.
Features
MCP Apps (SEP-1865)
MCP Elicitation
MCP Sampling
Core Changes
helpers/mcp_handler.py
agent.py
New Files
Comments
I created a PR for a0-plugins, but it seems that was not the correct thing to do, so I added it to this PR as well.
See PR a0-plugins #183