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

Faucet

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

安装

概览

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

SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "faucet": {
      "command": "npx",
      "args": [
        "-y",
        "@faucetdb/faucet",
        "mcp"
      ],
      "env": {
        "FAUCET_DATA_DIR": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add faucet --env FAUCET_DATA_DIR=your-value -- npx -y @faucetdb/faucet mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "faucet": {
      "command": "npx",
      "args": [
        "-y",
        "@faucetdb/faucet",
        "mcp"
      ],
      "env": {
        "FAUCET_DATA_DIR": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "faucet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@faucetdb/faucet",
        "mcp"
      ],
      "env": {
        "FAUCET_DATA_DIR": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • FAUCET_DATA_DIR env
    Faucet data directory holding the databases you connected with `faucet serve` or `faucet db add`. Default: ~/.faucet. stdio mode runs with local admin rights.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Faucet 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, 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.03天前更新
安装

MCP server for interacting with Elasticsearch

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

作者的 README

打开 README

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

Faucet: REST API and MCP server for any SQL database

Turn any SQL database into a secure REST API and MCP server. One binary. One command.

Faucet is an open-source (MIT) single Go binary that turns PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Snowflake or SQLite into a REST API and an MCP server for AI agents, with role-based access control (RBAC), OpenAPI 3.1 and a built-in admin UI.

Endpoints, OpenAPI specs and MCP tools are generated from your database schema at runtime. No code generation, no ORM, no boilerplate.

Website · Docs · Getting Started · Docker · MCP Server · Issues


What is Faucet?

Faucet is a database-to-REST-API gateway — a lightweight, self-hosted server that connects to your SQL databases, introspects the schema, and generates a full CRUD REST API with authentication, role-based access control (RBAC), and OpenAPI documentation. It also exposes an MCP server at /mcp so AI agents and AI app builders (Claude, ChatGPT, Cursor, VS Code, Windsurf, Base44, Replit) can query your data through the same roles and API keys.

Think of it as an open-source alternative to DreamFactory, PostgREST, or Hasura, with multi-database support, a built-in admin UI, and native AI agent integration, all in a single binary. See how it compares.

Use Cases
  • Instant backend for apps — Skip writing CRUD APIs by hand. Point Faucet at your database and start building your frontend.
  • AI agent data access — Give Claude, GPT, or any MCP-compatible agent governed, read/write access to your databases.
  • Internal tools & dashboards — Generate APIs for internal databases without modifying existing infrastructure.
  • Legacy database modernization — Put a REST API in front of SQL Server 2012, MySQL 5.7, or PostgreSQL 9.6 without code changes.
  • Multi-database aggregation — Connect PostgreSQL, MySQL, SQL Server, Oracle, and more to a single Faucet instance and query them all through one API.
  • Rapid prototyping — Go from empty database to working API in under 60 seconds.

How It Works

┌──────────────┐       ┌───────────────────────────────────────┐       ┌──────────────┐

│ PostgreSQL │ │ F A U C E T │ │ REST API │ │ MySQL │──────▶│ │──────▶│ /api/v1/* │ │ MariaDB │ SQL │ ┌─────────┐ ┌──────┐ ┌───────────┐ │ ├──────────────┤ │ SQL Server │◀──────│ │ Schema │ │ RBAC │ │ OpenAPI │ │──────▶│ OpenAPI 3.1 │ │ Oracle │ │ │ Intro- │ │ Auth │ │ Generator │ │ │ /openapi.json│ │ Snowflake │ │ │ spection│ │ │ │ │ │ ├──────────────┤ │ SQLite │ │ └─────────┘ └──────┘ └───────────┘ │──────▶│ MCP Server │ └──────────────┘ │ │ │ (AI Agents) │ │ ┌──────────────────────────────────┐ │ ├──────────────┤ │ │ Embedded Admin UI (Preact) │ │──────▶│ Admin UI │ │ └──────────────────────────────────┘ │ │ :8080/ │ └───────────────────────────────────────┘ └──────────────┘

Connect any SQL database → Faucet introspects the schema → Instantly generates REST endpoints, OpenAPI docs, MCP tools, and an Admin UI — all secured with API keys, JWT auth, and role-based permissions.


Screenshots

Connect a database with host, port, user and password. Faucet tests it before saving and tells you what to fix.

Browse tables, columns, keys and data, and lock your API contract against breaking schema changes.

Build requests with filters and pagination, then copy them as curl, JavaScript or Python.

Copy-ready MCP setup for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf and ChatGPT.

See the Admin UI guide for a tour of every page.


Key Features

API Generation
  • Full CRUD REST API — GET, POST, PUT, PATCH, DELETE with filtering, ordering, and pagination
  • Schema introspection — Discovers tables, columns, types, and constraints at runtime
  • Schema DDL — Create, alter, and drop tables via API
  • Stored procedure calls — Execute stored procedures with typed parameters
  • Human-readable query filters — (age > 21) AND (status = 'active')
  • OpenAPI 3.1 spec — Auto-generated from live database schema at /openapi.json
Security & Access Control
  • API key authentication — SHA-256 hashed keys with per-key role assignment
  • JWT authentication — HMAC-SHA256 signed tokens for admin sessions
  • Role-based access control (RBAC) — Per-table verb permissions (GET, POST, PUT, PATCH, DELETE)
  • Row-level security filters — Filter expressions are stored per access rule and returned by the API; applying them to queries is planned and not enforced yet
  • Schema contract locking — Lock your API contract against silent breaking schema changes with three modes (none, auto, strict), drift detection, and CLI management
AI Agent Integration (MCP)
  • Built-in MCP server — 8 tools + 2 resources for Model Context Protocol, served at /mcp on the same port as the REST API
  • Works with your AI tools — Copy-ready configs for Claude Code, Claude Desktop, Cursor, VS Code and Windsurf; ChatGPT via a Custom GPT Action on /openapi.json
  • Streamable HTTP + stdio transport — API-key authenticated over the network, or stdio on your own machine
  • Governed AI queries — AI agents respect the same RBAC rules as API clients
Developer Experience
  • Single binary — Zero external dependencies, cross-platform (Linux, macOS, Windows)
  • Embedded admin UI — connect databases with host, port, user and password (no connection strings), test before saving, browse schemas and data, build roles and keys, and copy ready-made MCP configs for Claude, Cursor, VS Code and more. Works offline; light and dark themes
  • SQLite config store — All configuration stored locally, no external database required
  • npm + Homebrew + Docker — Install in seconds on any platform (npx @faucetdb/faucet)
  • Health endpoints — /healthz and /readyz for Kubernetes-style probes

Supported Databases

DatabaseVersionsCloud VariantsTutorial
PostgreSQL9.6 – 17Amazon RDS, Aurora, Supabase, Neon, Azure DatabaseGuide
MySQL5.7 – 9.xAmazon RDS, Aurora MySQL, PlanetScale, Azure MySQLGuide
MariaDB10.2 – 11.xVia MySQL driverMySQL guide
SQL Server2012 – 2022Azure SQL Database, Amazon RDSGuide
Oracle12c – 26aiOracle Cloud (OCI), Amazon RDS, AzureGuide
SnowflakeCurrentAWS, Azure, GCPGuide
SQLite3.35+Local file, in-memoryGuide

Connector details, SSL options and driver notes: Database connectors.


60-Second Quickstart

Install

npm (Node.js 18+):

npx @faucetdb/faucet serve

Homebrew (macOS / Linux):

brew install faucetdb/tap/faucet

Docker:

docker run -p 8080:8080 -v faucet-data:/data faucetdb/faucet

Go:

go install github.com/faucetdb/faucet/cmd/faucet@latest

Binary download: See GitHub Releases for pre-built binaries (Linux, macOS, Windows).

Run
faucet serve

Open http://localhost:8080. The setup wizard creates your admin account and connects your first database: pick the engine, enter host, port, username and password, click Test connection, and save. Every table gets REST endpoints at /api/v1/ /_table/ and MCP tools right away. Then create a role on the Roles page and an API key on the API keys page, which hands you a ready-to-run curl command and an MCP setup command that already contain the new key.

Prefer the terminal? The same steps with the CLI:

# Create an admin account and add a database (no connection string needed)

faucet admin create --email admin@example.com --password changeme123 faucet db add --name mydb --driver postgres \ --host localhost --user app --password 's3cret@!' --database mydb

Create a role that can read every database, then an API key bound to it

faucet role create --name default --verbs GET faucet key create --role default

Start the server (it loads databases on startup), then query your data

faucet serve curl -H "X-API-Key: faucet_YOUR_KEY_HERE" "http://localhost:8080/api/v1/mydb/_table/users?limit=10"

--dsn still works if you already have a connection string. A running server picks up databases added through the admin UI or API immediately; databases added with faucet db add are loaded the next time the server starts.


MCP Server for AI Agents

Faucet includes a built-in Model Context Protocol (MCP) serv

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

问 PopNx