Skip to content
MCP server
Registry

Database for Holon MCP Server

Give each Holon app a private PostgreSQL store with atomic SQL batches and retry keys.

Database for Holon scores 53 (Fair), with no SPDX license recorded and written in Python. It installs as a local process. It does not declare tools yet. Filed under Databases. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by hughhan1No licensePython0 stars
Trust score
53Fair
Trust score 53 of 100, Fair

Fair trust

53 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 53 comes from

22 + 20 + 0 + 0 + 4 + 7 = 53. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "hughhan1-database": {      "command": "docker",      "args": [        "run",        "-i",        "--rm",        "ghcr.io/hughhan1/database@sha256:9080f4eb357c6bfd7c50a5c7e6953b2bad1867fcf616b2e510edf98dfe16dd85"      ],      "env": {        "DATABASE_HOST": "",        "DATABASE_USER": "",        "DATABASE_PASSWORD": "YOUR_DATABASE_PASSWORD"      }    }  }}

Environment variables

NameRequiredNotes
DATABASE_HOSTRequiredThe Postgres cluster's host, the only one the app may reach.
DATABASE_USERRequiredThe admin role's login name, such as postgres.<branch id> on PlanetScale.
DATABASE_PASSWORDSecretRequiredThe admin role's password. Each store's password derives from it.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Database for Holon

Give each Holon app its own PostgreSQL database and role. The provider identifies the calling app from Holon’s workload identity. The execute tool runs a batch of parameterized statements in one transaction.

Add it to a Holon project

Declare database in the consuming app’s sh.holon.requires metadata in server.json. Add the provider to the same holon.yaml as the calling app. The example pins the published registry version. Replace chat in the caller list with your app’s name.

- name: database
  registry:
    name: io.github.hughhan1/database
    version: "0.1.6"
  access:
    server:
      callers: [chat]

Set DATABASE_HOST and DATABASE_USER on the database app with holon config set. Set DATABASE_PASSWORD with holon secret set. Select the target installation and use --env prod for production values. Deploy the consuming app with holon deploy. Holon finds the provider through the registry, reads its tool contract, and starts it alongside the caller.

Use a dedicated PostgreSQL cluster or branch. The account must be able to create roles and databases, then grant the provisions required by those roles. The provider connects over TLS on port 5432 and verifies the server certificate. Run the provider behind Holon so it receives the authenticated caller identity. Keep direct access to the provider’s container port inside the platform’s trusted network.

Call the database

Pass one SQL statement per item and bind values by name. Holon generates apps.database.tools.execute for apps that declare the dependency.

const { result } = await apps.database.tools.execute({
  statements: [
    {
      sql: "INSERT INTO messages (id, body) VALUES (:id, :body)",
      values: { id: messageId, body: text },
      expect: 1,
    },
    {
      sql: "INSERT INTO agent_jobs (message_id) VALUES (:id)",
      values: { id: messageId },
      expect: 1,
    },
  ],
});

A statement error or an expect mismatch rolls back the batch. Each statement returns column names, rows, and a count of rows returned or changed. The provider accepts up to 100 statements per call and caps each result at 10,000 rows and 4 MiB.

When upgrading to 0.2.0, remove the key argument from tool calls and handle write retry deduplication in the calling app.

This release supports PostgreSQL 16 or later. The tools are intended for the app’s own trusted server code. End users and agents should call the app’s domain tools.

Verify locally

Use Python 3.15, uv, and a disposable PostgreSQL 18 instance on loopback. The tests create isolated roles and databases. Set TEST_DATABASE_URL to the disposable server’s admin URL if it differs from the test default.

uv sync --locked
uv run pytest
holon types generate --contract .

The release workflow generates the Holon tool contract from src/server.py and bundles it with the container image.

Frequently asked questions

What is Database for Holon MCP Server?

Give each Holon app a private PostgreSQL store with atomic SQL batches and retry keys.

How do I install Database for Holon MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Database for Holon MCP Server is published as the Docker image ghcr.io/hughhan1/database@sha256:9080f4eb357c6bfd7c50a5c7e6953b2bad1867fcf616b2e510edf98dfe16dd85.

How is Database for Holon MCP Server's trust score calculated?

Database for Holon MCP Server scores 53 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server