From https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback:
maxBuffer Largest amount of data in bytes allowed on stdout or stderr. If exceeded, the child process is terminated and any output is truncated. See caveat at maxBuffer and Unicode. Default: 1024 * 1024.
This (1 MiB) is a pretty low default for MCP on stdio. If exceeded, you'll see an error like the following:
stdout maxBuffer length exceeded
We probably want to bump the default, and make it overridable.
From https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback:
This (1 MiB) is a pretty low default for MCP on stdio. If exceeded, you'll see an error like the following:
We probably want to bump the default, and make it overridable.