@gibme/webserver
    Preparing search index...

    Variable createServerConst

    createServer: (config: McpServerConfig) => McpServer = create_mcp_server

    Type Declaration

      • (config: McpServerConfig): McpServer
      • Creates a new McpServer instance and registers the supplied primitives on it. Tool, resource, and prompt schemas are forwarded to the SDK so requests are validated at runtime, and each callback signature is type-checked against its declared schema at compile time.

        Parameters

        • config: McpServerConfig

          Server identity, SDK options, and the primitive arrays to register.

        Returns McpServer