原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Encrypted Sqlite

作者:rosch100版本 0.4.1i★ 0i在你的电脑上运行
注册名称io.github.rosch100/mcp-encrypted-sqlite

安装方法

概览

作者提供的说明(英文原文)

MCP server for encrypted SQLite databases (SQLCipher 4) - Works with MoneyMoney, KeePass and more

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集
  • 你需要填写:DB_PATH, DB_PASSPHRASE

安装

选择你使用的 AI 应用,然后复制设置。

通过 2/2 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Docker

    只需一次,所有需要 Docker 的服务器都能用

    打开 Docker 下载页 ↗

  2. 注册并创建 MCP Encrypted Sqlite 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 MCP Encrypted Sqlite 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "encrypted-sqlite": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "DB_PATH",
            "-e",
            "DB_PASSPHRASE",
            "ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1"
          ],
          "env": {
            "DB_PATH": "your-value",
            "DB_PASSPHRASE": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 MCP Encrypted Sqlite 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 MCP Encrypted Sqlite,或回答中出现 MCP Encrypted Sqlite 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 MCP Encrypted Sqlite

MCP Encrypted Sqlite 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 MCP Encrypted Sqlite 的应用

  • 需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次)
  • 需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次)
  • 需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次)

B · 数据库与数据集 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次)

  1. 安装 Docker

    只需一次,所有需要 Docker 的服务器都能用

    打开 Docker 下载页 ↗

  2. 注册并创建 MCP Encrypted Sqlite 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 MCP Encrypted Sqlite 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add encrypted-sqlite --env DB_PATH=your-value --env DB_PASSPHRASE=your-value -- docker run -i --rm -e DB_PATH -e DB_PASSPHRASE ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 MCP Encrypted Sqlite 在列表中并显示已连接

  6. 试一试

    用 MCP Encrypted Sqlite 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 MCP Encrypted Sqlite,或回答中出现 MCP Encrypted Sqlite 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次)

  1. 安装 Docker

    只需一次,所有需要 Docker 的服务器都能用

    打开 Docker 下载页 ↗

  2. 注册并创建 MCP Encrypted Sqlite 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 MCP Encrypted Sqlite 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 MCP Encrypted Sqlite 的设置中,DB_PATH, DB_PASSPHRASE 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 MCP Encrypted Sqlite 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 MCP Encrypted Sqlite,或回答中出现 MCP Encrypted Sqlite 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 MCP Encrypted Sqlite 的密钥(在开发者网站注册,可能收费) · 需要先在电脑上安装 Docker(只需一次)

  1. 安装 Docker

    只需一次,所有需要 Docker 的服务器都能用

    打开 Docker 下载页 ↗

  2. 注册并创建 MCP Encrypted Sqlite 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。可能收费。

    打开 MCP Encrypted Sqlite 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 MCP Encrypted Sqlite 的设置中,DB_PATH, DB_PASSPHRASE 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 MCP Encrypted Sqlite 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 MCP Encrypted Sqlite,或回答中出现 MCP Encrypted Sqlite 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 MCP Encrypted Sqlite 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add encrypted-sqlite --env DB_PATH=your-value --env DB_PASSPHRASE=your-value -- docker run -i --rm -e DB_PATH -e DB_PASSPHRASE ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "encrypted-sqlite": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DB_PATH",
        "-e",
        "DB_PASSPHRASE",
        "ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1"
      ],
      "env": {
        "DB_PATH": "your-value",
        "DB_PASSPHRASE": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "encrypted-sqlite": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DB_PATH",
        "-e",
        "DB_PASSPHRASE",
        "ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1"
      ],
      "env": {
        "DB_PATH": "your-value",
        "DB_PASSPHRASE": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "encrypted-sqlite": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DB_PATH",
        "-e",
        "DB_PASSPHRASE",
        "ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1"
      ],
      "env": {
        "DB_PATH": "your-value",
        "DB_PASSPHRASE": "your-value"
      }
    }
  }
}

