Haldir MCP Server

Haldir enforces governance on every AI agent tool call: scoped sessions with spend caps, encrypted secrets the model never sees, hash-chained

Remote serverstreamable-httpPython

What is the Haldir MCP server?

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. That is what the haldir mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The tools it exposes

The server publishes 1 tool. What each one is for:

  • Endpoint — Method

What it needs from you

Configuration is passed through the environment: HALDIR_API_KEY, HALDIR_ENCRYPTION_KEY, DATABASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Getting it running

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

How it compares

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Haldir's toolset — Endpoint — is a fair guide to whether it matches your workflow. It is maintained by exposureguard; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Haldir's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
EndpointMethod

How to install the Haldir MCP server

{
  "mcpServers": {
    "haldir": {
      "command": "uvx",
      "args": ["haldir"],
      "env": {
        "HALDIR_API_KEY": "your-value",
        "HALDIR_ENCRYPTION_KEY": "your-value",
        "DATABASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
HALDIR_API_KEYCredential the server authenticates with.Yes
HALDIR_ENCRYPTION_KEYCredential the server authenticates with.Yes
DATABASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Haldir to Endpoint.

Frequently asked questions

It connects Haldir to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Endpoint) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Haldir directly.