libsql.com
libsql.com logo

LibSQL

Integrates with LibSQL databases to enable schema retrieval and table querying for real-time data access and analysis.

Created byApr 23, 2025

LibSQL 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](https://docs.deno.com/runtime) (macos/linux):
Build the binary:
Run the server:

License

This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details.