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.

Original post →

More from coding & agent

coding & agent channel →