UNPKG

mcp-turso-cloud

Version:

MCP server for integrating Turso with LLMs

27 lines (26 loc) 908 B
import { Database } from '../common/types.js'; /** * List all databases in the organization */ export declare function list_databases(): Promise<Database[]>; /** * Create a new database in the organization */ export declare function create_database(name: string, options?: { group?: string; regions?: string[]; }): Promise<Database>; /** * Delete a database from the organization */ export declare function delete_database(name: string): Promise<void>; /** * Get details for a specific database */ export declare function get_database_details(name: string): Promise<Database>; /** * Generate a new token for a database * This is a wrapper around the token-manager's generate_database_token function * to make it available through the organization client */ export declare function generate_database_token(database_name: string, permission?: 'full-access' | 'read-only'): Promise<string>;