MCP MCP Server

🗂️ A Model Context Protocol (MCP) server that provides integration with Turso databases for LLMs. This server implements a two-level authentication

Local serverstdio

What is the MCP MCP server?

If you already use MCP, the mcp mcp server is the piece that lets your assistant work with it directly. 🗂️ A Model Context Protocol (MCP) server that provides integration with Turso databases for LLMs. This server implements a two-level authentication system to handle both organization-level and database-level operations, making it easy to.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • list_databases — The list_databases tool exposed by this server
  • create_database — The create_database tool exposed by this server
  • delete_database — The delete_database tool exposed by this server
  • generate_database_token — The generate_database_token tool exposed by this server
  • list_tables — The list_tables tool exposed by this server
  • execute_read_only_query — Executes a read-only SQL query (SELECT, PRAGMA) against a database
  • execute_query — Executes a potentially destructive SQL query (INSERT, UPDATE, DELETE, CREATE, etc.) against a database
  • describe_table — The describe_table tool exposed by this server
  • vector_search — Performs vector similarity search using SQLite vector extensions
  • Setup — The Setup tool exposed by this server
  • Publishing — The Publishing tool exposed by this server

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Credentials and setup notes

Configuration is passed through the environment: TURSO_API_TOKEN, TURSO_ORGANIZATION, TURSO_DEFAULT_DATABASE. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP's toolset — list_databases, create_database, delete_database and 8 more — is a fair guide to whether it matches your workflow. It is maintained by spences10; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
list_databasesThe list_databases tool exposed by this server.
create_databaseThe create_database tool exposed by this server.
delete_databaseThe delete_database tool exposed by this server.
generate_database_tokenThe generate_database_token tool exposed by this server.
list_tablesThe list_tables tool exposed by this server.
execute_read_only_queryExecutes a read-only SQL query (SELECT, PRAGMA) against a database.
execute_queryExecutes a potentially destructive SQL query (INSERT, UPDATE, DELETE, CREATE, etc.) against a database.
describe_tableThe describe_table tool exposed by this server.
vector_searchPerforms vector similarity search using SQLite vector extensions.
SetupThe Setup tool exposed by this server.
PublishingThe Publishing tool exposed by this server.

How to install the MCP MCP server

{
	"mcpServers": {
		"mcp-turso-cloud": {
			"command": "npx",
			"args": ["-y", "mcp-turso-cloud"],
			"env": {
				"TURSO_API_TOKEN": "your-turso-api-token",
				"TURSO_ORGANIZATION": "your-organization-name",
				"TURSO_DEFAULT_DATABASE": "optional-default-database"
			}
		}
	}
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TURSO_API_TOKENCredential the server authenticates with.Yes
TURSO_ORGANIZATIONConfiguration value read at startup.Optional
TURSO_DEFAULT_DATABASEConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP to list databases.
  • Use MCP to create database.
  • Use MCP to delete database.

Frequently asked questions

The server provides separate tools: `execute_read_only_query` for SELECT/PRAGMA (safe, can be auto-approved) and `execute_query` for INSERT/UPDATE/DELETE/CREATE (requires explicit approval).