MCP_INSTRUCTIONS_MAX_CHARS_PER_SERVER
constMCP_INSTRUCTIONS_MAX_CHARS_PER_SERVER:4000=4000
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/systemPromptNotes.ts:339
EXT-32: hard per-server cap on injected MCP instruction length.
A connected MCP server could advertise a very long instructions string that would then ride
along in EVERY turn’s system prompt and bloat context. This is a simple defensive constant (no
config-schema plumbing — that stays out of this node): text beyond the cap is dropped and a
truncation marker is appended so the model knows it was clipped. Generous enough that realistic
server instructions pass through untouched.