UNPKG

feishu-user-token-mcp-v2

Version:

A Model Context Protocol (MCP) server for Feishu user token management and authentication

19 lines (18 loc) 701 B
export interface AppConfig { app_id: string; app_secret: string; user_token?: string; refresh_token?: string; } export declare function readConfigFile(): Promise<Partial<AppConfig>>; export declare function updateConfig(updates: Partial<AppConfig>): Promise<void>; export declare function getConfigValue(key: keyof AppConfig, promptText: string): Promise<string>; export declare function saveToken(accessToken: string, refreshToken: string): Promise<void>; interface StartupArgs { app_id?: string; app_secret?: string; user_token?: string; refresh_token?: string; } export declare function loadConfig(startupArgs?: StartupArgs): Promise<Partial<AppConfig>>; export {};