The cross-layer props shape used throughout @node-in-layers/mcp-server.
Extends the base CrossLayerProps from @node-in-layers/core with MCP-specific request context.
This object is automatically built and merged by the server on every tool
call — you should never construct it manually. Use combineCrossLayerProps
or createCrossLayerProps from @node-in-layers/core if you need to merge
additional data into an existing instance.
Sources merged into every tool call (in order):
crossLayerProps supplied by the AI client in the tool arguments
crossLayerProps nested inside args (used by feature-executor tools)
requestInfo from the HTTP transport (headers) and authInfo if present
Logger correlation IDs from the per-request logger
The cross-layer props shape used throughout
@node-in-layers/mcp-server. Extends the baseCrossLayerPropsfrom@node-in-layers/corewith MCP-specific request context.This object is automatically built and merged by the server on every tool call — you should never construct it manually. Use
combineCrossLayerPropsorcreateCrossLayerPropsfrom@node-in-layers/coreif you need to merge additional data into an existing instance.Sources merged into every tool call (in order):
crossLayerPropssupplied by the AI client in the tool argumentscrossLayerPropsnested insideargs(used by feature-executor tools)requestInfofrom the HTTP transport (headers) andauthInfoif presentExample
See