Skip to content

ConformanceBridge

Defined in: mcp-code/src/lib/conformance.ts:11

The host side of the sandbox’s mantle API. services is the API’s shape (path → method names) — the executor builds mantle[path][method](...args) inside the sandbox from it and nothing else. call receives the JSON-decoded positional arguments and resolves with a JSON-serializable value, or rejects (a MantleError’s toJSON() shape reaches the script).

readonly log: BridgeCall[]

Defined in: mcp-code/src/lib/conformance.ts:12


services: Record<string, string[]>

Defined in: mcp-code/src/lib/types.ts:42

CodeBridge.services

call(path, method, args): Promise<unknown>

Defined in: mcp-code/src/lib/types.ts:43

string

string

unknown[]

Promise<unknown>

CodeBridge.call