intellibrix v1.0.0
    Preparing search index...

    Type Alias ServeMcpOptions

    type ServeMcpOptions = {
        host?: string;
        name?: string;
        onToolApproval?: ApprovalHook;
        path?: string;
        port?: number;
        transport: "stdio" | "http" | Transport;
        version?: string;
    }
    Index
    host?: string

    HTTP only. Default 127.0.0.1 (loopback), avoiding DNS-rebinding exposure.

    name?: string
    onToolApproval?: ApprovalHook

    Decides calls to tools that need approval. There is no agent loop between a remote MCP caller and the tool, so without this hook such calls are denied.

    path?: string

    HTTP only. Default /mcp.

    port?: number

    HTTP only. 0 picks a free port. Default 3000.

    transport: "stdio" | "http" | Transport
    version?: string