Skip to main content

Approval gate for databases

io.hibira/mcp-approval-gate

v0.4.0Updated Nov 13, 2026stdio · npm

Wraps a database MCP server: reads pass, writes wait for a supervisor to approve them.

Install

Needs 2 secrets. Replace 4 placeholders with your own values.

Run in your terminal. Replace 4 placeholders.

claude mcp add mcp-approval-gate -e 'GATE_COMMAND=<your-gate-command>' -e 'HIBIRA_APP_ID=<your-hibira-app-id>' -e 'HIBIRA_KEY=<your-hibira-key>' -e 'HIBIRA_SECRET=<your-hibira-secret>' -e GATE_MODE=writes -- npx -y @hibira-io/[email protected]

Configuration

7 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.

  • GATE_COMMAND
    Env var· required· secret
    The database MCP server to wrap, e.g. npx -y @bytebase/dbhub --transport stdio --dsn postgres://user:pass@host/db
  • HIBIRA_SECRET
    Env var· required· secret
    Hibira app secret
  • HIBIRA_APP_ID
    Env var· required
    Hibira app ID (hibira.io portal)
  • HIBIRA_KEY
    Env var· required
    Hibira app key
  • GATE_LABEL
    Env var· optional
    The database's name on the approval page
  • GATE_PUSH_INTERESTS
    Env var· optional
    Comma-separated push interests that receive approval requests
Show 1 more
  • GATE_MODE
    Env var· optional
    writes (default), all or noneDefault: writes

Listed in the official MCP Registry since Nov 13, 2026. Mirrored daily; last checked Nov 26, 2026.