Deedglass logo

Deedglass

Governs Postgres agent actions, verifies real database changes, supports human approval, and seals signed records for offline checking.

Install Deedglass

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "deedglass": {
      "command": "npx",
      "args": [
        "-y",
        "deedglass",
        "mcp",
        "serve"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio deedglass -- npx -y deedglass mcp serve

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Deedglass MCP server places policy checks between an AI agent and Postgres, allowing, denying, or pausing tool calls for approval. Its MCP tools describe accessible tables, run read-only queries, execute controlled writes, and call an allow-listed function. Deedglass compares reported results with actual database changes, records the outcome in a signed record, and can support undo after a person countersigns an action. Use it when agents need guarded access to orders, refunds, or other Postgres data.

Use cases

  • Guard agent writes to Postgres orders and refunds
  • Inspect database tables before generating SQL
  • Require human approval for sensitive tool calls
  • Compare reported changes with actual database effects

Key features

  • Policy-based allow, deny, or approval decisions
  • Controlled Postgres queries and transactions
  • Allow-listed database function calls
  • Signed records for offline verification
  • Human approval checks for paused actions
  • Database change verification

Tools5

What Deedglass lets your agent do. Expand a tool for its parameters.

Verified live~647 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 45d

What it can do

From the 5 tools this server returned when we ran it; 5 declare their own safety hints.

Runs commands · 1Can delete or modify data · 1Makes changes · 3Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age47 days
Maintainers1

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · deedglass (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads713Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Deedglass works

What Deedglass does

Deedglass governs database actions made by AI agents and checks the difference between what an agent claims to have changed and what Postgres actually changed. Policies can allow a call, deny it, or pause it until a person approves. The resulting status distinguishes whether an action was checked or proven and whether the reported result matched the database outcome.

The MCP surface is focused on a constrained Postgres connection. Agents can inspect the tables available to them, read from public schemas, perform limited writes on configured tables, call a named database function, and wait for the result of a human approval decision. The listed writable tables are public.orders and public.refunds; the allow-listed function is public.ship_order(bigint).

Deedglass is intended for developers running agents against operational databases, as well as teams that need a review step before sensitive writes. It runs self-hosted, with the agent operating through Deedglass rather than holding the database credentials directly.

How it works

Each MCP call passes through Deedglass and is evaluated against its rules before execution. An allowed call runs with credentials supplied by Deedglass, while a denied call does not run. Calls requiring approval return a waiting message with an approval_id; the agent can pass that identifier to deedglass_check_approval, which waits up to 20 seconds for a decision and normally completes the workflow in one call.

Database writes run in a Deedglass-controlled transaction using a least-privilege role. After execution, Deedglass checks the database change against the action and seals the result as a signed record that can be checked offline. The project also describes undoing rows changed by an action after a person countersigns, although the MCP tool list here centers on execution, inspection, querying, function calls, and approval checks.

Setup and configuration

Run the server without a global install through:

Terminal
npx -y deedglass

Node.js 18 or newer is required. The project also supports a global npm installation, a platform archive from the latest release, or installation of the CLI with Go. An install script is available for macOS and Linux, and Docker images can be built locally from a checkout.

The application runs on the local computer and can connect to Claude Desktop, Cursor, VS Code, a record system, or a database. The quick-start commands include deedglass start, deedglass protect, and deedglass help. Configuration details such as database access and policy setup are handled by the Deedglass application and its connected systems.

Tools and capabilities

  • postgres_describe lists readable tables, columns, types, primary keys, estimated row counts, writable tables, and watched tables.
  • postgres_query runs one read-only SQL statement against public and returns up to 500 rows. It does not commit changes.
  • postgres_execute runs one INSERT, UPDATE, DELETE, or MERGE in a transaction controlled by Deedglass.
  • postgres_call invokes an allow-listed function with named arguments. The exposed function is public.ship_order(bigint), which marks a paid order as shipped.
  • deedglass_check_approval checks whether a person countersigned a paused action. On approval, Deedglass runs the original tool call and returns its result; nothing runs while approval is pending.

Limitations and notes

The project is pre-1.0 and is maintained as a self-hosted system. Its database MCP surface is limited to the configured readable and writable tables, the supported SQL statement types, and the allow-listed function. A write can be paused for approval, but approval is not implicit: the agent must check the supplied approval identifier before the original call can proceed.

The broader project includes a beta FHIR connector and change-feed support for other databases, but those capabilities are separate from the Postgres tools listed here. The project identifies the open-source core as Apache-2.0 and describes enterprise control-plane code separately.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Deedglass

Deedglass is an MCP server that connects AI agents to Postgres through policy-controlled tools. Its main tools describe accessible tables, run read-only queries, execute constrained writes, call an allow-listed function, and check human approvals. It compares actual database changes with the agent’s report and seals the result in a signed record.

Run `npx -y deedglass` with Node.js 18 or newer. You can also install the npm package globally, use a platform archive from the latest release, or install the CLI with Go. The project provides a macOS and Linux install script as well.

Yes, Deedglass works with Cursor. The project lists Cursor among the clients that can connect to the local application, and its protect workflow is intended for Cursor, Claude Code, and other coding agents.

Call `deedglass_check_approval` with the `approval_id` from the waiting message. It waits between 0 and 20 seconds for the person’s decision, defaulting to 10 seconds; if approved, Deedglass executes the original tool call and returns its result.

Yes, `postgres_execute` runs one INSERT, UPDATE, DELETE, or MERGE in a Deedglass-controlled transaction using a least-privilege role. The listed writable tables are `public.orders` and `public.refunds`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDeedglass AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/deedglass?style=directory)](https://allmcps.com/mcp/deedglass)
HTML Embed
<a href="https://allmcps.com/mcp/deedglass"><img src="https://allmcps.com/api/badge/deedglass?style=directory" alt="Deedglass on AllMCPs" /></a>