2 ms·
Almost no client, including Claude Dekstop, implements Sampling. I was so excited to see if I can create a server that used sampling and quickly figured out I
by manojlds 1y ago
Almost no client, including Claude Dekstop, implements Sampling.
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.
- auggierose 1y agoYes, no sampling, last time I tried a few weeks ago. Have you tried with the latest Claude Desktop (0.10.14)?
- ericol 1y agoI've been thinking about this ever since I heard that is defined in the protocol. 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.
- auggierose 1y agoYeah, that is the reason it is not there, I guess, you could then really implement anything just with a flat rate.
- disintegrator 1y agoVS Code seems to be working on it https://www.epicai.pro/using-mcp-sampling-in-vs-code-insiders-dd12d https://www.epicai.pro/using-mcp-sampling-in-vs-code-insider...
- esafak 1y agoFor those unfamiliar with the term: "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." https://modelcontextprotocol.io/docs/concepts/sampling https://modelcontextprotocol.io/docs/concepts/sampling