Building a read-only post-deploy MCP server: untrusted content fencing and OAuth 2.1 lessons
CorchesRares2804 · reddit · 2026-12-04
The author of Beamfar shares design lessons from shipping a remote Streamable HTTP MCP server that passed Anthropic's official Claude Directory review, addressing how coding agents (Claude Code, Cursor, Codex, Gemini CLI) mistake an HTTP 200 from curl -I for a healthy deploy when real breakages are leaked noindex tags, expired intermediate certs, or WAF challenge pages.
Key choices: strictly read-only surface (17 tools, zero destructive mutations); untrusted content fencing that wraps anything fetched from monitored HTML, headers, or DNS TXT records in explicit <<<UNTRUSTED ...>>> fences to block prompt injection during incident triage; explicit 'data unavailable' responses instead of soft passes; hosted OAuth 2.1 + PKCE with no local wrapper. A permanent free 1-site plan offers 3,000 MCP requests/month, with MIT-licensed client manifests and skills on GitHub.
More from coding & agent
- A Gen-Z student runs versioned Agents.md with test cases for every AI project — huangyun_122 · 2026-12-04
- Multi-Agent Swarms Match But Don't Beat Single Agents, New Replication Finds — rosstaylor90 · 2026-12-04
- First-time animator uses Opus 5.5 and Blender to make 3-minute Kyoto/Tokyo short film — Pleasant-Internal168 · 2026-12-04
- Reliable Message Delivery: Offline Storage and the Sent→Read State Machine — goyalshaliniuk · 2026-12-04
- How to Design WhatsApp at Scale: Core Architecture Explained — goyalshaliniuk · 2026-12-04
- Agent Evals 101: a 7-step playbook for testing AI agents before production — Solid-Target-530 · 2026-12-04