drio
Open app

mcp-turso-cloud

Source

🗂️ A Model Context Protocol (MCP) server that provides integration with Turso databases for LLMs. This server implements a two-level authentication system to handle both organization-level and database-level operations, making it easy to manage and query Turso databases directly from LLMs.

Catalog onlyCatalog onlySTDIO

Overview

The mcp-turso-cloud is a Model Context Protocol (MCP) server that integrates with Turso databases for large language models (LLMs). It provides a two-level authentication system for managing and querying Turso databases directly from LLMs.

To use mcp-turso-cloud, configure your MCP client with the required environment variables and run the server. You can perform various database operations through the provided API.

  • Organization-level operations: List, create, delete databases, and generate database tokens. - Database-level operations: List tables, execute SQL queries, describe tables, and perform vector searches. - Two-level authentication system for secure access.
  1. Managing multiple databases for an organization.
  2. Executing complex SQL queries against Turso databases.
  3. Performing vector similarity searches for data analysis.

Add to your AI client

Use these steps to connect mcp-turso-cloud in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-turso-cloud-spences10": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-cloud-spences10"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-turso-cloud-spences10": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-cloud-spences10"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-turso-cloud-spences10": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-cloud-spences10"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-turso-cloud-spences10": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-cloud-spences10"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-turso-cloud-spences10": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-cloud-spences10"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-turso-cloud-spences10": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-cloud-spences10"
      ]
    }
  }
}

FAQ

What is the purpose of the two-level authentication system?

It enhances security by requiring different tokens for organization-level and database-level operations.

How do I configure the server?

You need to set environment variables such as TURSO_API_TOKEN and TURSO_ORGANIZATION in your MCP client settings.

Can I contribute to the project?

Yes! Contributions are welcome, and you can submit a Pull Request.