Add jsonLimit option to createMcpExpressApp by rameshreddy-adutla · Pull Request #1625 · modelcontextprotocol/typescript-sdk
The express.json() middleware defaults to a 100kb body size limit.
For MCP servers handling large tool responses or prompts, this limit
can be too restrictive. Add a jsonLimit option to CreateMcpExpressAppOptions
that is passed through to express.json({ limit }).
Fixes modelcontextprotocol#1354
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This was referenced
Mar 4, 2026This was referenced
Mar 12, 2026This was referenced
Mar 12, 2026This was referenced
Mar 21, 2026This was referenced
Mar 30, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters