# Connect Turso to Your AI Agent (Universal MCP)

> Use your AI to manage databases, monitor performance, and query data in Turso — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http turso https://api.universalmcp.app/mcp/turso`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/turso` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "turso", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Turso (Turso is joining Supabase to give every agent its own database) | Category: DevOps & IT/Security | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Database metadata, Query stats and schema, Keys and migrations; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=turso | Guide: https://universalmcp.app/mcp/turso
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (17 actions: 8 Read, 9 Write)
Perform over 10 actions across database lifecycle, replication & recovery, access & encryption, and platform operations. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Database Lifecycle (5):** Create Database for Tenant (write), List Databases in Group (read), Create Database Branch (write), Delete Database (write), Check Database Usage (read)
- **Replication & Recovery (5):** Configure Embedded Replica (write), Sync Embedded Replica (write), Check Replica Status (read), View Backup History (read), Restore Database from Backup (write)
- **Access & Encryption (4):** Create Platform API Token (write), Revoke API Token (write), Enable Per-Database Encryption (write), Review Encryption Settings (read)
- **Platform Operations (3):** Check API Status (read), Review Pricing Plan (read), Search Documentation (read)

## Example Prompts for Turso
- **Write spike scan:** "List Turso databases whose write volume rose above three times their weekly average and show each tenant's size."
- **Index suggestions:** "Review slow queries on the top ten Turso databases and suggest which tables need an index before next sprint."
- **Replica lag:** "Summarize replica lag and region placement for each Turso database, sorted by the highest lag first."
- **Draft with approval:** "Draft a schema migration plan for the tenant fleet and keep it unapplied until I approve the rollout."