需要你填写的值

  • DB_PATH 必填 env
    Path to the encrypted SQLite database file (inside container: /data/database.sqlite)
  • DB_PASSPHRASE 机密 必填 env
    Passphrase for decrypting the database (or use encrypted: prefix for encrypted passphrases)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
许可证i
未注明许可证
连接方式
在你的电脑上运行
最新版本i
0.4.1
发布到注册中心i
2025年12月1日
代码最后更新i
2026年8月25日
作者
rosch100
软件包
oci: ghcr.io/rosch100/mcp-encrypted-sqlite:0.4.1
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 rosch100 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于3个月前

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 1163 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1163 个服务器的 2% 更新
  • 基础检查结果等于或优于此分类中其他 1163 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Encrypted Sqlite 安全吗?

它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DB_PATH, DB_PASSPHRASE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于3个月前,最新版本(0.4.1)于12个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Dbx

Query databases from AI agents using connections configured in DBX.

作者:t8y2广泛使用↓ 9446/周★ 3万6个月前更新

在你的电脑上运行

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

作者:googleapis广泛使用★ 1.7万5天前更新

在你的电脑上运行

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

作者:googleapis广泛使用★ 1.7万8个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Encrypted SQLite MCP Server

MCP server for encrypted SQLite databases

A Model Context Protocol (MCP) server for working with encrypted SQLite databases using SQLCipher. This server provides tools to read database structures, query tables, and perform CRUD operations on encrypted SQLite databases.

Compatible with all MCP clients (Cursor, Claude Desktop, and others).

Works with encrypted databases from: MoneyMoney, 1Password, Signal, WhatsApp, Firefox, Telegram, KeePass, and other applications using SQLCipher encryption.

Features

  • Encrypted SQLite Support: Works with SQLCipher 4 encrypted databases - the key differentiator of this MCP server
  • Encrypted Passphrases: Support for AES-256-GCM encrypted passphrases with macOS Keychain integration
  • Database Exploration: List tables, columns, indexes, and schema metadata
  • Query Support: Execute arbitrary SQL queries (SELECT, INSERT, UPDATE, DELETE, DDL)
  • CRUD Operations: Insert, update, and delete rows with filtering
  • Configurable Cipher Profiles: Support for different SQLCipher configurations
  • MCP Protocol: Full Model Context Protocol implementation via STDIO
  • Security: SQL identifier validation to prevent SQL injection
  • Debug Mode: Optional debug output via MCP_DEBUG environment variable
  • Input Validation: Comprehensive validation for limits, offsets, and identifiers

Why Encrypted SQLite?

Many popular applications use encrypted SQLite databases (SQLCipher) to protect sensitive data. This MCP server is specifically designed to work with these encrypted databases.

Applications Using Encrypted SQLite Databases
  • MoneyMoney (macOS): Financial management app with encrypted local databases
  • 1Password: Password manager using SQLCipher for local vault storage
  • Signal: Encrypted messaging app with SQLCipher-protected message databases
  • WhatsApp: Messaging app using encrypted SQLite for local message storage
  • Firefox: Browser using SQLCipher for encrypted login databases
  • Telegram: Messaging app with encrypted local database storage
  • KeePass: Password manager supporting encrypted SQLite database files

If you need to access data from any of these applications or other SQLCipher-encrypted databases, this MCP server provides the tools you need. Note that you need the passphrase of the encrypted database.

Requirements

  • Java 21 or higher (JDK)
  • Gradle (wrapper included)
  • SQLite JDBC driver with encryption support (sqlite-jdbc-3.50.1.0.jar from sqlite-jdbc-crypt)

Quick Start

Cursor (One-Click Installation)

The easiest way to install this MCP server in Cursor is via the Cursor MCP Store:

  1. Visit cursor.store/mcp/rosch100/mcp-encrypted-sqlite
  2. Click "Add to Cursor"
  3. Follow the prompts to configure your database path and passphrase
Other MCP Clients

This server works with any MCP-compatible client. See the Configuration section below for setup instructions.

Installation

Docker (Recommended)

Use the pre-built Docker image from GitHub Container Registry:

docker pull ghcr.io/rosch100/mcp-encrypted-sqlite:latest

