Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

ROUA: read-only database accounts

by PromiseGithubversion 0.4.0i★ 0iRuns on your computerOfficial site ↗

How to install

What it does

Create and audit read-only database accounts for AI agents: PostgreSQL, MySQL, SQL Server and more.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Databases & datasets

Use together with

Skills that teach the AI this kind of work; they work alongside this one

last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

by mvanhorn★ 74,3801 skills

Skill · How-to guide

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

by google-research★ 35,6811 skills

Skill · How-to guide

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

by BigBodyCobain★ 11,6271 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install ROUA: read-only database accounts. Follow https://mcp.popnx.com/i/promisegithub-roua.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 25, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ROUA: read-only database accounts for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "roua": { "command": "npx", "args": [ "-y", "@roua-dev/cli", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ROUA: read-only database accounts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "roua": {
          "command": "npx",
          "args": [
            "-y",
            "@roua-dev/cli",
            "mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use ROUA: read-only database accounts and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using ROUA: read-only database accounts or shows a ROUA: read-only database accounts tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ADMIN_DATABASE_URL Optional PostgreSQL admin connection string for the live, read-only audit tool.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect ROUA: read-only database accounts yet

ROUA: read-only database accounts runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect ROUA: read-only database accounts

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Databases & datasets that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ROUA: read-only database accounts for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user roua -- npx -y @roua-dev/cli mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ROUA: read-only database accounts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user roua -- npx -y @roua-dev/cli mcp
  4. Type /mcp in Claude Code

    You should see ROUA: read-only database accounts listed as connected

  5. Try it

    Use ROUA: read-only database accounts and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using ROUA: read-only database accounts or shows a ROUA: read-only database accounts tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ADMIN_DATABASE_URL Optional PostgreSQL admin connection string for the live, read-only audit tool.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ROUA: read-only database accounts for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "roua": { "command": "npx", "args": [ "-y", "@roua-dev/cli", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ROUA: read-only database accounts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use ROUA: read-only database accounts and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using ROUA: read-only database accounts or shows a ROUA: read-only database accounts tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ADMIN_DATABASE_URL Optional PostgreSQL admin connection string for the live, read-only audit tool.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server ROUA: read-only database accounts for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "roua": { "type": "stdio", "command": "npx", "args": [ "-y", "@roua-dev/cli", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the ROUA: read-only database accounts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use ROUA: read-only database accounts and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using ROUA: read-only database accounts or shows a ROUA: read-only database accounts tool in the answer, you are connected

1 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • ADMIN_DATABASE_URL Optional PostgreSQL admin connection string for the live, read-only audit tool.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use ROUA: read-only database accounts💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user roua -- npx -y @roua-dev/cli mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "roua": {
      "command": "npx",
      "args": [
        "-y",
        "@roua-dev/cli",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "roua": {
      "command": "npx",
      "args": [
        "-y",
        "@roua-dev/cli",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "roua": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@roua-dev/cli",
        "mcp"
      ]
    }
  }
}

Values you fill in

  • ADMIN_DATABASE_URL secret env
    Optional PostgreSQL admin connection string for the live, read-only audit tool.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.PromiseGithub/roua
Downloads per weeki
Not on npm/PyPI
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.4.0
Published to registryi
Nov 25, 2026
Code last changedi
Nov 25, 2026
Maker
PromiseGithub
Packages
npm: @roua-dev/cli
Website
kaizam.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account PromiseGithub, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/promisegithub-roua.svg)](https://mcp.popnx.com/en/servers/promisegithub-roua)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Databases & datasetsi

  • More stars than 0% of the other 1310 servers in this category
  • Published to the registry more recently than 97% of the other 1310 servers in this category
  • Basic checks equal to or better than 99% of the other 1310 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is ROUA: read-only database accounts safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.4.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Supabase, Neon, DBCode, Keboola MCP, WaveHouse Cloud

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Supabase

Supabase’s official server lets AI create tables, query data and review project settings in your Supabase database.

by supabaseWidely used↓ 245.5K/wk★ 3K Stars for the whole repoUpdated 6 days ago

Connect now (has URL) · sign-in✓ service owner · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

by neondatabaseGrowing★ 667Updated 20 days ago

Connect now (has URL) · sign-in✓ service owner · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

by dbcodeioEarly↓ 118/wk★ 369 Stars for the whole repoUpdated 2 months ago

Runs on your computer✓ service owner · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

by keboolaGrowing↓ 1.4K/wk★ 84Updated 7 days ago

Connect now (has URL) · sign-in✓ service owner · keboola.com

WaveHouse Cloud

Browse, query, and administer your managed WaveHouse + ClickHouse projects (schema, pipes, policy).

by Wave-RFEarly★ 41Updated 5 days ago

Connect now (has URL) · sign-in✓ service owner · wavehouse.cloud
Compared with similar ones
This one
ROUA: read-only database accounts
SupabaseNeonDBCodeKeboola MCPWaveHouse Cloud
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to install
Needs a keyNoYesNoNoNoNo
Add with + in ClaudeNoYesYesNoNoNo
Basic checks3/35/55/52/35/54/4
LicenseApache-2.0Apache-2.0MITNOASSERTIONMITApache-2.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

ROUA: Read-Only User Accounts

Is your read-only user actually read-only?

ROUA (*Read-Only User Account*) is an open standard and toolkit for accounts you hand to an AI agent, a demo, an auditor or an app-store reviewer. These accounts can look at everything they should, change nothing, read no secrets, and expire on their own.

Spec 0.1 (draft) · PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, MongoDB, Redis, Snowflake, BigQuery · The term ROUA was coined by Promise Okoroji.

Feedback wanted. ROUA is young and shaped by the people who use it. Share an idea, tell us what to improve, or say hello in Discussions. Collaborators are welcome.

Check the accounts you already have

$ export ADMIN_DATABASE_URL=postgres://admin@db.internal/appdb

$ npx @roua-dev/cli audit --role readonly

ROUA audit: role readonly (PostgreSQL 16)

FAIL R2 Account expires No expiry (VALID UNTIL is not set). Forgotten accounts are the most common leak. INFO R5 Reachable roles are not privileged app_rw (via SET ROLE) FAIL T1 No write privileges on tables or views public.orders: DELETE, INSERT, UPDATE (via app_rw) WARN F1 No executable SECURITY DEFINER functions refund(integer) (owner postgres) FAIL X1 No secret-pattern columns readable public.users.password_hash ... NOT READ-ONLY (or not safe to hand over) 3 fail, 7 warn, 7 pass, 1 info

The audit is read-only and needs nothing installed in the database. It follows every path a role has to write: table and column grants, roles reachable through SET ROLE, ownership, sequences, SECURITY DEFINER functions, large objects, foreign servers and pg_hba.conf trust rules. It also lists secret-looking columns the role can read. Each finding comes with a fix. Use --all to audit every login role, and --json for CI.

No Node.js? The same checks ship as plain SQL: psql "$ADMIN_DATABASE_URL" -v role=readonly -f audit.sql

Create one properly

$ npx @roua-dev/cli init --profile agent --name roua_agent_docs --database appdb

$ npx @roua-dev/cli plan # prints the SQL; changes nothing $ npx @roua-dev/cli apply # one transaction, then logs in AS the account and proves it $ npx @roua-dev/cli revoke roua_agent_docs

apply generates a strong password, writes only a SCRAM-SHA-256 verifier into the SQL, applies everything in one transaction, then connects as the new account. It reruns the audit and attempts real writes and DDL, which PostgreSQL must refuse. Only then does it show the password, once.

Or use the web generator at https://kaizam.com (also built locally as apps/web/dist/index.html): a single HTML file that runs offline in your browser and makes no network requests. Pick a database, describe the account, and download the setup, audit, revoke and clean-up scripts. It can also write an audit script for an account you already have.

Other databases

PostgreSQL has the full toolkit. For eight more engines, @roua-dev/core and the web generator produce setup, audit, revoke and drop scripts that follow the same rules: start from nothing, read per object as it exists today (never database-wide or future grants), hide secret-looking columns where the engine allows it, deny writes, record an owner, and expire on their own.

DatabaseSupportHow
MySQL 8.0, 8.4, 9Tested in CIPer-table and per-column SELECT computed at setup; caching_sha2_password verifier; an event locks the account at expiry
MariaDB 10.6, 10.11, 11.4Tested in CISame, with a native password hash and MAX_STATEMENT_TIME
SQL Server 2022, Azure SQLTested in CIHashed login, per-object SELECT, database-wide DENY on every write, an Agent job disables the login at expiry
Oracle 23ai (and 19c)Tested in CIREAD (not SELECT, so no row locks) per table, a dedicated profile, a scheduler job locks the account at expiry
MongoDB 6.0, 7.0, 8.0Tested in CIA custom role with find on named collections only; no $out/$merge; Atlas notes
Redis 7.2, 7.4, Valkey 8Tested in CIACL user with +@read on key patterns (%R~), no dangerous, admin, scripting or pub/sub commands, hashed password
SnowflakePreviewRebuilt role with point-in-time SELECT, key-pair SERVICE user, no secondary roles, DAYS_TO_EXPIRY
BigQueryPreviewService account with table-level Data Viewer; query rights end through an IAM condition

Tested in CI means every change runs the generated scripts with the engine's official client against a real server (engines.yml, scripts/live-engine-test.mjs): it logs in as the account and proves that permitted reads work while writes, DDL, secret columns, excluded tables and tables created after setup are refused, that the audit passes, that expiry fires and that revoke cuts access. Preview engines are generated from vendor documentation and not yet run against a live service.

import { planEngine, auditScript } from "@roua-dev/core";

const plan = planEngine({ engine: "mysql", name: "roua_agent_docs", profile: "agent", owner: "jane@example.com", purpose: "Docs agent", expiresAt: "2027-02-01T00:00:00Z", mode: "scope", schemas: ["appdb"], exclude: ["appdb.salaries"], password: process.env.ROUA_PASSWORD }); plan.files; // setup.sql, audit.sql, revoke.sql, drop.sql

In CI: the GitHub Action

- uses: PromiseGithub/roua@v0.3.0

env: ADMIN_DATABASE_URL: ${{ secrets.ADMIN_DATABASE_URL }} with: roles: readonly reporting_ro # or: all: true fail-on: fail # fail | warn | never

The step fails when a role can write, read secrets or never expires, and writes a summary table and annotations. Outputs: ok and report (JSON).

For AI agents: the MCP server

{ "mcpServers": { "roua": { "command": "npx", "args": ["-y", "@roua-dev/cli", "mcp"] } } }

Tools: list_engines, audit_script, generate_account_scripts (writes scripts to a folder; passwords and keys go to owner-only files, never into the conversation) and audit_postgres_role (live and read-only; set ADMIN_DATABASE_URL in the server's environment). The server has no dependencies beyond the CLI's own. Registry name: io.github.PromiseGithub/roua.

Docker

docker run --rm -e ADMIN_DATABASE_URL ghcr.io/promisegithub/roua audit --all

The standard in one table

Profiles say why the account exists, and each has a maximum lifetime: agent 90 days, demo 30, review 45, audit 30, support 7, training 14, analytics 180, custom 365.

Levels say what it can see:

LevelCan read
L0 MetadataStructure only, no rows
L1 PublicOnly objects you list as public
L2 OperationalIn-scope tables minus your deny-list and every secret column
L3 AnalyticalOnly the aggregate views you list
L4 MaskedGenerated security_barrier views with emails, phones and IDs masked
L5 Break-glassUnmasked, never secrets; two approvers, 24 hours maximum

Every ROUA, at every level: no write path of any kind, never reads secrets, has an owner and an expiry, can be revoked instantly (open sessions included), and passes verification before anyone gets the password. Read the full specification.

Demos and app-store review: ROUA-App

Reviewers and prospects need to *use* the app, not just look at it. The companion ROUA-App spec defines accounts that can try every feature without consequence. In read_only mode writes are refused. In sandbox mode writes go to a resettable sandbox with payments in test mode and messages sent to a sink. In both modes, routes for identity, credentials, money, outbound messages and bulk exports stay blocked.

import { rouaExpress } from "@roua-dev/app";

app.use(express.json()); app.use(rouaExpress({ getAccount: (req) => req.user?.roua, readPostAllowlist: [/^\/api\/search$/] }));

Includes Express, Fastify and Fetch API (Next.js middleware, Hono, Workers) adapters, GraphQL mutation detection, and protection against method-override and path-encoding tricks.

How it compares

ROUA works alongside Vault, Teleport, StrongDM, cloud IAM authentication and PostgreSQL Anonymizer: they manage *who* gets credentials and *how*, and ROUA defines and proves *what those credentials can do*. For example, ROUA level roles make good Vault dynamic-role grants, and roua verify can check the users Vault issues. See docs/prior-art.md.

Packages

PathWhat
packages/corePlanner, auditor, verifier, SCRAM. Pure TypeScript, zero runtime dependencies, runs in Node and browsers
packages/cliThe roua command (pg and yaml are its only dependencies)
packages/appROUA-App request guards
apps/webThe offline, single-file generator
schemasJSON Schemas for roua.yaml and reports
examplesA roua.yaml for each profile

Develop

npm install

npm run build npm test # unit and end-to-end tests on a real PostgreSQL engine (PGlite), no Docker needed ROUA_TEST_ADMIN_URL=postgres://postgres:postgres@localhost:5432/postgres npm run test:pg # real server

CI runs the integration suite against PostgreSQL 13, 14, 15, 16 and 17.

Security

Credibility is everything for a tool like this. If you can make roua verify pass on an account that can write or read a secret, that is a vulnerability: please report it privately as described in SECURITY.md. Read the threat model for what ROUA does and does not protect against.

Feedback and collaboration

ROUA gets better through the people who use it. All of these help:

License

Code: Apache-2.0. Specification documents (SPEC.md, docs/ROUA-APP.md): CC BY 4.0. See NOTICE.

Contact: @PromiseGithub on GitHub.