Skip to main content
MCP server CX Codex

Approval gate for databases — Claude Code MCP server

The Approval gate for databases MCP server for Claude Code lets database reads pass and holds changes until another person approves them. Each approved call runs once.

MIT updated 2026-11-16

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env GATE_COMMAND=<GATE_COMMAND> --env HIBIRA_APP_ID=<HIBIRA_APP_ID> --env HIBIRA_KEY=<HIBIRA_KEY> --env HIBIRA_SECRET=<HIBIRA_SECRET> --env GATE_LABEL=<GATE_LABEL> --transport stdio approval-gate-for-databases -- npx -y @hibira-io/mcp-approval-gate
Open on GitHub

What Approval gate for databases does

Approval gate for databases sits between an AI client and a database MCP server. Read requests pass through; changes to data or schema wait for approval from another person, who reviews the statement on a Hibira Approvals page. An approved call runs once. If the approval service cannot be reached, the request does not run.

The setup requires a Hibira Approvals workspace and a database MCP server. Its install command passes GATE_COMMAND, HIBIRA_APP_ID, HIBIRA_KEY, and HIBIRA_SECRET; GATE_LABEL can also identify the database. Reads work before the gate connects to the workspace.

What it helps with

  • let database reads proceed without an approval pause
  • hold SQL changes until a supervisor reviews them
  • require fresh approval when a call's arguments change
  • stop write requests if the approval service is unreachable

Example prompts for the agent

  • Mark this order as refunded in the database.
  • Run this SQL update against the database.
  • Apply this migration to the database.

How to install Approval gate for databases

Platform CLI

claude mcp add --env GATE_COMMAND=<GATE_COMMAND> --env HIBIRA_APP_ID=<HIBIRA_APP_ID> --env HIBIRA_KEY=<HIBIRA_KEY> --env HIBIRA_SECRET=<HIBIRA_SECRET> --env GATE_LABEL=<GATE_LABEL> --transport stdio approval-gate-for-databases -- npx -y @hibira-io/mcp-approval-gate

Replace <…> with your own values. 2 more environment variables are in the server README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Approval gate for databases

How do I install Approval gate for databases in Claude Code?

Run `claude mcp add mcp-approval-gate -e GATE_COMMAND=<GATE_COMMAND> -e HIBIRA_APP_ID=<HIBIRA_APP_ID> -e HIBIRA_KEY=<HIBIRA_KEY> -e HIBIRA_SECRET=<HIBIRA_SECRET> -- npx -y @hibira-io/mcp-approval-gate`. This adds the MCP server and passes its configuration.

What does Approval gate for databases do?

It passes database reads through and holds changes until another person approves them. Each approved call runs once.

What does Approval gate for databases need to work?

It needs a Hibira Approvals workspace, a database MCP server, and the GATE_COMMAND, HIBIRA_APP_ID, HIBIRA_KEY, and HIBIRA_SECRET variables. GATE_LABEL can be added to label the database.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open