@kya-os/mcp-i
Version:
The TypeScript MCP framework with identity features built-in
10 lines (9 loc) • 448 B
TypeScript
import { IncomingHttpHeaders } from "http";
export interface HttpContext {
id: string;
headers: IncomingHttpHeaders;
}
export declare const httpContext: import("../../../utils/context").Context<HttpContext>;
export declare const setHttpContext: (data: Partial<HttpContext>) => void;
export declare const getHttpContext: () => HttpContext;
export declare const httpContextProvider: (initialValue: HttpContext, callback: () => void) => void;