CodexSpot
T

Turso MCP Server

Provides AI assistants with access to Turso edge SQLite databases through MCP, enabling SQL queries and table listing on distributed SQLite-compatible databases.

stdioLocalApiKeynpm

What This Server Exposes

Tools

querylist_tables

Resources

  • table schemas
  • query results

Setup Instructions

  1. 1Sign up at turso.tech and create a database
  2. 2Retrieve your database URL and generate an auth token using the Turso CLI
  3. 3Add the Turso server config to your Claude Desktop configuration
  4. 4Set the TURSO_URL and TURSO_AUTH_TOKEN environment variables
  5. 5Restart Claude Desktop

Configuration

Claude Desktop Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "turso": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-turso"
      ],
      "env": {
        "TURSO_URL": "libsql://your-db.turso.io",
        "TURSO_AUTH_TOKEN": "your-auth-token"
      }
    }
  }
}

Environment Variables

TURSO_URL
Turso database URL in libsql:// format (e.g. libsql://your-db.turso.io)
Required
TURSO_AUTH_TOKEN
Turso database authentication token for authorizing connections
Required🔒 Secret

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude DesktopClaude Code

Safety Notes

Turso auth tokens grant full access to the specified database. Keep the token secret and regenerate it regularly. Never commit tokens to version control. Use per-database tokens rather than org-level tokens for least-privilege access.

This listing is for informational purposes only. CodexSpot is not affiliated with Turso MCP Server.