原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SQLX

作者:OtterMind版本 0.1.21i★ –i在你的电脑上运行
注册名称io.github.OtterMind/sqlx

安装

概览

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

Run SQL on 30+ databases through saved, encrypted connections; credentials stay local.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "sqlx": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ottermind/sqlx:0.1.21"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add sqlx -- docker run -i --rm ghcr.io/ottermind/sqlx:0.1.21

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "sqlx": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ottermind/sqlx:0.1.21"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "sqlx": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ottermind/sqlx:0.1.21"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

SQLX 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.21)于22天前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

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

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

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.0前天更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

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

SQLX

Connect to MySQL, MariaDB, TiDB, GreatSQL, OceanBase, PostgreSQL, CockroachDB, YugabyteDB, openGauss, Oracle, SQL Server, ClickHouse, Trino, Presto, StarRocks, Apache Doris, TDengine, Dameng, KingbaseES, Apache Kylin, XuguDB, IBM Db2, IBM Informix, SUNDB, GBase 8s, Redis and MongoDB, or open a local SQLite, DuckDB or H2 file, from your terminal or from your agent. Connections are saved encrypted, one invocation runs one or more statements or commands, and the results come back complete and structured.

Quick start

# 1. Install the CLI (macOS, Linux and Windows x64; Node.js 22 or newer)

npx -y @ottermind/sqlx@latest export PATH="$HOME/.local/bin:$PATH"

2. Create a connection (an interactive terminal prompts for the username and password)

sqlx datasource add --name dev --type postgresql --host db.example.com --port 5432 --database app sqlx datasource test --id dev

3. Run SQL

sqlx sql execute --datasource dev --command "SELECT current_database()"

Using an agent? See Use with your agent: install one plugin or extension and the agent calls SQLX directly.

Install the CLI

Three channels, pick one: prebuilt packages from GitHub Releases, the npx installer, or the platform install scripts.

macOS and Linux
curl -fsSL https://raw.githubusercontent.com/OtterMind/sqlx/main/scripts/install.sh | sh

export PATH="$HOME/.local/bin:$PATH" sqlx --version sqlx init

The installer selects your platform, downloads the executable and verifies its SHA-256. It installs to ~/.local/bin; add that directory to your shell's persistent PATH. SQLX_INSTALL_DIR chooses another directory and SQLX_VERSION selects a release version.

Windows x64

Run in PowerShell:

$installer = Join-Path $env:TEMP 'sqlx-install.ps1'

Invoke-WebRequest 'https://raw.githubusercontent.com/OtterMind/sqlx/main/scripts/install.ps1' -OutFile $installer powershell -NoProfile -ExecutionPolicy Bypass -File $installer $env:Path = "$env:LOCALAPPDATA\Programs\SQLX;$env:Path" sqlx --version sqlx init

Add %LOCALAPPDATA%\Programs\SQLX to your user PATH for future sessions. Neither installer overwrites an unrelated executable already named sqlx; use a different install directory in that case.

Prebuilt targets are macOS ARM64/x64, Linux ARM64/x64 and Windows x64; the Linux baseline is Ubuntu 24.04. Release users do not need Rust, Java or database drivers: database workers and a private JRE are downloaded only when needed.

Node.js (npx)

macOS, Linux and Windows x64 with Node.js 22 or newer:

npx -y @ottermind/sqlx@latest

export PATH="$HOME/.local/bin:$PATH" sqlx --version

The installer verifies the release manifest, SHA256SUMS and the downloaded archive before installing. It uses the same user-level location as the platform installers and installs the Skill into ./sqlx, which no agent watches: --target codex, --target claude, --target dsh, --target pi or --target place the Skill where it is actually discovered, and --cli-only installs the CLI alone. Any other first argument is run as a SQLX command instead of installing, so npx -y @ottermind/sqlx@latest mcp starts the MCP server. Node.js is needed only by the installer, never by the CLI.

Updates

The CLI updates its own executable:

sqlx update check       # report the latest stable version without installing it

sqlx update install # download, verify and replace the executable sqlx update status # read local history without network access

sqlx update install --version installs an exact stable version. Updates do not stop running SQL or the UI service, do not modify saved connections, and do not update Skills or plugins automatically; use sqlx skill update for managed Skills, and an installed UI plugin keeps the version you selected (the default interface moves with the CLI release).

Interactive use checks in the background at most once per day and only prints a notice on stderr. Piped and CI commands skip that check, and SQLX_NO_UPDATE_CHECK=1 disables it. Source builds and package-manager-owned paths keep their own installation method.

Use with your agent

All four are ready as soon as they are installed: the plugin or extension installs the sqlx CLI itself when it is missing, so you never install it separately. Codex and Claude additionally require the CLI to meet the plugin's minimum version and refuse to start an older incompatible MCP server silently.

Each of them also leaves the Skill installed, because the CLI alone gives an agent the tools but none of the engine knowledge. A plugin installs the Skill into that agent's own directory on first launch when it is not there yet, and says so on stderr while it does.

Codex
codex plugin marketplace add OtterMind/sqlx@plugins

codex plugin add sqlx@ottermind

The plugin starts sqlx mcp over MCP. Read-only operations run directly; the two execution tools (sqlx_sql_execute and sqlx_sql_view) are marked destructive and Codex asks for approval by default.

Claude Code
claude plugin marketplace add OtterMind/sqlx@plugins

claude plugin install sqlx@ottermind

Headless runs need an explicit tool allowlist:

