Overview
The LibSQL Model Context Protocol Server is a server application designed to interface with LibSQL databases, providing schema information and enabling table queries. It utilizes the Model Context Protocol (MCP) to handle various requests such as listing resources, reading resource schemas, completing prompts, and executing SQL queries.
To use the server, first install Deno, then build the binary and run the server with the appropriate database URL and authentication token if required.
- Interfaces with LibSQL databases for schema and query management. - Supports both authenticated and unauthenticated access. - Built using Deno 2.1 for modern JavaScript runtime capabilities.
- Integrating LibSQL database functionalities into applications.
- Managing database schemas and executing SQL queries programmatically.
- Facilitating resource listing and prompt completion for database interactions.
Add to your AI client
Use these steps to connect LibSQL Model Context Protocol Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"nicholasq-mcp-server-libsql-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nicholasq-mcp-server-libsql-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"nicholasq-mcp-server-libsql-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nicholasq-mcp-server-libsql-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"nicholasq-mcp-server-libsql-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nicholasq-mcp-server-libsql-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"nicholasq-mcp-server-libsql-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nicholasq-mcp-server-libsql-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nicholasq-mcp-server-libsql-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nicholasq-mcp-server-libsql-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"nicholasq-mcp-server-libsql-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-nicholasq-mcp-server-libsql-mcp-mirror"
]
}
}
}FAQ
What is required to run the server?
You need Deno 2.1+ and a LibSQL database URL.
Can I run the server without authentication?
Yes, the server supports both authenticated and unauthenticated access.
How do I build and run the server?
Follow the installation instructions provided in the documentation.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":612,"uuid":"9208bce1-46a0-4b19-8af0-99d5688d9907","name":"nicholasq_mcp-server-libsql","title":"LibSQL Model Context Protocol Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:24:10.218Z","updated_at":"2025-02-23T07:15:12.873Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"libsql,mcp-server,database-interface","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/nicholasq_mcp-server-libsql","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]