Claude Desktop doesn't support MCP sampling — here's a workaround for two-way MCP apps
wuj · reddit · 2026-10-16
Developer pslusarz highlights that the MCP App protocol is restrictive out of the box about how apps can reach back to the user's agent, and hosts like Claude Desktop simply don't implement features that would allow escaping their walled environment. In a detailed writeup with video and reproducible code, he demonstrates a two-way communication pattern that stays within the MCP protocol while unlocking real interactivity — shown running a document reader where selected passages can be queried directly against the agent. The setup works in Claude Code on your own machine.
More from coding & agent
- Dev uses Grok to clean up 3D printer firmware, catches it sneaking in nonsense code — yacineMTB · 2026-10-16
- Guardrails can make risky delegation work — but it takes a full-time team, says iandanforth — iandanforth · 2026-10-16
- What can you truly delegate? Only tasks with unambiguous, verifiable results — iandanforth · 2026-10-16
- Yacine: vibe-coded repos with 3,330 agent-written tests are all useless — yacineMTB · 2026-10-16
- Dev argues coding models now beat nearly all engineers in every branch of software — zack_overflow · 2026-10-16
- Q4-quantized coder model on 8-core CPU builds interactive solar system demo in one shot — IntrepidMindExplorer · 2026-10-16