I Didn't Get MCP, So I Built My Way Through It
summary
Built an MCP inspector in Ruby that reveals the raw JSON-RPC messages exchanged over two transports (stdio and streamable HTTP), and introduces Coatepec, an MCP server that runs a warm Rails process as a sidecar so requests like running specs, listing routes and inspecting models respond in milliseconds instead of waiting for Rails to boot. Coatepec trims responses to save tokens (claimed ~90% reduction), exposes a few focused tools (spec run, routes, models), forbids eval/console/raw SQL, and supports MCP apps that render interactive iframes.
AI-written summary · about
chapters (15)
- 0:00Introduction to MCP
- 1:30Speaker introduction
- 4:41MCP transfer methods
- 6:27Demo of MCP inspector
- 7:31Vector representation of tokens
- 10:20Problem with context overload
- 11:45Introducing QuotaPack
- 13:31QuotaPack in action
- 14:53Performance gains with fork
- 15:58Token efficiency improvements
- 16:44Subagents and token trade-offs
- 17:48QuotaPack tools and safety
- 18:30MCP apps and UI
- 21:41Lessons from navigation challenges
- 22:46Call to build with MCP
