Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”’ Security
  3. Haldir
H
Health: ActiveRecent health check succeeded.Last checked 8/10/2026, 11:58:46 PM

Haldir

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository4 GitHub StarsTotal stargazers on GitHub for the source repository (4 stars).

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "haldir": {
      "command": "uvx",
      "args": [
        "haldir"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ”’ More in Security

Documentation Overview

Haldir β€” The Guardian Layer for AI Agents

tests codecov type-checked: mypy Smithery PyPI PyPI Downloads License: MIT Security: SECURITY.md GitHub Stars SafeSkill 89/100

The open-source governance layer for AI agents. Identity, secrets, audit, and policy enforcement β€” MIT licensed, self-host or use our cloud.

Haldir enforces governance on every AI agent tool call: scoped sessions with spend caps, encrypted secrets the model never sees, hash-chained tamper-evident audit trail, human-in-the-loop approvals, and a proxy that intercepts every MCP call before it reaches your tools. Native SDKs for LangChain, CrewAI, AutoGen, and Vercel AI SDK.

Haldir quickstart: install, create a scoped session, check permission, log the action to the hash-chained audit trail

Haldir architecture: Agent β†’ Proxy β†’ (Gate/Vault/Watch/Policy) β†’ Upstream APIs

CLI

text
$ haldir overview

  Haldir tenant overview
  acct_xyz123  Β·  tier pro  Β·  2026-04-19T18:42:11+00:00

  Status     ● ok
  Actions      4,217 / 50,000   β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘    8.4%
  Spend      $ 47.30 this month
  Sessions        12 active  Β·  3/10 agents
  Vault            8 secrets  Β·  62 accesses this month
  Audit        1,847 entries  Β·  0 flagged (7d)  Β·  chain βœ“
  Webhooks         2 registered  Β·  541 deliveries (24h)  Β·  99.82% success
  Approvals        1 pending

Install once, drive the whole platform from the terminal:

Terminal
pip install haldir
haldir login                           # one-time; stashes API key
haldir overview --watch                # top-style live dashboard
haldir status                          # green/yellow/red component pills
haldir ready                           # exits 0/1, perfect for CI
haldir audit tail --agent my-bot       # the last N entries
haldir audit export --format=jsonl --out audit-2026-04.jsonl
haldir audit verify                    # hash chain integrity check
haldir webhooks deliveries             # last 20 retry attempts
haldir migrate up                      # apply pending schema migrations

Every command takes --json for scripts. haldir --help for the full surface.

Two ways to run Haldir

Self-hostCloud (haldir.xyz)
PriceFree foreverFree tier + paid plans
FeaturesEverythingEverything β€” same API, same SDKs
You runAPI + PostgresNothing
Best forRegulated industries, air-gapped, "must own data""Just make it work"

Self-host in 5 minutes

server.ts
git clone https://github.com/ExposureGuard/haldir.git
cd haldir
cp .env.example .env
python3 -c 'import base64, os; print(base64.urlsafe_b64encode(os.urandom(32)).decode())'
# paste the output into .env as HALDIR_ENCRYPTION_KEY, then:
docker compose up -d
curl http://localhost:8000/health

Full self-hosting guide: SELF_HOSTING.md

Or use our cloud

Terminal
pip install haldir

That's it β€” point at https://haldir.xyz, no signup, live API.


Live now: haldir.xyz Β· API Docs Β· OpenAPI Spec Β· Smithery

πŸ§ͺ Now accepting 5 design partners. 30 days free, full access, direct line to the founder. If you're shipping AI agents to production, email sterling@haldir.xyz.

Performance

Haldir is fast enough to sit in the hot path of every agent tool call without becoming the bottleneck.

Single-box HTTP throughput (gunicorn 4 workers, 32 concurrent clients, tuned SQLite backend, every request goes through the full middleware stack β€” auth, validation, idempotency, metrics, structured logging):

EndpointRPSp50p95p99
GET /healthz1,63819.1 ms32.5 ms41.6 ms
GET /v1/status1,38222.2 ms30.8 ms45.4 ms
GET /v1/sessions/:id90329.2 ms95.5 ms172.1 ms
POST /v1/sessions (create)1,14227.7 ms35.2 ms39.9 ms
POST /v1/audit (hash-chain write)1,09228.7 ms37.6 ms52.6 ms

Hardware: 12th-gen Intel Core i3-1215U (8 cores, 8 GB RAM). SQLite is configured with WAL + synchronous=NORMAL + 256 MiB mmap + in-memory temp store β€” the session-lookup p99 dropped by 52 % versus the untuned path. Postgres deployments (configurable pool via HALDIR_PG_POOL_MIN/MAX) flatten the p99 further still; enable via DATABASE_URL=postgresql://....

Primitive cost (pure-Python, no I/O):

Primitivep50Notes
Vault.store_secret (AES-256-GCM encrypt + AAD binding)< 10 Β΅sin-memory, no DB write
Vault.get_secret (AES-256-GCM decrypt + AAD verify)< 10 Β΅sin-memory
AuditEntry.compute_hash (SHA-256 over canonical payload)< 10 Β΅s
Gate.check_permission over REST~50-120 msnetwork + DB round-trip, Cloudflare-fronted
Watch.log_action over REST~50-150 msincludes chain lookup + DB write
Full governed-tool envelope (check + log)~100-250 ms

Agents typically wait 500-3000 ms for an LLM completion and 100-1000 ms for an upstream API call, so Haldir's overhead sits inside the noise. Reproduce locally:

server.ts
# Concurrent HTTP throughput (launches a local gunicorn, ~60s total)
python bench/bench_http.py --duration 10 --concurrency 32 --workers 4

# Primitive cost only (no API key needed)
python bench/bench_primitives.py --local

# End-to-end against the hosted service
export HALDIR_API_KEY=hld_...
python bench/bench_primitives.py

Compliance

One endpoint produces an auditor-ready proof-of-control pack covering eight sections, each anchored to a SOC2 trust services criterion:

bash
haldir compliance evidence --since 2026-01-01 --out evidence-q1-2026.md
#SectionSOC2
1Identity (tenant, subscription, period)β€”
2Access control (API keys + per-key scopes)CC6.1
3Encryption (AES-256-GCM, AAD binding)CC6.7
4Audit trail (entry count, hash chain integrity)CC7.2
5Spend governance (per-session caps, payment records)CC5.2
6Human approvals (request/decision lifecycle)CC8.1
7Outbound alerting (webhook delivery success rate)CC7.3
8Document signature (SHA-256 self-hash)β€”

The pack signs itself: a SHA-256 over the canonical JSON of sections 1-7. An auditor receiving an archived pack can re-call /v1/compliance/evidence/manifest and confirm the digest matches β€” proof the document was not modified after issuance.

JSON for evidence-locker upload, Markdown for the "show this to the auditor" moment, both from the same /v1/compliance/evidence endpoint.

Why Haldir

AI agents are calling APIs, spending money, and accessing credentials with zero oversight. Haldir is the missing layer:

Without HaldirWith Haldir
Agent has unlimited accessScoped sessions with permissions
Secrets in plaintext env varsAES-encrypted vault with access control
No spend limitsPer-session budget enforcement
No record of what happenedImmutable audit trail
No human oversightApproval workflows with webhooks
Agent talks to tools directlyProxy intercepts and enforces policies

Quick Start

Terminal
pip install haldir
server.ts
from sdk.client import HaldirClient

h = HaldirClient(api_key="hld_xxx", base_url="https://haldir.xyz")

# Create a governed agent session
session = h.create_session("my-agent", scopes=["read", "spend:50"])

# Store secrets agents never see directly
h.store_secret("stripe_key", "sk_live_xxx")

# Retrieve with scope enforcement
key = h.get_secret("stripe_key", session_id=session["session_id"])

# Authorize payments against budget
h.authorize_payment(session["session_id"], 29.99)

# Every action is logged
h.log_action(session["session_id"], tool="stripe", action="charge", cost_usd=29.99)

# Revoke when done
h.revoke_session(session["session_id"])

Products

Gate β€” Agent Identity & Auth

Scoped sessions with permissions, spend limits, and TTL. No session = no access.

Terminal
curl -X POST https://haldir.xyz/v1/sessions \
  -H "Authorization: Bearer hld_xxx" \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "my-bot", "scopes": ["read", "browse", "spend:50"], "ttl": 3600}'

Vault β€” Encrypted Secrets & Payments

AES-encrypted storage. Agents request access; Vault checks session scope. Payment authorization with per-session budgets.

Terminal
curl -X POST https://haldir.xyz/v1/secrets \
  -H "Authorization: Bearer hld_xxx" \
  -H "Content-Type: application/json" \
  -d '{"name": "api_key", "value": "sk_live_xxx", "scope_required": "read"}'

Watch β€” Audit Trail & Compliance

Immutable log for every action. Anomaly detection. Cost tracking. Compliance exports.

Terminal
curl https://haldir.xyz/v1/audit?agent_id=my-bot \
  -H "Authorization: Bearer hld_xxx"

Proxy β€” Enforcement Layer

Sits between agents and MCP servers. Every tool call is intercepted, authorized, and logged. Supports policy enforcement: allow lists, deny lists, spend limits, rate limits, time windows.

bash
# Register an upstream MCP server
curl -X POST https://haldir.xyz/v1/proxy/upstreams \
  -H "Authorization: Bearer hld_xxx" \
  -H "Content-Type: application/json" \
  -d '{"name": "myserver", "url": "https://my-mcp-server.com/mcp"}'

# Call through the proxy β€” governance enforced
curl -X POST https://haldir.xyz/v1/proxy/call \
  -H "Authorization: Bearer hld_xxx" \
  -H "Content-Type: application/json" \
  -d '{"tool": "scan_domain", "arguments": {"domain": "example.com"}, "session_id": "ses_xxx"}'

Approvals β€” Human-in-the-Loop

Pause agent execution for human review. Webhook notifications. Approve or deny from dashboard or API.

bash
# Require approval for spend over $100
curl -X POST https://haldir.xyz/v1/approvals/rules \
  -H "Authorization: Bearer hld_xxx" \
  -H "Content-Type: application/json" \
  -d '{"type": "spend_over", "threshold": 100}'

MCP Server

Haldir is available as an MCP server with 10 tools for Claude, Cursor, Windsurf, and any MCP-compatible AI:

config.json
{
  "mcpServers": {
    "haldir": {
      "command": "haldir-mcp",
      "env": {
        "HALDIR_API_KEY": "hld_xxx"
      }
    }
  }
}

MCP Tools: createSession, getSession, revokeSession, checkPermission, storeSecret, getSecret, authorizePayment, logAction, getAuditTrail, getSpend

MCP HTTP Endpoint: POST https://haldir.xyz/mcp

Architecture

Code
Agent (Claude, GPT, Cursor, etc.)
    β”‚
    β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚       Haldir Proxy          β”‚  ← Intercepts every tool call
β”‚  Policy enforcement layer   β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚          β”‚
  β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β” β”Œβ”€β”€β”€β–Όβ”€β”€β”€β”€β”
  β”‚  Gate   β”‚ β”‚ Watch  β”‚
  β”‚identity β”‚ β”‚ audit  β”‚
  β”‚sessions β”‚ β”‚ costs  β”‚
  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
  β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
  β”‚ Vault   β”‚
  β”‚secrets  β”‚
  β”‚payments β”‚
  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
       β”‚
       β–Ό
  Upstream MCP Servers
  (your actual tools)

API Reference

Full docs at haldir.xyz/docs

EndpointMethodDescription
/v1/keysPOSTCreate API key
/v1/sessionsPOSTCreate agent session
/v1/sessions/:idGETGet session info
/v1/sessions/:idDELETERevoke session
/v1/sessions/:id/checkPOSTCheck permission
/v1/secretsPOSTStore secret
/v1/secrets/:nameGETRetrieve secret
/v1/secretsGETList secrets
/v1/secrets/:nameDELETEDelete secret
/v1/payments/authorizePOSTAuthorize payment
/v1/auditPOSTLog action
/v1/auditGETQuery audit trail
/v1/audit/spendGETSpend summary
/v1/approvals/rulesPOSTAdd approval rule
/v1/approvals/requestPOSTRequest approval
/v1/approvals/:idGETCheck approval status
/v1/approvals/:id/approvePOSTApprove
/v1/approvals/:id/denyPOSTDeny
/v1/approvals/pendingGETList pending
/v1/webhooksPOSTRegister webhook
/v1/webhooksGETList webhooks
/v1/proxy/upstreamsPOSTRegister upstream
/v1/proxy/toolsGETList proxy tools
/v1/proxy/callPOSTCall through proxy
/v1/proxy/policiesPOSTAdd policy
/v1/usageGETUsage stats
/v1/metricsGETPlatform metrics

Agent Discovery

Haldir is discoverable through every major protocol:

URLProtocol
haldir.xyz/openapi.jsonOpenAPI 3.1
haldir.xyz/llms.txtLLM-readable docs
haldir.xyz/.well-known/ai-plugin.jsonChatGPT plugins
haldir.xyz/.well-known/mcp/server-card.jsonMCP discovery
haldir.xyz/mcpMCP JSON-RPC
smithery.ai/server/haldir/haldirSmithery registry
pypi.org/project/haldirPyPI

License

MIT

Links

  • Website: haldir.xyz
  • API Docs: haldir.xyz/docs
  • Smithery: View on Smithery
  • PyPI: haldir
  • OpenAPI: haldir.xyz/openapi.json

Related MCP Servers

View all in Security View all alternatives
  • D
    Delego

    Intent-bound action authorization for AI agents: policy, human approval, and a signed audit trail.

    πŸ”’ Security1 views
    Compare vs Delego β†’
  • M
    Mcp Bastion

    Reliability + security proxy for MCP: runtime tool-security and a compliance-mapped audit trail.

    πŸ”’ Security0 views
    Compare vs Mcp Bastion β†’
  • C
    CrowdStrike Falcon MCP Server

    Connects AI agents with CrowdStrike Falcon for security analysis and automation.

    πŸ”’ Security0 views
    Compare vs CrowdStrike Falcon MCP Server β†’
  • E
    Etincel Nonfiction

    Trainable non-fiction writing voice, presets, and an anti-AI-tells audit for Claude, via MCP.

    πŸ”’ Security0 views
    Compare vs Etincel Nonfiction β†’

Frequently Asked Questions about Haldir

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "haldir": { "command": "npx", "args": ["-y", "Haldir"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHaldir AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/haldir?style=directory)](https://allmcps.com/mcp/haldir)
HTML Embed
<a href="https://allmcps.com/mcp/haldir"><img src="https://allmcps.com/api/badge/haldir?style=directory" alt="Haldir on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ”’Security
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimePython
4/4 checks healthy over the last 7h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars4
GitHub Star CountTotal stargazers on GitHub representing community popularity (4 stars).
Last commit3mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Apr 22, 2026
36Quality signal: Fair Β· 36/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools15/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”’ Security β†’Best MCP servers for Security β†’Alternatives to Haldir β†’Install in Claude DesktopInstall in CursorInstall in VS Code