mcp-turso-cloud logo

mcp-turso-cloud

by spences10

The mcp-turso-cloud server provides integration with Turso databases for LLMs, implementing a two-level authentication system to manage and query Turso databases directly from LLMs. It enables both organization-level and database-level operations.

View on GitHub

Last updated: N/A

What is mcp-turso-cloud?

mcp-turso-cloud is a Model Context Protocol (MCP) server that allows Large Language Models (LLMs) to interact with Turso databases. It provides a secure and convenient way to manage and query data stored in Turso from within LLM applications.

How to use mcp-turso-cloud?

To use the server, configure your MCP client (e.g., Cline/Claude Desktop) with the provided JSON configuration, specifying the necessary environment variables (TURSO_API_TOKEN, TURSO_ORGANIZATION, TURSO_DEFAULT_DATABASE). Then, use the available API tools (list_databases, create_database, execute_query, etc.) within your LLM to interact with your Turso databases.

Key features of mcp-turso-cloud

  • Organization-Level Operations (List, Create, Delete Databases, Generate Tokens)

  • Database-Level Operations (List Tables, Execute Query, Describe Table, Vector Search)

  • Two-Level Authentication System (Organization & Database)

  • Configuration via MCP Client

  • Vector Search using SQLite vector extensions

Use cases of mcp-turso-cloud

  • Building LLM-powered applications that require access to structured data stored in Turso.

  • Creating chatbots that can query and update information in a Turso database.

  • Implementing retrieval-augmented generation (RAG) systems using Turso for vector storage.

  • Integrating LLMs with existing Turso-backed applications.

FAQ from mcp-turso-cloud

What environment variables are required?

TURSO_API_TOKEN (required), TURSO_ORGANIZATION (required), TURSO_DEFAULT_DATABASE (optional), TOKEN_EXPIRATION (optional), TOKEN_PERMISSION (optional)

How do I get a Turso API token?

You can obtain a Turso API token through the Turso dashboard.

What is the purpose of the two-level authentication?

The two-level authentication system provides a secure way to manage access to both the Turso organization and individual databases.

What is the default expiration time for database tokens?

The default expiration time for generated database tokens is 7 days.

What permissions can I set for database tokens?

You can set the permission level to 'full-access' or 'read-only'.