Skip to main content
Glama
Anionix

datahub-okf-governed-query

by Anionix

DataHub + OKF Governed Query

A security-focused MCP adapter that combines read-only DataHub metadata evidence with a reviewed OKF-derived policy IR before executing a closed, typed query against synthetic PostgreSQL data.

Status

The architecture and implementation slices are specified. Implementation starts with the reproducible TypeScript and Nix foundation.

Related MCP server: readonly-postgres-mcp

Core boundary

MCP caller
  -> Context MCP
      -> pinned DataHub MCP (read-only evidence)
      -> private Unix socket
          -> Query Executor
              -> reviewed Policy IR
              -> live PostgreSQL schema and role verification
              -> fixed typed SQL
  <- validated structured result
  • DataHub is evidence, not the authorization authority.

  • Runtime authorization is deterministic; an LLM does not decide ALLOW.

  • The executor never accepts arbitrary SQL.

  • The MVP does not write decisions or query results back to DataHub.

  • The demo uses one synthetic dataset and fails closed on ambiguity or drift.

Development checks

Enter the pinned Nix shell, install with pnpm, and use Deno as the least-privilege TCB runtime:

nix develop
pnpm install --frozen-lockfile
deno task check

pnpm-lock.yaml is the only npm dependency lock. Deno uses the existing node_modules in manual mode and receives repository read access only for the TCB check. Environment access is limited to 22 exact non-secret TypeScript watcher, inspector, mode, and terminal keys; Deno receives no write, network, subprocess, FFI, or system permission.

Start with the design specification and the implementation plan index.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
<1hResponse time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    A
    maintenance
    Provides a read-only PostgreSQL SQL surface for LLM agents via MCP, with defense-in-depth security layers for safe database queries.
    3
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A metadata-guided, read-only SQL analysis MCP server for DataHub that helps agents perform safe analytical queries using DataHub schema, lineage, ownership, and tags, with a deterministic planner and strict SQL safety layer against local synthetic SQLite, guaranteeing zero write or mutation operations.
    Apache 2.0
  • F
    license
    A
    quality
    B
    maintenance
    A security-hardened Postgres MCP server that enables LLM agents to run safe, read-only SQL queries with enforcement via SQL-AST inspection and read-only transactions.
    1

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Anionix/datahub-okf-governed-query'

If you have feedback or need assistance with the MCP directory API, please join our Discord server