Shipping a 92-tool MCP server for cold email: 4 lessons from Ballast's ChatGPT directory launch
prompt_scout · reddit · 2026-12-02
Ballast, a cold email and deliverability SaaS, just got its MCP connector approved in ChatGPT's app directory (Claude's listing is under review). The author shares four things that saved them headaches building an MCP server that actually sends real emails, in Next.js + oRPC:
- Default to 29 core tools instead of dumping all 92: Cursor caps 40 tools across servers, and 92 tools burns context and degrades tool selection. /api/mcp serves a 29-tool core set by default; the full set loads only with ?toolset=full or an x-ballast-toolset: full header.
- Two-call confirmtoken for destructive actions: tools that send or delete get an auto-injected optional confirmtoken. The first call never executes — it returns a plain preview plus a signed token bound to those arguments; execution happens only on a second call with identical args plus the token, preventing an LLM hallucinating a launchcampaign that blasts 5,000 leads.
- Dual auth on one stateless Streamable HTTP endpoint: Bearer API keys for Claude Code/Cursor/Codex; OAuth with RFC 9728 401 challenge and workspace selection for ChatGPT/claude.ai connectors, with a workspaceid claim in the token.
- Unwrap union Zod schemas: wrapping non-object schemas under an input property and stripping $schema fixed tools/list breakage in several MCP clients.
The author also asks how long Claude's directory review took others and whether listings drove a real usage jump.
More from coding & agent
- The people getting the most out of AI 'treat their agents like slaves' — parallel runs, no mercy — theteknosaur · 2026-12-02
- Dev's AI agent blocked by Cloudflare after months: mobile proxy as the fix? — Swimming_Set4452 · 2026-12-02
- Manina AI debuts phone-use LLM: 4B model hits 96.81% on ScreenSpot-v2 — iamrobotbear · 2026-12-02
- patio11: orchestrating coding agent swarms lets you manage software in plain English — rseroter · 2026-12-02
- LLM error rates are flat across difficulty — so give agents bigger tasks, not smaller ones — dotey · 2026-12-02
- Simon Willison: 'AI mania' with Fable 5.2 — shipped 6 releases in one Sunday — lennysan · 2026-12-02