mcp-use
Version:
Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.
20 lines • 561 B
TypeScript
import type { OAuthMetadata } from "@modelcontextprotocol/sdk/shared/auth.js";
/**
* Internal type for storing OAuth state in localStorage during the OAuth flow.
* @internal
*/
export interface StoredState {
expiry: number;
metadata?: OAuthMetadata;
serverUrlHash: string;
providerOptions: {
serverUrl: string;
storageKeyPrefix: string;
clientName: string;
clientUri: string;
callbackUrl: string;
};
flowType?: "popup" | "redirect";
returnUrl?: string;
}
//# sourceMappingURL=types.d.ts.map