mcp-turso-cloud
v0.0.9MCP server for integrating Turso with LLMs
Values you need
| Variable | What it is | |
|---|---|---|
TURSO_API_TOKEN | required secret | Turso Platform API token for authentication |
TURSO_ORGANIZATION | required | Turso organization name |
TURSO_DEFAULT_DATABASE | optional | Default database name (optional) |
TOKEN_EXPIRATION | optional | Token expiration time (default: 7d) |
TOKEN_PERMISSION | optional | Default token permission level (default: full-access) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-turso-cloud -e 'TURSO_API_TOKEN=<TURSO_API_TOKEN>' -e 'TURSO_ORGANIZATION=<TURSO_ORGANIZATION>' -- npx -y mcp-turso-cloud@0.0.9Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-turso-cloud": {
"args": [
"-y",
"mcp-turso-cloud@0.0.9"
],
"command": "npx",
"env": {
"TURSO_API_TOKEN": "<TURSO_API_TOKEN>",
"TURSO_ORGANIZATION": "<TURSO_ORGANIZATION>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-turso-cloud": {
"args": [
"-y",
"mcp-turso-cloud@0.0.9"
],
"command": "npx",
"env": {
"TURSO_API_TOKEN": "<TURSO_API_TOKEN>",
"TURSO_ORGANIZATION": "<TURSO_ORGANIZATION>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TURSO_API_TOKEN",
"id": "turso-api-token",
"password": true,
"type": "promptString"
},
{
"description": "TURSO_ORGANIZATION",
"id": "turso-organization",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-turso-cloud": {
"args": [
"-y",
"mcp-turso-cloud@0.0.9"
],
"command": "npx",
"env": {
"TURSO_API_TOKEN": "${input:turso-api-token}",
"TURSO_ORGANIZATION": "${input:turso-organization}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-turso-cloud]
command = "npx"
args = ["-y", "mcp-turso-cloud@0.0.9"]
env = { "TURSO_API_TOKEN" = "<TURSO_API_TOKEN>", "TURSO_ORGANIZATION" = "<TURSO_ORGANIZATION>" }For AI agents
- Ask the user for: TURSO_API_TOKEN, TURSO_ORGANIZATION. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_databases, create_database, delete_database, generate_database_token, list_tables, execute_read_only_query, execute_query, describe_table, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json