Quick Start: See DOCKER_QUICKSTART.md for Docker Desktop setup.

Detailed Configuration: See DOCKER_CONFIGURATION.md for advanced options.

From Source
  1. Clone the repository:

git clone https://github.com/rosch100/mcp-encrypted-sqlite.git

cd mcp-encrypted-sqlite

  1. Build the project:

./gradlew build installDist

The build process will automatically download sqlite-jdbc-3.50.1.0.jar from sqlite-jdbc-crypt releases and place it in the libs/ directory.

The executable will be available at build/install/mcp-encrypted-sqlite/bin/mcp-encrypted-sqlite.

Configuration

This MCP server works with any MCP-compatible client (Cursor, Claude Desktop, etc.). The configuration format follows the Model Context Protocol specification.

The server communicates via STDIO (standard input/output). Add the following configuration to your MCP client's configuration file:

Configuration file locations:

  • Cursor: ~/.cursor/mcp.json
  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Other clients: Refer to your client's documentation
{

"mcpServers": { "encrypted-sqlite": { "command": "/path/to/mcp-encrypted-sqlite/build/install/mcp-encrypted-sqlite/bin/mcp-encrypted-sqlite", "args": [ "--args", "{\"db_path\":\"/path/to/your/database.sqlite\",\"passphrase\":\"your-passphrase\"}" ] } } }

Optional Parameters:

  • `transport`: Defaults to "stdio" (can be omitted)
  • `cwd`: Not needed when using absolute paths (can be omitted)
  • `immutable`: Optional boolean in the --args JSON. When true, opens the DB with SQLite URI file:…?immutable=1 (no file locks). Use for peeking at DBs locked exclusively by another app (e.g. MoneyMoney). All write tools/SQL are disabled in this mode (insert_or_update / delete_rows omitted; execute_sql accepts read-only statements only).
  • `env`: Only needed if Java is not in your system PATH or for custom Java installation:
{

"mcpServers": { "encrypted-sqlite": { "command": "/path/to/mcp-encrypted-sqlite/build/install/mcp-encrypted-sqlite/bin/mcp-encrypted-sqlite", "args": [ "--args", "{\"db_path\":\"/path/to/your/database.sqlite\",\"passphrase\":\"your-passphrase\"}" ], "env": { "JAVA_HOME": "/path/to/java/home" } } } }

Docker Configuration
Plain Passphrase
{

"mcpServers": { "encrypted-sqlite": { "command": "docker", "args": [ "run", "--rm", "-i", "-v", "/path/to/your/database.sqlite:/data/database.sqlite:ro", "ghcr.io/rosch100/mcp-encrypted-sqlite:latest", "--args", "{\"db_path\":\"/data/database.sqlite\",\"passphrase\":\"your-passphrase\"}" ] } } }

Encrypted Passphrase (Recommended)

When using encrypted passphrases, you must pass the encryption key as an environment variable:

{

"mcpServers": { "encrypted-sqlite": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "MCP_SQLITE_ENCRYPTION_KEY=your-encryption-key", "-v", "/path/to/your/database.sqlite:/data/database.sqlite:ro", "ghcr.io/rosch100/mcp-encrypted-sqlite:latest", "--args", "{\"db_path\":\"/data/database.sqlite\",\"passphrase\":\"encrypted:your-encrypted-passphrase\"}" ] } } }

Important Notes:

  • The -e flag must come before the -v flag
  • macOS Keychain is NOT accessible from Docker containers - pass the encryption key explicitly
  • Get your encryption key: security find-generic-password -s "mcp-encrypted-sqlite" -a "encryption-key" -w
  • The database file is mounted as read-only (:ro) by default. Remove :ro if you need write access

Security Warning: Storing both the encryption key and encrypted passphrase as plain text in your configuration file is a security risk. See DOCKER_CONFIGURATION.md for secure alternatives.

Custom Cipher Profile

Override the default SQLCipher 4 settings by including a cipherProfile in the configuration JSON:

