Repository navigation
Commit 43bef9a
feat(express): add jsonBodyLimit option to createMcpExpressApp
Allow configuring the maximum request body size for the JSON body
parser via a new `jsonBodyLimit` option. This is needed when MCP
payloads exceed Express's default 100kb limit.
Closes modelcontextprotocol#1354
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 65bbcea commit 43bef9a
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
51 | | - | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | | - | |
| 61 | + | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
| |||
0 commit comments