Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / McpSourceRegulatedPosture

Interface: McpSourceRegulatedPosture

Defined in: packages/core/dist/index.d.ts

The posture an mcp() tool source chose at construction (RV1516/RV1808).

Properties

PropertyTypeDescriptionDefined in
bounds{ declared: boolean; discoveryMs?: number; maxPages?: number; maxSchemaBytes?: number; maxTools?: number; }The discovery bounds (RV1808); declared is the all-four predicate requireBounds enforces (maxTools, maxPages, maxSchemaBytes, timeouts.discoveryMs), and the declared values ride beside it so the profile hash moves when a bound moves.packages/core/dist/index.d.ts
bounds.declaredboolean-packages/core/dist/index.d.ts
bounds.discoveryMs?number-packages/core/dist/index.d.ts
bounds.maxPages?number-packages/core/dist/index.d.ts
bounds.maxSchemaBytes?number-packages/core/dist/index.d.ts
bounds.maxTools?number-packages/core/dist/index.d.ts
drift"refuse" | "rekey"What a listChanged notification means for this source (RV1516).packages/core/dist/index.d.ts
kind"mcp-source"-packages/core/dist/index.d.ts
namestringThe source id (mcp:stdio:<command>, mcp:http:<url>, mcp:inprocess).packages/core/dist/index.d.ts
regulatedPosture1Descriptor shape version; bumps when the meaning changes.packages/core/dist/index.d.ts