{

"mcpServers": { "encrypted-sqlite": { "command": "/path/to/mcp-encrypted-sqlite/build/install/mcp-encrypted-sqlite/bin/mcp-encrypted-sqlite", "args": [ "--args", "{\"db_path\":\"/path/to/your/database.sqlite\",\"passphrase\":\"your-passphrase\",\"cipherProfile\":{\"name\":\"SQLCipher 4 defaults\",\"pageSize\":4096,\"kdfIterations\":256000,\"hmacAlgorithm\":\"HMAC_SHA512\",\"kdfAlgorithm\":\"PBKDF2_HMAC_SHA512\"}}" ] } } }

Note: All fields in cipherProfile are optional - only specify the ones you want to override from the defaults. You can also specify cipherProfile in individual tool calls, but it's recommended to configure it once in the MCP server configuration for consistency.

Encrypted Passphrases

For enhanced security, you can store passphrases in encrypted form. The server uses AES-256-GCM encryption, which provides authenticated encryption and is both secure and fast.

macOS Keychain (Recommended for macOS)
  1. Generate and store key in Keychain: Run: ./store-key-in-keychain.sh --generate
  1. Encrypt your passphrase: Run: ./encrypt-passphrase.sh "your-plain-passphrase"

The key is automatically loaded from the Keychain when no environment variable is set.

Benefits:

  • Key is securely encrypted and stored by macOS
  • No environment variables needed
  • Automatic unlock with macOS user password
  • Works system-wide for all applications
Environment Variable (Cross-Platform)
  1. Generate an encryption key: Run: java -cp build/libs/mcp-encrypted-sqlite-VERSION.jar com.example.mcp.sqlite.config.PassphraseEncryption
  1. Set the encryption key: Run: export MCP_SQLITE_ENCRYPTION_KEY=" "
  1. Encrypt your passphrase: Run: java -cp build/libs/mcp-encrypted-sqlite-VERSION.jar com.example.mcp.sqlite.util.EncryptPassphrase "your-plain-passphrase"
Usage

Use the encrypted passphrase (with encrypted: prefix) in your configuration:

On macOS with Keychain (recommended):

{

"mcpServers": { "encrypted-sqlite": { "command": "/path/to/mcp-encrypted-sqlite/build/install/mcp-encrypted-sqlite/bin/mcp-encrypted-sqlite", "args": [ "--args", "{\"db_path\":\"/path/to/your/database.sqlite\",\"passphrase\":\"encrypted: \"}" ] } } }

*Note: No `env` section needed - the key is automatically loaded from macOS Keychain.*

With environment variable (cross-platform):

{

"mcpServers": { "encrypted-sqlite": { "command": "/path/to/mcp-encrypted-sqlite/build/install/mcp-encrypted-sqlite/bin/mcp-encrypted-sqlite", "args": [ "--args", "{\"db_path\":\"/path/to/your/database.sqlite\",\"passphrase\":\"encrypted: \"}" ], "env": { "MCP_SQLITE_ENCRYPTION_KEY": " " } } } }

Important Security Notes:

  • The encryption key MUST be available (macOS Keychain or MCP_SQLITE_ENCRYPTION_KEY environment variable)
  • The server automatically detects encrypted passphrases (starting with encrypted:) and decrypts them
  • Use PassphraseEncryption.generateKey() to generate strong keys (256 bits / 32 bytes)
  • AES-256-GCM provides authenticated encryption
  • Weak keys are automatically rejected

Available Tools

list_tables

List all tables in the database. By default only table names, with include_columns=true also column details.

Parameters:

  • db_path (optional if configured): Path to the database file
  • passphrase (optional if configured): Database passphrase
  • include_columns (optional, default: false): If true, column details are also returned

Example:

{

"name": "list_tables", "arguments": { "include_columns": true } }

get_table_data

Read data from a table with optional filtering, column selection, and pagination.

Parameters:

  • table (required): Table name
  • columns (optional): Array of column names to select
  • filters (optional): Object with column-value pairs for filtering
  • limit (optional, default: 200): Maximum number of rows
  • offset (optional, default: 0): Offset for pagination

Example: `json

只显示了开头部分;其余内容请在仓库中阅读