mcp-turso-cloud
Version:
MCP server for integrating Turso with LLMs
18 lines (17 loc) • 602 B
TypeScript
/**
* Configuration management for the Turso MCP server
*/
import { z } from 'zod';
export declare const ConfigSchema: z.ZodObject<{
TURSO_API_TOKEN: z.ZodString;
TURSO_ORGANIZATION: z.ZodString;
TURSO_DEFAULT_DATABASE: z.ZodOptional<z.ZodString>;
TOKEN_EXPIRATION: z.ZodDefault<z.ZodString>;
TOKEN_PERMISSION: z.ZodDefault<z.ZodEnum<{
"full-access": "full-access";
"read-only": "read-only";
}>>;
}, z.core.$strip>;
export type Config = z.infer<typeof ConfigSchema>;
export declare function load_config(): Config;
export declare function get_config(): Config;