oag-mcp
    Preparing search index...

    Function createMcpServer

    • Create an MCP server instance bound to one principal.

      Parameters

      • service: OagMcpService

        service

      • principal: Principal

        authenticated principal

      • transport: "stdio" | "streamable-http"

        transport name

      • OptionalhttpRequestId: string

        correlation id of the HTTP request

      • Optionalclient: ClientEndpoint = {}

        address and port of the HTTP client

      Returns McpServer

      server