inspector/core/mcp/remote/index.ts
2026-07-02 16:35:31 -07:00

33 lines
913 B
TypeScript

/**
* Remote transport client - pure TypeScript, runs in browser, Deno, or Node.
* Talks to the remote server for MCP connections when direct transport is not available.
*/
export {
RemoteClientTransport,
type RemoteTransportOptions,
type AuthRecoveryHandlers,
} from "./remoteClientTransport.js";
export {
createRemoteTransport,
type RemoteTransportFactoryOptions,
} from "./createRemoteTransport.js";
export {
createRemoteFetch,
type RemoteFetchOptions,
} from "./createRemoteFetch.js";
export {
createRemoteLogger,
type RemoteLoggerOptions,
} from "./createRemoteLogger.js";
export {
RemoteInspectorClientStorage,
type RemoteInspectorClientStorageOptions,
} from "./sessionStorage.js";
export type {
RemoteConnectRequest,
RemoteConnectResponse,
RemoteSendResponse,
RemoteEvent,
} from "./types.js";
export { API_SERVER_ENV_VARS, LEGACY_AUTH_TOKEN_ENV } from "./constants.js";