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.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add faucet -- npx -y @faucetdb/faucet~/.codex/config.toml
[mcp_servers.faucet]
command = "npx"
args = ["-y", "@faucetdb/faucet"]
# codex mcp add faucet -- npx -y @faucetdb/faucet~/.cursor/mcp.json
{
"mcpServers": {
"faucet": {
"command": "npx",
"args": [
"-y",
"@faucetdb/faucet"
]
}
}
}.vscode/mcp.json
{
"servers": {
"faucet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@faucetdb/faucet"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"faucet": {
"command": "npx",
"args": [
"-y",
"@faucetdb/faucet"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"faucet": {
"command": "npx",
"args": [
"-y",
"@faucetdb/faucet"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"faucet": {
"command": "npx",
"args": [
"-y",
"@faucetdb/faucet"
]
}
}
}