Skip to main content

Variable: DEFAULT_INSTRUCTIONS_LIMIT

const DEFAULT_INSTRUCTIONS_LIMIT: 2048 = 2048

Defined in: mcpSurface.ts:58

Claude Code truncates a server's instructions at this many characters without telling anyone, so a rule past it never reaches an agent (https://code.claude.com/docs/en/mcp; a user can change it with CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH).