Turso / LibSQL MCP Server

Community
Databases
stdio

Connect AI agents to Turso (LibSQL) databases: the edge-native SQLite-compatible database. Query tables, manage schemas, and leverage embedded replicas for globally distributed AI workloads.

Quick Install

$ npx -y mcp-server-turso

Environment Variables

VariableDescriptionRequired
TURSO_DATABASE_URLTurso database URLYes
TURSO_AUTH_TOKENTurso auth tokenYes

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

{
  "mcpServers": {
    "turso": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-turso"
      ],
      "env": {
        "TURSO_DATABASE_URL": "libsql://your-db.turso.io",
        "TURSO_AUTH_TOKEN": ""
      }
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (2)

queryexecute

Turso / LibSQL FAQ

What is the Turso / LibSQL MCP server?

Connect AI agents to Turso (LibSQL) databases: the edge-native SQLite-compatible database. Query tables, manage schemas, and leverage embedded replicas for globally distributed AI workloads.

How do I install the Turso / LibSQL MCP server?

Run: npx -y mcp-server-turso

Which AI clients support the Turso / LibSQL MCP server?

The Turso / LibSQL MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Turso / LibSQL MCP server provide?

The server provides 2 tools: query, execute.