About LibSQL Model Context Protocol Server
An MCP server for LibSQL databases that provides schema information and table queries. It also supports resource listing and reading, prompt completion, and authenticated or unauthenticated access.
Key features
- 01LibSQL schema information
- 02Table queries using SQL
- 03Resource listing and reading
- 04Prompt completion
- 05Authenticated and unauthenticated access
Use cases
- 01Inspect LibSQL database schemas
- 02Query LibSQL tables with SQL
- 03Access a database with or without an auth token
MCP support
Uses MCP to handle requests for listing and reading resources, retrieving schemas, completing prompts, and executing SQL queries against LibSQL databases.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMELibSQL Model Context Protocol Server
The LibSQL Model Context Protocol Server is a server application designed to interface with LibSQL databases, providing schema information and enabling table queries. Built using Deno 2.1, this server leverages the Model Context Protocol (MCP) to handle various requests such as listing resources, reading resource schemas, completing prompts, and executing SQL queries. It supports both authenticated and unauthenticated access to LibSQL databases, ensuring flexibility and security. This project is ideal for developers looking to integrate LibSQL database functionalities into their applications seamlessly.
Requirements
- Deno 2.1+
- A LibSQL database URL
Usage
Install deno (macos/linux):
curl -fsSL https://deno.land/install.sh | sh
Build the binary:
deno run build
Run the server:
# If accessing a local libsql db that does not require auth
./mcp-server-libsql <database-url>
# With Auth
./mcp-server-libsql --auth-token <token> <database-url>
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.