MCP inside a Windows desktop app: propose-then-confirm writes and per-app consent
MacroWin · reddit · 2026-11-25
The developer of MacroWin, a Windows macro app, details how he embedded an MCP server so Claude, Cursor, VS Code and other clients can work with a user's macros (screenshot shows a Claude-proposed "mute the meeting" macro awaiting confirmation).
Key design choices:
- stdio relay, not a port: clients launch MacroWin.exe --mcp, which relays bytes over a named pipe — no localhost port exposed to the network
- Write tools are proposals: createmacro/changemacro return a proposal id; the user confirms or declines a card in the app and the client polls getproposalstatus. New macros save switched off
- Consent per app: off by default; the first connection asks the user. Apps are identified by what Windows reports on the pipe, not the client-supplied clientInfo, which anything can spoof
- Masked reads: password fields leave the machine as names only, never values
- Two protocol revisions served side by side for clients updating at different speeds
Open source with full tool list on GitHub.
More from coding & agent
- Benchmark of 11 GitHub Actions runners puts Celesto as cheapest at $0.0011 per build — aniketmaurya · 2026-11-25
- CoT-Proxy: Distilling Frontier Models Without CoT Lifts 4B Student from 2.7% to 27.8% on SWE-bench — y_m_asano · 2026-11-25
- MCP solved tool calls, not authority: ADAP open protocol adds scoped delegation chains for agents — achardalias · 2026-11-25
- S2A MCP Builder launches: turn any OpenAPI spec into a self-healing MCP server — agentrsdg · 2026-11-25
- Agent said 'done', the write never landed: dev open-sources a read-after-write checker for Postgres — Ok-Machine7983 · 2026-11-25
- Markdown agent memory where the model classifies but never writes, on a local 4B model — yg_memlayer · 2026-11-25