MCP.Market

Haldir MCP server

by ExposureGuard·io.github.ExposureGuard/haldir·v0.1.0·4 stars

Guardian layer for AI agents: identity, secrets, audit via MCP.

A89/100grade A
What users say
No reviews yet
Be the first
Safety scan
A89/100

full report

Adoption
Growing

4 stars481 downloads/wk

Reviews

Write one

Nobody has reviewed Haldir yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Haldir tools (7)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • check_permission

    Check if an agent session has a specific permission scope before attempting an action.

  • get_audit_trail

    Query the audit log for an agent's actions. Filter by session, agent, tool, or time range. Use for compliance and debugging.

  • get_secret

    Retrieve a decrypted secret from the vault. Requires a valid session with the appropriate scope.

  • get_spend

    Get a spend summary for an agent or session. Returns total USD spent and breakdown by tool.

  • log_action

    Record an agent action in the immutable audit log. Every tool call, API request, and payment should be logged.

  • revoke_session

    Immediately revoke an agent session, blocking all further actions under that session.

  • store_secret

    Store an encrypted secret (API key, credential, token) in the vault. Secrets are encrypted at rest with AES-128.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan13 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 4 days ago15/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 89/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Haldir compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
89/100
higher than 80% of 48,255 servers
Tools
7
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
4
more than 82% of 28,688 servers
Downloads a week
481
more than 87% of 12,191 servers with a package

What its tools let an agent do: 6 read · 1 delete

Install Haldir in Claude Code, Cursor or VS Code

claude mcp add haldir -- uvx haldir
Add to Cursor

What the publisher says

From the Haldir repository's README, as published. We do not edit it. Read it on GitHub

<!-- mcp-name: io.github.ExposureGuard/haldir -->

Haldir

Scoped permissions, spend caps, an encrypted vault, and an audit log that can prove it wasn't edited — for AI agents that call tools, move money, and read secrets.

That loop is the whole idea, running live. Someone rewrites a row in the audit log — silently, straight in the database. The entry's inclusion proof no longer matches the live Merkle root, and the verdict flips. Not caught by monitoring, not caught by a diff: caught by arithmetic, because the root is a hash of what the log actually contains and the earlier Signed Tree Head is already pinned somewhere you don't control.

→ Try it yourself. Run haldir serve (below) and open http://127.0.0.1:8000/demo — the same tamper demo, against an instance on your own machine. It ships inside the package, so there is nothing to download and no account involved.

What you get

  • Scoped sessions — permissions and spend caps per agent, revocable the moment something looks wrong.
  • Encrypted vault — AES-256-GCM. Your agent asks for a secret; the model never sees it. Every ciphertext records which key made it, so you can rotate the encryption key without re-entering a single secret — and without downtime.
  • Tamper-evident audit — every call logged into an RFC 6962 Merkle tree with signed tree heads, so history can be proven, not just trusted.
  • Human approvals — pause a run on a spend threshold and get a webhook.
pip install haldir
haldir serve

That starts a real Haldir on this machine — SQLite, no Docker, no Postgres, no account. It generates an encryption key, applies the schema, mints an API key, and points the CLI at itself, so the next command just works:

$ haldir serve

  Haldir is running  http://127.0.0.1:8000
  data: ~/.haldir

  Your API key (saved to the Haldir CLI config):
    hld_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  Try it:
    haldir overview
    haldir session create --agent my-agent --scopes read

From there, point anything at it — the CLI, the Python SDK, an MCP client — or read the API reference at /docs on the instance you started. When you want Postgres and containers, haldir init && haldir dev scaffolds and runs that instead; SELF_HOSTING.md covers the rest.

Works with Claude Code, Cursor, LangChain, CrewAI, AutoGen, LlamaIndex and the Vercel AI SDK — anything that can make an HTTP call or speak MCP. MIT licensed: self-host it, or point at haldir.xyz (free tier, no signup).

See it in action

Here's what Haldir actually looks like — no diagrams, no spec sheets, just screenshots of the real thing.

Without Haldir, an agent calls whatever API it wants, spends whatever it wants, and accesses whatever secret it finds — with zero oversight and zero audit trail. With Haldir, every action is scoped, spend-limited, logged immutably, and secrets never leave the vault.

Here's the three things you'd see as a new visitor, in order:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Haldir: common questions

Is Haldir MCP server safe?
Yes, by our scan: it is graded A (89/100). Read the Haldir safety report
How do I install Haldir?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Haldir need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Haldir maintained?
The last commit was 41 days ago (2026-09-24). The latest release is v0.1.0.
How does Haldir compare with other MCP servers?
safety score 89/100 (higher than 80% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.