[Home](/index.md) › [MCP servers](/mcp.md) › Turso MCP server

# Turso MCP server

MCP server

- 5+ callable tools
- 5 capabilities

[Installation guide](https://docs.turso.tech/integrations/mcp)

## Overview

Turso publishes a hosted MCP server that lets AI agents manage Turso Cloud organizations, databases and groups, and run SQL. It authenticates with OAuth 2.1 and forwards each tool call to the Turso Platform API.

### Capabilities

- List, inspect, create, delete and branch databases
- Run read-only queries, writes, deletes and schema changes in SQL
- Query per-database analytics for top queries by frequency and latency
- List and restore databases and groups deleted within the last five days
- Turn deleted-database recovery on or off for an organization

## Works with

The products your agent can work with through this server.

- [Turso](/tools/turso.md): SQLite-based database platform

## Tools

The callable functions your agent uses to work with this server.

### `list_deleted_databases`

List databases deleted within the last five days.

### `restore_database`

Restore a deleted database by UUID, optionally under a new name.

### `list_deleted_groups`

List groups deleted within the last five days, including empty groups.

### `restore_group`

Restore a deleted group and the databases that were deleted with it.

### `set_organization_restore_enabled`

Turns recovery of deleted databases and groups on or off for an organization.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Turso MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http turso https://mcp.turso.ai/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Turso MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=turso&config=eyJ1cmwiOiJodHRwczovL21jcC50dXJzby5haS9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "turso": {
      "url": "https://mcp.turso.ai/mcp"
    }
  }
}
```

### Add Turso MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "turso": {
      "type": "http",
      "url": "https://mcp.turso.ai/mcp"
    }
  }
}
```

### Add Turso MCP server to Codex

Run this in your terminal:

```sh
codex mcp add turso --url https://mcp.turso.ai/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.turso]
url = "https://mcp.turso.ai/mcp"
```

If the server uses OAuth, sign in with `codex mcp login turso`.

### Add Turso MCP server to Claude

Add it as a custom connector with this URL:

```
https://mcp.turso.ai/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Turso MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://mcp.turso.ai/mcp
```

[Read the installation guide](https://docs.turso.tech/integrations/mcp)

## Related MCP servers

Other servers for the same products, or from the same vendor.

- [Turso docs MCP](/mcp/turso-docs.md)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [docs.turso.tech/integrations/mcp](https://docs.turso.tech/integrations/mcp)
- [github.com/tursodatabase/turso-mcp](https://github.com/tursodatabase/turso-mcp)
- [docs.turso.tech/features/recover-deleted-databases.md](https://docs.turso.tech/features/recover-deleted-databases.md)
