mcp-turso-cloud

v0.0.9
io.github.spences10/mcp-turso-cloud Checked 17 hours ago Published 1 year ago

MCP server for integrating Turso with LLMs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_databases List all databases in your Turso organization

List all databases in your Turso organization

create_database ✓ SAFE: Create a new database in your Turso organization. Database name must be unique.

✓ SAFE: Create a new database in your Turso organization. Database name must be unique.

ParameterTypeDescription
name *stringName of the database to create - Must be unique within organization
groupstringOptional group name for the database (defaults to "default")
regionsarrayOptional list of regions to deploy the database to (affects latency and compliance)

delete_database ⚠️ DESTRUCTIVE: Permanently deletes a database and ALL its data. Cannot be undone. Always confirm with user before proceeding and verify correct database name.

⚠️ DESTRUCTIVE: Permanently deletes a database and ALL its data. Cannot be undone. Always confirm with user before proceeding and verify correct database name.

ParameterTypeDescription
name *stringName of the database to permanently delete - WARNING: ALL DATA WILL BE LOST FOREVER

generate_database_token Generate a new token for a specific database

Generate a new token for a specific database

ParameterTypeDescription
database *stringName of the database to generate a token for
permissionstringPermission level for the token

list_tables Lists all tables in a database

Lists all tables in a database

ParameterTypeDescription
databasestringDatabase name (optional, uses context if not provided)

execute_read_only_query ✓ SAFE: Execute read-only SQL queries (SELECT, PRAGMA, EXPLAIN). Automatically rejects write operations.

✓ SAFE: Execute read-only SQL queries (SELECT, PRAGMA, EXPLAIN). Automatically rejects write operations.

ParameterTypeDescription
query *stringRead-only SQL query to execute (SELECT, PRAGMA, EXPLAIN only)
databasestringDatabase name (optional, uses context if not provided) - Specify target database
paramsobjectQuery parameters (optional) - Use parameterized queries for security

execute_query ⚠️ DESTRUCTIVE: Execute SQL that can modify/delete data (INSERT, UPDATE, DELETE, DROP, ALTER). Always confirm with user before destructive operations.

⚠️ DESTRUCTIVE: Execute SQL that can modify/delete data (INSERT, UPDATE, DELETE, DROP, ALTER). Always confirm with user before destructive operations.

ParameterTypeDescription
query *stringSQL query to execute
databasestringDatabase name (optional, uses context if not provided)
paramsobjectQuery parameters (optional) - Use parameterized queries for security

describe_table Gets schema information for a table

Gets schema information for a table

ParameterTypeDescription
table *stringTable name
databasestringDatabase name (optional, uses context if not provided)