MCP Server Where the Agent Is the UI: Relay, an Agent-First Form Builder
Fair-One-6465 · reddit · 2026-11-22
The author built Relay, an open-source form builder with no dashboard, testing the hypothesis that much of SaaS can be a database plus an agent connected via MCP, with 8 tools like createform and summarizeresponses.
Key design choices:
- The server never calls an LLM—the client's model reasons, while the server returns structured data and computes exact metrics (counts, averages, NPS) so the model doesn't estimate from raw rows.
- Rules are enforced next to the data: updateform refuses edits that would change the meaning of already-submitted answers.
- "What's new" tracking lives on the server (onlynew), so "anything new since yesterday?" works without agent memory.
- Exports use short-lived signed links (15 min) so CSV data never flows through chat.
- Transport: stateless Streamable HTTP (POST only) plus stdio for local use.
Auth was the hard part: Relay is its own OAuth 2.1 authorization server with dynamic client registration and PKCE (S256). Claude and ChatGPT both auto-discover it, but the OAuth metadata base URL must exactly match the connection address (www vs bare domain redirects break it), and renaming/moving the server forces every user to remove and re-add the connector.
Try it by adding https://tryrelay.xyz/mcp as a connector (free tier, 250 responses/month).
More from coding & agent
- 20GB open model builds flight simulator offline on a plane in minutes — heyshrutimishra · 2026-11-22
- Entire GTA 6 Apple Maps Site Built by GPT-6.2, Dev Says It Nails Tasks First Try — Dimillian · 2026-11-22
- Dev: Claude Failed a 3D Wall-Building Eval, Needed Manual Fixes in AI-Integrated 3D World — nptacek · 2026-11-22
- Giving your AI agent a real email address: the reply side is the hard part — Particular_Abies_409 · 2026-11-22
- Curated reading list: evaluating mobile-use agents on Android, from AppAgent to AndroidReality — East-Muffin-6472 · 2026-11-22
- Dev ships ComfyUI node that runs prompts sequentially from a spreadsheet with wildcard support — ForesterAI · 2026-11-22