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.
Fair trust
53 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade C
55/100 for listing completeness. Lost points: short README, no listed tools, short summary.
How quality is graded
Where the 53 comes from
22 + 20 + 0 + 0 + 4 + 7 = 53. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
{ "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
| Name | Required | Notes |
|---|---|---|
DATABASE_HOST | Required | The Postgres cluster's host, the only one the app may reach. |
DATABASE_USER | Required | The admin role's login name, such as postgres.<branch id> on PlanetScale. |
DATABASE_PASSWORDSecret | Required | The admin role's password. Each store's password derives from it. |
Tools
All capabilitiesTools 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.