UNPKG

mcp-turso-cloud

Version:

MCP server for integrating Turso with LLMs

13 lines (12 loc) 510 B
/** * Generate a new token for a database using the organization token */ export declare function generate_database_token(database_name: string, permission?: 'full-access' | 'read-only'): Promise<string>; /** * Get a token for a database, generating a new one if necessary */ export declare function get_database_token(database_name: string, permission?: 'full-access' | 'read-only'): Promise<string>; /** * Remove expired tokens from the cache */ export declare function cleanup_expired_tokens(): void;