@smithery/sdk
Version:
SDK to develop with Smithery
10 lines (9 loc) • 503 B
TypeScript
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
import { type SmitheryUrlOptions } from "../shared/config.js";
/**
* Creates a transport to connect to the Smithery server
* @param baseUrl The URL of the Smithery server (without trailing slash or protocol)
* @param options Optional configuration object
* @returns Transport
*/
export declare function createTransport(baseUrl: string, options?: SmitheryUrlOptions): StreamableHTTPClientTransport;