mcp-libsql
If you are the rightful owner of mcp-libsql and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP libSQL by xexr is a Model Context Protocol server designed for secure and efficient database operations with libSQL, integrating seamlessly with MCP-compatible clients like Claude Desktop.
MCP libSQL by xexr is a robust Model Context Protocol (MCP) server that facilitates secure and efficient database operations using the libSQL database. It is designed to work seamlessly with MCP-compatible clients such as Claude Desktop, Claude Code, and Cursor. Written in TypeScript and running on Node.js, this server provides a comprehensive suite of tools for database management, ensuring high security and reliability. With features like multi-layer SQL injection prevention, connection pooling, and transaction support, MCP libSQL ensures that database operations are both safe and efficient. The server also includes extensive logging and error handling capabilities, making it suitable for production environments. It supports various database types, including file-based and remote databases, and offers flexible configuration options for different operating systems.
Features
- Complete database management capabilities with all core tools implemented and tested.
- Comprehensive security validation with 67 security tests covering all injection vectors.
- Extensive test coverage with 244 total tests and a 100% pass rate.
- Robust error handling with connection retry, graceful degradation, and audit logging.
- Beautiful table formatting with proper alignment and NULL handling.
Tools
read-query
Execute SELECT queries with comprehensive security validation.
write-query
INSERT/UPDATE/DELETE operations with transaction support.
create-table
DDL operations for table creation with security measures.
alter-table
Table structure modifications (ADD/RENAME/DROP operations).
list-tables
Database metadata browsing with filtering options.
describe-table
Table schema inspection with multiple output formats.