feat: MCP app sampling support#477
Draft
alexhancock wants to merge 1 commit intomodelcontextprotocol:mainfrom
Draft
feat: MCP app sampling support#477alexhancock wants to merge 1 commit intomodelcontextprotocol:mainfrom
alexhancock wants to merge 1 commit intomodelcontextprotocol:mainfrom
Conversation
@modelcontextprotocol/ext-apps
@modelcontextprotocol/server-basic-react
@modelcontextprotocol/server-basic-vanillajs
@modelcontextprotocol/server-budget-allocator
@modelcontextprotocol/server-cohort-heatmap
@modelcontextprotocol/server-customer-segmentation
@modelcontextprotocol/server-map
@modelcontextprotocol/server-pdf
@modelcontextprotocol/server-scenario-modeler
@modelcontextprotocol/server-shadertoy
@modelcontextprotocol/server-sheet-music
@modelcontextprotocol/server-system-monitor
@modelcontextprotocol/server-threejs
@modelcontextprotocol/server-transcript
@modelcontextprotocol/server-video-resource
@modelcontextprotocol/server-wiki-explorer
commit: |
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.
Adds support for MCP apps to sample from the host's model connection, enabling Apps themselves to become AI-powered
See a more detailed proposal here: https://gist.github.com/alexhancock/2bb8b62500f33ccb29a0edb4aa7c5342
Motivation and Context
The idea is simply to let App code leverage the host's model connection, opening up a range of compelling app experiences (nested agents, specialized visual tutors, image generators, vision-based applications, etc)
How Has This Been Tested?
This concept has been implemented in goose (block/goose#7039) using the
onFallbackRequestparam, but this change elevates the idea to a first class citizen)Breaking Changes
None
Types of changes
Checklist
Additional context
This MCP SEP is related as it adds the supported modalities concept to client capabilities as well modelcontextprotocol/modelcontextprotocol#2278. This way we can use the same type in modeling host capabilities re: sampling