Comment by WilcoKruijer
1 day ago
MCP has a feature called sampling which does this, but this might not be too useful for your context. [0]
In a project I’m working on I simply present some data and a prompt, the user can then pipe this into a LLM CLI such as Claude Code.
[0] https://modelcontextprotocol.io/specification/2025-06-18/cli...
Sampling seemed so promising, but do we know if some MCPs managed to leverage this feature successfully?
if i recall the issue is that most mcp capable client APPs (Cursor, Claude Code, etc) don’t yet support it! VSCode is an exception.
Example: https://github.com/anthropics/claude-code/issues/1785