I was so excited to see if I can create a server that used sampling and quickly figured out I can't use it anywhere. Funnily Windsurf hangs forever if you use sampling.
I think the biggest issue is that it can create loops in the flow of programs that would burn through usage quotas pretty fast. It could also allow for "impersonating" the client what opens up a lot of possibilities.
But yeah, the fact that Claude doesn't even implement this is... telling.
https://www.epicai.pro/using-mcp-sampling-in-vs-code-insider...
"Sampling is a powerful MCP feature that allows servers to request LLM completions through the client, enabling sophisticated agentic behaviors while maintaining security and privacy."
in the code it is "protocolVersion": "2024-11-05"
https://github.com/hemanth/paws-on-mcp/blob/main/src/mcp_cli...
Can’t speak for the code since I haven’t peaked into it
Need a phat asterisk after it.
(mcp auth is terrible btw)
Then I pass the stored oauth token directly to my (private) MCP servers alongside a bearer token.
Albeit, it's a few weeks old so already in need of an update!
Bit of software between client and backend model to model client requests to
It can look like Anthropics model or it can be your own. It’s verbose semantics to describe a little bit of source code.
Obfuscation of simple loops and scripts is software industries main product
baalimago•8mo ago
Will be interesting to see how many days it'll take before the implementation no longer is the latest
tomashubelbauer•8mo ago
Spivak•8mo ago
tomashubelbauer•8mo ago