drio
Open app

mcp-turso

Source

MCP server for interacting with Turso-hosted LibSQL databases

Catalog onlyCatalog onlySTDIO

Overview

Mcp-turso is a Model Context Protocol (MCP) server designed for interacting with Turso-hosted LibSQL databases, enabling users to perform various database operations.

To use mcp-turso, configure it with your Turso database URL and authentication token in the claude_desktop_config.json file, and run the server using NPX.

  • Retrieve a list of tables in a database. - View the database schema. - Get the schema of a specific table. - Execute SELECT queries to read data from the database.
  1. Managing and querying data in Turso-hosted databases.
  2. Integrating database functionalities into applications using the MCP protocol.
  3. Debugging and logging database interactions for development purposes.

Add to your AI client

Use these steps to connect mcp-turso 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-nbbaier": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-nbbaier"
      ]
    }
  }
}

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-nbbaier": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-nbbaier"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

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-nbbaier": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-turso-nbbaier"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What is required to use mcp-turso?

You need a Turso database and the corresponding URL and authentication token.

Can I customize the logging path?

Yes, you can specify a custom logging path in the server's configuration.

Is there a license for mcp-turso?

Yes, it is licensed under the MIT License.