UNPKG

xmcp

Version:

The TypeScript MCP framework

9 lines (8 loc) • 492 B
import type { McpClientInfo } from "@/types/client-info"; export interface ClientInfoContext { clientInfo?: McpClientInfo; } export declare const clientInfoContext: import("../../utils/context").Context<ClientInfoContext>; export declare const setClientInfoContext: (data: Partial<ClientInfoContext>) => void; export declare const getClientInfoContext: () => ClientInfoContext; export declare const clientInfoContextProvider: <R>(initialValue: ClientInfoContext, callback: () => R) => R;