FF

faucetdb/faucet

API development公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

177 stars 26 forks 品質 83 トレンド 8MIT

faucetdb/faucetは、https://github.com/faucetdb/faucet.からインポートされたMCPサーバー候補です。

概要

faucetdb/faucetは、https://github.com/faucetdb/faucet.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Faucet:SQL データベース用のREST APIとMCPサーバー

どんなSQLデータベースでも安全なREST APIとMCPサーバーに変換しましょう。バイナリ1つ。コマンド1つ。

Faucetはオープンソース(MIT)のシングルGoバイナリで、PostgreSQL、MySQL、MariaDB、SQL Server、Oracle、Snowflake、SQLiteをREST APIおよびAIエージェント向けのMCPサーバーに変換し、役割ベースのアクセス制御(RBAC)、OpenAPI 3.1、組み込みの管理UIを備えています。

エンドポイント、OpenAPI仕様、MCPツールはランタイム時にデータベーススキーマから生成されます。コード生成もORMもボイラープレートもありません。

ウェブサイト · ドキュメンタリー · はじめ · Docker · MCPサーバー · 問題点


蛇口って何?

FaucetはデータベースからREST-APIへのゲートウェイ — SQLデータベースに接続し、スキーマを内視し、認証、ロールベースアクセス制御(RBAC)、OpenAPIドキュメントを備えた完全なCRUD REST APIを生成する軽量なセルフホストサーバーです。また、/mcpにMCPサーバーを公開し、AIエージェントやAIアプリビルダー(Claude、ChatGPT、Cursor、VS Code、Windsurf、Base44、Replit)が同じロールとAPIキーを通じてデータをクエリできるようにします。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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.

GitHub で README 全文を見る

インストール

npx -y mcp-remote http://localhost:8080/mcp --header X-API-Key:YOUR_API_KEY
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "faucet": { "url": "http://localhost:8080/mcp", "headers": { "X-API-Key": "YOUR_API_KEY" } } } }