claude --allowedTools "mcp__plugin_sqlx_sqlx__*" -p "List my SQLX datasources"
DeepSeek Harness
dsh plugin --profile web add @ottermind/sqlx-dsh    # browser UI

dsh plugin --profile tui add @ottermind/sqlx-dsh # terminal UI

Plugins belong to a profile: install it into the profile you use, then restart dsh.

Pi
pi install npm:@ottermind/sqlx-pi
Any other MCP client

A client with no plugin system takes the server straight from the published package. It installs the sqlx CLI itself on first use, so this is the whole setup:

{

"mcpServers": { "sqlx": { "command": "npx", "args": ["-y", "@ottermind/sqlx@latest", "mcp"] } } }

Point command at an installed binary instead to start without npx; a GUI application often has no ~/.local/bin on its PATH, so give the absolute path (~/.local/bin/sqlx on macOS and Linux, %LOCALAPPDATA%\Programs\SQLX\sqlx.exe on Windows) and keep "args": ["mcp"].

Such a client receives no Skill, so its agent runs the tools without the engine recipes. Install it where the client reads instructions from with sqlx skill install --path .

SQLX is also listed in the MCP Registry as io.github.OtterMind/sqlx, which points at a container image for clients that install from there: docker run -i --rm ghcr.io/ottermind/sqlx:latest. A container reaches only the SQL-execution path — the credential page, the result page and the local workbench are served on the container's own 127.0.0.1, and the data directory lives inside it, so mount a volume at /root/.sqlx to keep saved connections. Prefer the package above when the user should type credentials or read results.

Skill only
sqlx skill install --target codex     # Codex and dsh share ~/.agents/skills

sqlx skill install --target claude sqlx skill install --target dsh sqlx skill install --target pi

sqlx skill status # list managed installations sqlx skill update # update them, keeping local edits

For another agent, pass its skill directory with sqlx skill install --path .

Connections and SQL

Create a connection
sqlx datasource add --name dev --type postgresql --host db.example.com --port 5432 --database app

sqlx datasource test --id dev sqlx sql execute --datasource dev --command "SELECT current_database()" --command "SELECT 1"

Database--type valuesExecutionRequired values and defaults
MySQLmysqlnative workerport 3306 by default
MariaDBmariadbreuses the MySQL workerport 3306 by default
TiDBtidbreuses the MySQL workerport 4000 by default
GreatSQLgreatsqlreuses the MySQL workerport 3306 by default
OceanBaseoceanbase, obreuses the MySQL workerport 2881 by default; connect as user@tenant
StarRocksstarrocksreuses the MySQL workerport 9030 by default; has no user database until one is created
Apache Dorisdorisreuses the MySQL workerport 9030 by default; has no user database until one is created
PostgreSQLpostgresql, postgres, pgsqlnative workerport 5432 by default
CockroachDBcockroachdb, cockroach, crdbreuses the PostgreSQL worker
YugabyteDByugabytedb, yugabyte, ybreuses the PostgreSQL workerport 5433 by default
openGaussopengauss, gaussdbJDBC workerport 5432 by default; authenticates with its own driver
OracleoracleJDBC worker--service is required
SQL Serversqlserver, mssqlJDBC workerport 1433 by default
ClickHouseclickhouseJDBC workerconnects to the HTTP port, 8123 by default
TrinotrinoJDBC worker--database [. ] is required
TDenginetdengine, taosJDBC workerconnects through taosAdapter, 6041 by default
Damengdameng, dmJDBC workerport 5236 by default; the account is also the default schema
KingbaseESkingbase, kingbaseesJDBC workerport 54321 by default
Redisredisnative workerport 6379 by default; each --command is one Redis command, not SQL
MongoDBmongodb, mongonative workerport 27017 by default; each --command is one command document, not SQL
SQLitesqlite, sqlite3native worker--path (or --database) opens or creates a local file; no host, port or credentials; --property mode=ro and --property busy_timeout=
DuckDBduckdbnative worker--path opens or creates a local file, :memory: keeps one for the invocation; --property read_only=true and --property threads=
H2h2JDBC worker--path opens a local file, or --host and --port (9092 by default) reach a TCP server
Prestopresto, prestodbJDBC workerport 8080 by default; --database [. ] is required; --username is required and a password is only sent over TLS
HivehiveJDBC workerport 10000 by default; --database selects the Hive database, default when unset
Apache KylinkylinJDBC workerport 7070 by default; --database carries the Kylin project, and the default account is ADMIN/KYLIN
XuguDBxugu, xugudbJDBC workerport 5138 by default; SYSTEM is the system database
IBM Db2db2, ibmdb2JDBC workerport 50000 by default; needs a driver you provide, see Drivers you provide
IBM Informixinformix, ifxJDBC workerport 9088 by default; --service is required and the driver must be provided
SUNDBsundbJDBC workerport 22581 by default; runs the Goldilocks engine and needs the driver from the vendor image
GBase 8sgbase8s, gbasedbtJDBC workerport 9088 by default; --service is required and the driver must be provided

--id and --datasource accept a stable datasource UUID or its unique name.

To let the user type the password in a local page, so it never enters the conversation or a tool response:

sqlx datasource add --ui --name dev --type postgresql --host db.example.com --port 5432 --database app

sqlx datasource setup-status --request-id

To edit an existing connection and keep its saved password unless you replace it: sqlx datasource update --id dev --ui.

Connections do not use TLS unless you ask for

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

问 PopNx