MCP App Sampling #474
alexhancock
started this conversation in
Ideas
Replies: 1 comment
-
|
I'm interested in offering this capability, but I noticed the latest MCP release candidate is deprecating sampling, though I didn't fully follow the reasoning for it. As a workaround, I've added a custom server tool to my MCP server which allows the UI to access an LLM provider, but it's chosen by the MCP server rather than something that the user could customize in their agent. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
I have an implementation of sampling from app code working in goose aaif-goose/goose#7039
My motivation is to make MCP apps themselves able to be AI-powered, leveraging the host's model connection
A detailed proposal is available here https://gist.github.com/alexhancock/2bb8b62500f33ccb29a0edb4aa7c5342, and to summarize:
sampling/createMessagemessage that lets Views request LLM completions, mirroring the existing MCP sampling capability that servers already haveScope
Beta Was this translation helpful? Give feedback.
All reactions