Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-libsql

基于Deno的LibSQL数据库接口服务

article

README

🚀 LibSQL模型上下文协议服务器

LibSQL模型上下文协议服务器是一款用于与LibSQL数据库交互的应用程序。它能提供模式信息,并支持表查询,可帮助开发者将LibSQL数据库功能无缝集成到其应用中。该服务器基于Deno 2.1构建,利用模型上下文协议(MCP)处理多种请求,兼顾灵活性与安全性。

🚀 快速开始

需求

  • Deno 2.1+
  • LibSQL数据库URL

安装与使用

安装Deno(macOS/Linux)

curl -fsSL https://deno.land/install.sh | sh

构建二进制文件

deno run build

运行服务器

# 访问本地不需要认证的LibSQL数据库
./mcp-server-libsql <database-url>

# 带认证访问
./mcp-server-libsql --auth-token <token> <database-url>

📄 许可证

本项目采用MIT许可证授权,详细信息请参阅LICENSE.txt文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client