Faucet

v0.1.15
io.github.faucetdb/faucet Checked 8 hours ago Published 1 month ago

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

Values you need

VariableWhat it is
FAUCET_DATA_DIRoptional Faucet data directory holding the databases you connected with `faucet serve` or `faucet db add`. Default: ~/.faucet. stdio mode runs with local admin rights.

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add faucet -- npx -y @faucetdb/faucet@0.1.15 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "faucet": {
      "args": [
        "-y",
        "@faucetdb/faucet@0.1.15",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "faucet": {
      "args": [
        "-y",
        "@faucetdb/faucet@0.1.15",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "faucet": {
      "args": [
        "-y",
        "@faucetdb/faucet@0.1.15",
        "mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.faucet]
command = "npx"
args = ["-y", "@faucetdb/faucet@0.1.15", "mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: faucet_delete, faucet_describe_table, faucet_insert, faucet_list_services, faucet_list_tables, faucet_query, faucet_raw_sql, faucet_update.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json