
xexr/mcp-libsql
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
포괄적 인 도구, 연결 풀링 및 거래 지원과 libSQL 데이터베이스에 대한 MCP 서버를 확보하십시오. Claude Desktop, Claude Code, Cursor 및 기타 MCP 클라이언트를 위한 TypeScript로 제작되었습니다.
개요
LibSQL 데이터베이스 작업에 대한 모델 Context Protocol (MCP) 서버는 Claude Desktop, Claude Code, Cursor 및 기타 MCP 호환 클라이언트를 통해 안전한 데이터베이스 액세스를 제공합니다. 3. Node.js 경로 및 데이터베이스 URL (아래 구성 예제 참조) ✅ - 모든 6 코어 도구 구현 및 테스트 ✅ - 모든 주입 벡터 ✅ - 244 총 테스트 (177 단위 + 67 보안) 100 % 통과율 ✅ - MCP 클라이언트와 함께 성공적으로 작업 ✅ - 연결 retry, 우아한 분해 및 감사 로깅 - : 포괄적인 보안 검증을 가진 SELECT 쿼리 실행 - : 트랜잭션 지원과 INSERT/UPDATE/DELETE 운영 - : 보안 조치로 테이블 생성을위한 DDL 작업 - : 테이블 구조 수정 (ADD/RENAME/DROP 작업) - : 필터링 옵션이있는 데이터베이스 메타데이터 검색 - : 여러 출력 형식의 테이블 스키마 검사 - 포괄적 인 보안 검증 - 건강 모니터링 및 자동 구호 논리 - ...
개요(AI 번역)
LibSQL 데이터베이스 작업에 대한 모델 Context Protocol (MCP) 서버는 Claude Desktop, Claude Code, Cursor 및 기타 MCP 호환 클라이언트를 통해 안전한 데이터베이스 액세스를 제공합니다.
TypeScript로 작성된 Node에서 실행
☸ ** 빠른 시작 **
-
설치:
-
** 로컬 테스트 :**
3.Configure Claude Desktop with your Node.js 경로 및 데이터베이스 URL (아래 구성 예제 참조)
🚀 Status
✅ ** 데이터베이스 관리 기능 ** - 모든 6 코어 도구 구현 및 테스트 ✅ **일반 보안 검증 ** - 모든 주사 벡터를 다루는 67 보안 테스트 ✅ ** 저렴 한 테스트 적용 ** - 244 총 테스트 (177 단위 + 67 보안) 100% 통행율 ✅ 제품 배포 확인 - MCP 클라이언트와 함께 성공적으로 작업 ✅ ** 튼튼한 오류 처리 ** - 연결 재시, 우아한 분해 및 감사 로깅
542️ 특징
###Available 도구 -read-query: SELECT queries 를 종합 보안 검증으로 실행 -write-query: 거래 지원과 INSERT/UPDATE/DELETE 운영 -create-table: 보안 대책으로 테이블 생성을 위한 DDL 작업
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP libSQL by xexr
A Model Context Protocol (MCP) server for libSQL database operations, providing secure database access through Claude Desktop, Claude Code, Cursor, and other MCP-compatible clients.
Runs on Node, written in TypeScript
🔧 Quick Start
-
Install:
pnpm install -g @xexr/mcp-libsql -
Test locally:
mcp-libsql --url file:///tmp/test.db --log-mode console -
Configure Claude Desktop with your Node.js path and database URL (see configuration examples below)
🚀 Status
✅ Complete database management capabilities - All 6 core tools implemented and tested
✅ Comprehensive security validation - 67 security tests covering all injection vectors
✅ Extensive test coverage - 244 total tests (177 unit + 67 security) with 100% pass rate
✅ Production deployment verified - Successfully working with MCP clients
✅ Robust error handling - Connection retry, graceful degradation, and audit logging
🛠️ Features
Available 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
Security & Reliability
- Multi-layer SQL injection prevention with comprehensive security validation
- Connection pooling with health monitoring and automatic retry logic
- Transaction support with automatic rollback on errors
- Comprehensive audit logging for security compliance
🔐 Security details: See docs/SECURITY.md for comprehensive security features and testing.
Developer Experience
- Beautiful table formatting with proper alignment and NULL handling
- Performance metrics displayed for all operations
- Clear error messages with actionable context
- Parameterized query support for safe data handling
- Development mode with enhanced logging and hot reload
📋 Prerequisites
- Node.js 20+
- pnpm (or npm) package manager
- libSQL database (file-based or remote)
- Claude Desktop (for MCP integration)
Platform Requirements
- macOS: Native Node.js installation
- Linux: Native Node.js installation
- Windows: Native Node.js installation or WSL2 with Node.js installation
🔧 Installation
# Use your package manager of choice, e.g. npm, pnpm, bun etc
# Install globally
pnpm install -g @xexr/mcp-libsql
mcp-libsql -v # check version
# ...or build from the repository
git clone https://github.com/Xexr/mcp-libsql.git
cd mcp-libsql
pnpm install # Install dependencies
pnpm build # Build the project
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"mcp-libsql": {
"command": "mcp-libsql",
"args": [
"--url",
"file:///Users/username/database.db"
]
}
}
}