Skip to content

McpToolContext

Defined in: types.ts:9

Context handed to app-authored tool handlers. Dispatch inner service calls with ctx.app.service(path).dispatch(method, data, id, ctx.params) — every call runs the target service’s full hook pipeline with the MCP session’s identity; custom tools get no privileged path.

app: MantleApplication

Defined in: types.ts:10


params: ServiceParams

Defined in: types.ts:12

provider: "mcp"; user/authenticated resolved from the session’s bearer token (HTTP transport).