Content Deep Dive

Code mode is overkill for your MCP server. It's not for your gateway.

Blog post from Speakeasy

Post Details
Company
Date Published
Author
Thomas Rooney
Word Count
1,607
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Speakeasy argues that while progressive disclosure remains essential for reducing MCP tool-context bloat, it is now best handled by AI clients through tool search rather than by individual MCP servers. Major AI platforms increasingly defer tool definitions until needed, making server-side search layers redundant and potentially harmful to tool discovery. The company maintains that code mode, which lets agents write and execute sandboxed scripts instead of making individual structured tool calls, is unnecessarily complex for most standalone MCP servers because it adds infrastructure, governance, and monitoring burdens. However, it contends that code mode is valuable at the gateway layer, where a single sandbox can serve many downstream systems while applying centralized identities, credentials, permissions, and audit controls to every underlying call. In this setting, code mode can allow agents to transfer large datasets between services without placing intermediary data in model context, support internal agents without built-in tool search, and manage re-authentication for individual services without disrupting an entire session.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
MCP 29 9,824 968 203 -18%
Agent Context Engineering 2 125 52 37 -49%
AI Coding Assistant 1 1,862 457 147 -5%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.