About Faucet
Faucet is an MCP server published by faucetdb in the Data category: faucet is an open-source, single-binary server that turns any SQL database into a secure, governed REST API with role-based access control and native MCP support for applications and AI agents. Conduid read 8 tools from its source: faucet_delete, faucet_describe_table, faucet_insert, faucet_list_services, faucet_list_tables, faucet_query and 2 more. No package is published for it, so it installs from a source checkout.
The repository has 177 stars and 26 forks, is licensed MIT, and its last commit was on 18 Oct 2026. The latest release is v0.1.15 (9 Oct 2026): Faucet turns a SQL database (PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Snowflake, SQLite) into a REST API and an MCP server for AI agents. It follows v0.1.14 (9 Oct 2026), and the 5 most recent releases go back to v0.1.11 (4 Mar 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data, database and rest-api.
Install
git clone https://github.com/faucetdb/faucetTools (8)
faucet_deleteDelete records| Parameter | Type | Description |
|---|---|---|
| filter * | string | Filter expression to select records to delete (e.g. "status = 'expired'") |
| service * | string | Name of the database service |
| table * | string | Name of the table to delete from |
faucet_describe_tableGet column names, types, and constraints| Parameter | Type | Description |
|---|---|---|
| service * | string | Name of the database service |
| table * | string | Name of the table to describe |
faucet_insertInsert new records| Parameter | Type | Description |
|---|---|---|
| records * | array | Array of record objects to insert (e.g. [{"name": "Alice", "age": 30}]) |
| service * | string | Name of the database service |
| table * | string | Name of the table to insert into |
faucet_list_servicesList all connected databasesfaucet_list_tablesList tables in a database| Parameter | Type | Description |
|---|---|---|
| service * | string | Name of the database service to list tables for |
faucet_queryQuery records with filters, ordering, pagination| Parameter | Type | Description |
|---|---|---|
| fields | array | List of columns to return, each either a plain column or an aggregate such as "SUM(amount)", "COUNT(*)", or "AVG(price) AS avg_price". Omit for all columns. |
| filter | string | Filter expression (e.g. "status = 'active' AND age > 21") |
| group | string | Comma-separated columns to GROUP BY (e.g. "region,status"). Aggregate in 'fields' to compute per group; order by an aggregate's alias. |
| limit | number | Maximum number of records to return (default 25, max 1000) |
| offset | number | Number of records to skip for pagination |
| order | string | Order clause (e.g. "created_at DESC, name ASC") |
| service * | string | Name of the database service |
| table * | string | Name of the table to query |
faucet_raw_sqlExecute raw SQL (admin only)| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of rows to return (default 100, max 10000) |
| params | array | Positional parameters for the SQL query |
| service * | string | Name of the database service |
| sql * | string | SQL query to execute |
| timeout | number | Query timeout in seconds (default 30) |
faucet_updateUpdate existing records| Parameter | Type | Description |
|---|---|---|
| filter * | string | Filter expression to select records to update (e.g. "id = 42") |
| record * | object | Object with column names and new values (e.g. {"status": "archived"}) |
| service * | string | Name of the database service |
| table * | string | Name of the table to update |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.9K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum and ui/package-lock.json.
- ✓No dynamic code executionScanned 106 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPcmd/faucet/cli/mcp.go:98, internal/mcp/server.go:115
- Starts other programs
- 1 callcmd/faucet/cli/serve.go:120
- Outbound network calls
- 13 callscmd/faucet/cli/serve.go:140, cmd/faucet/cli/status.go:47, internal/telemetry/telemetry.go:91
- Writes or deletes files
- 9 callscmd/faucet/cli/config_cmd.go:106, cmd/faucet/cli/helpers.go:209, cmd/faucet/cli/helpers.go:212
- Lockfile
- go.sum and ui/package-lock.json
Pattern matches on the source text of 106 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 3.9K words, fetched a month ago. The original in the repository is authoritative.
Read full README