• PROVISION
  • AUDIT
  • LOCATION
  • HUMAN

How to provision and audit databases with your AI

Connect Turso to your AI client to manage libSQL instances and audit your database footprint.

Ask AI about this page

Short answer

How can I use my AI to manage Turso databases?

You can instruct your AI to spin up new libSQL instances or pull a full report of your existing database groups and their edge locations. This gives you a direct way to handle infrastructure through natural language. You'll see the specific steps and capabilities below.

Where every action lands.

Database management outcomes

Your AI handles the heavy lifting of infrastructure requests and reporting.

PROVISION

New libSQL instances

The AI uses the connector to spin up fresh databases on demand. You get immediate confirmation once the instance is ready.

AUDIT

Registry verification

Your agent pulls a complete list of all your database groups. This helps you spot orphaned or forgotten instances.

LOCATION

Edge footprint check

The AI identifies exactly where your data lives by checking edge locations. You'll know your physical data distribution instantly.

HUMAN

Manual oversight

The AI provides the data and creates the instances, but you decide when to delete or move critical production workloads.

The workflow

What your AI does when the request arrives.

The AI translates your intent into specific Turso API calls.

  1. Spin up databases

    When you ask for a new instance, the AI triggers the creation process for a libSQL database.

    create_database
  2. Map your registry

    The agent scans your account to find all existing database groups and individual instances.

    list_databaseslist_database_groups
  3. Check data locality

    The AI looks up the specific edge locations where your databases are hosted.

    list_edge_locations
  4. Inspect specific instances

    For a deep dive, the AI pulls granular configuration data for a single database.

    get_database_details

Try it

Copy these to start.

Use these prompts to begin managing your Turso setup.

Starting points

These are starting points. Swap out the database names or group names with your actual Turso identifiers.

Turso Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_auXgf153NbgeNT8u85XWHaGvlwZ8G20GEzWf2zUa/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Turso capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "turso-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_auXgf153NbgeNT8u85XWHaGvlwZ8G20GEzWf2zUa/mcp"
    }
  }
}
Copy into chat04
  • Create a new libSQL database named 'production-api-db'.

  • List all my database groups to see what's currently active.

  • Where are my databases physically located? Check all edge locations.

  • Show me the details for the 'user-auth-db' instance.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Turso once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start using these commands in your preferred AI client.

Connect Turso to your AI

FAQ

How this task behaves

  • 01

    Can my AI delete my databases?

    No. This connector does not have a tool to delete databases, so your data is safe from accidental AI commands.

  • 02

    Can the AI change my database passwords?

    No. The available tools only allow for creation, listing, and inspecting details; they do not include credential management.

  • 03

    Will the AI create a database every time I ask?

    Yes, if you use a command that triggers the creation tool, the AI will attempt to provision that instance immediately.

  • 04

    Can I see where my data is stored?

    Yes. The AI can check the edge locations to show you exactly where your databases are hosted.

  • 05

    Does the AI manage my billing?

    No. The AI only interacts with the database infrastructure via the provided tools; it cannot access your Turso billing or subscription settings.

  • More questions about Turso? The Connector page answers them. See everything the Turso Connector can do

Connect Turso to Claude, Cursor, ChatGPT & more