libSQL Database
Provides secure database operations for libSQL/SQLite databases
Install the Turso CLI
- Open a terminal and run:
curl -sSfL https://get.tur.so/install.sh | bash
- Open a terminal and run:
Login to Turso
- Authenticate yourself in Turso by running:
turso auth login
- Authenticate yourself in Turso by running:
Create a Turso Auth Token
- Generate a new authentication token (replace
"mcp-libsql"with your chosen name):turso auth token create --name "mcp-libsql" - Copy the token returned by the command. You will need this value for the next steps.
- Generate a new authentication token (replace
Get Your Database URL
- Retrieve the URL for your Turso (libSQL) database:
turso db show your-database-name --url - Note the URL; you will need it for the configuration.
- Retrieve the URL for your Turso (libSQL) database:
Fill in ENV Values in the FastMCP Connection Interface
- Use your ready-made "Install Now" button to begin adding ENVs.
- In the FastMCP interface, enter the following ENV:
LIBSQL_AUTH_TOKEN— Paste the token generated in Step 3.
- Also, ensure the server is configured with your database URL (from Step 4) as required.
Save and Apply
- Confirm and save your changes in the FastMCP connection interface.
Note:
- For improved security, ENV variables (like
LIBSQL_AUTH_TOKEN) are preferable to CLI parameters—do not commit secrets to source control. - Always restart your MCP client or Claude Desktop after updating the configuration.
You have now successfully obtained and applied the required auth token for libSQL/Turso integration!
Quick Start
Choose Connection Type for
Authentication Required
Please sign in to use FastMCP hosted connections
Configure Environment Variables for
Please provide values for the following environment variables:
started!
The MCP server should open in . If it doesn't open automatically, please check that you have the application installed.
Copy and run this command in your terminal:
Make sure Gemini CLI is installed:
Visit Gemini CLI documentation for installation instructions.
Make sure Claude Code is installed:
Visit Claude Code documentation for installation instructions.
Installation Steps:
Configuration
Installation Failed
More for Database
View All →Supabase MCP Server
Connect Supabase projects directly with AI assistants using the Model Context Protocol (MCP). This server standardizes communication between Large Language Models and Supabase, enabling AI to manage tables, query data, and interact with project features like edge functions, storage, and branching. Customize access with read-only or project-scoped modes and select specific tool groups to fit your needs. Integrated tools cover account management, documentation search, database operations, debugging, and more, empowering AI to assist with development, monitoring, and deployment tasks in your Supabase environment efficiently and securely.
ClickHouse
Unlock powerful analytics with the ClickHouse MCP Server—seamlessly run, explore, and manage SQL queries across ClickHouse clusters or with chDB’s embedded OLAP engine. This server offers easy database and table listing, safe query execution, and flexible access to data from files, URLs, or databases. Built-in health checks ensure reliability, while support for both ClickHouse and chDB enables robust data workflows for any project.
Postgres MCP Pro
Boost your Postgres database performance with Postgres MCP Pro, an AI-driven MCP server offering advanced index tuning, detailed explain plans, and comprehensive health checks. It combines proven optimization algorithms with schema intelligence for safe, context-aware SQL execution. Whether analyzing slow queries or recommending optimal indexes, Postgres MCP Pro empowers developers to improve efficiency and maintain database integrity. Designed for both development and production, it supports flexible transport options and robust access controls, making database management smarter, safer, and easier. Experience deterministic performance insights alongside AI assistance to keep your Postgres running at its best.