Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TURSO_API_TOKEN | Yes | Your Turso Platform API token | |
| TOKEN_EXPIRATION | No | Expiration time for generated database tokens | 7d |
| TOKEN_PERMISSION | No | Permission level for generated tokens | full-access |
| TURSO_ORGANIZATION | Yes | Your Turso organization name | |
| TURSO_DEFAULT_DATABASE | No | Default database to use when none is specified |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_databases | List all databases in your Turso organization |
| create_database | Create a new database in your Turso organization |
| delete_database | Delete a database from your Turso organization |
| generate_database_token | Generate a new token for a specific database |
| list_tables | Lists all tables in a database |
| execute_query | Executes a SQL query against a database |
| describe_table | Gets schema information for a table |
| vector_search | Performs vector similarity search |