Back to Home
rosch100 icon

mcp-encrypted-sqlite

Verified Safe

by rosch100

Overview

Provides a Model Context Protocol (MCP) server for interacting with encrypted SQLite databases (SQLCipher 4), enabling database exploration, querying, and CRUD operations.

Installation

Run Command
docker run --rm -i -v "${DB_PATH}:/data/database.sqlite:ro" ghcr.io/rosch100/mcp-encrypted-sqlite:latest --args '{"db_path":"/data/database.sqlite","passphrase":"${DB_PASSPHRASE}"}'

Environment Variables

  • MCP_SQLITE_ENCRYPTION_KEY
  • MCP_DEBUG
  • DB_PATH
  • DB_PASSPHRASE

Security Notes

The server implements robust SQL identifier validation to prevent SQL injection for most database operations. It uses strong AES-256-GCM encryption for passphrases, with secure key management via macOS Keychain or environment variables, and includes checks for weak keys. The `execute_sql` tool is explicitly noted as executing raw SQL without parameterization, carrying a security warning for untrusted input. The server communicates via STDIO, limiting direct network attack surface. Overall, security is a high priority in its design.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-11-30

Tags

sqlitedatabaseencryptionsqlcipherdata-access