Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MCP Router: schema.maxSubschemas

schema.maxSubschemas limits the number of object nodes examined in one tool schema.

  • Type: Positive integer
  • Default: 4096

Every object encountered by schema preflight contributes to the count, including nested property schemas and definitions. Exceeding the budget rejects configuration before validator compilation. This prevents broad schemas from consuming unbounded startup CPU and memory even when their nesting depth is acceptable.