mcp-turso
by nbbaier
mcp-turso is a Model Context Protocol (MCP) server that provides access to Turso-hosted LibSQL databases. It allows retrieving database schema, table information, and performing SELECT queries.
Last updated: N/A
What is mcp-turso?
mcp-turso is an MCP server that enables interaction with Turso databases. It provides functionalities to retrieve database metadata and execute SELECT queries.
How to use mcp-turso?
To use mcp-turso, configure it within Claude Desktop or Cursor by adding the provided JSON configuration snippet to your settings. You'll need to provide your Turso database URL and authentication token. The server can be configured to use a custom log file path by using the --logs
flag.
Key features of mcp-turso
Retrieves a list of tables in a database
Retrieves a database's schema
Retrieves the schema of a table
Performs SELECT queries
Custom logging
Use cases of mcp-turso
Integrating Turso databases with applications that support MCP
Exploring and understanding the structure of Turso databases
Querying data from Turso databases within a development environment
Automating database schema discovery
FAQ from mcp-turso
How do I get my Turso database URL?
How do I get my Turso database URL?
Use the Turso CLI command: turso db show --url <database-name>
How do I get my Turso authentication token?
How do I get my Turso authentication token?
Use the Turso CLI command: turso db tokens create <database-name>
Where are the logs located?
Where are the logs located?
By default, logs are written to <parent-dir>/logs/mcp-turso.log
, or you can specify a custom path using the --logs
flag.
Can I specify a custom log file on Windows?
Can I specify a custom log file on Windows?
Not yet, but this feature is coming soon.
What query tools are available?
What query tools are available?
Currently, the server supports list_tables
, get_db_schema
, describe_table
, and query_database
.