Skip to content
MCP server

AgentLair

Gives agents a persistent email address, encrypted vault, audit trail and trust score

Install
Pricing
Freemium
Platforms
API, CLI
Runs
Locally or Remotely
Version
1.3.1
Listing updated
3 days ago

About AgentLair

AgentLair is a freemium MCP server for communication. It can run locally on your machine or as a hosted remote server.

The idea is that an agent's identity should outlast its session. Registering takes one call to /v1/auth/agent-register, which returns an API key, an account ID and an address such as my-agent@agentlair.dev on the free tier, limited to 10 emails and 100 requests a day. Email is sent and received over REST with no SMTP, OAuth or CAPTCHA, with drafts, threading and webhooks.

Credentials go in a vault where the agent encrypts with AES-GCM on the client side and the server stores only ciphertext. Every action can be logged with an Ed25519 signature into a tamper-evident chain, and a behavioural trust score from 0 to 100 is derived from observed consistency, restraint and transparency rather than what an agent says about itself. A public demo endpoint shows healthy, suspicious and new-agent scores without signup.

The site also describes an Agent Authentication Token, signed with EdDSA and verifiable through JWKS, and isolated pods for multi-agent or multi-tenant use. The MCP package @agentlair/mcp runs over stdio with an AGENTLAIR_API_KEY, or connects to a remote streamable HTTP endpoint. Python and TypeScript SDKs are also published.

Install

Run in a terminal

claude mcp add --transport http agentlair https://agentlair-mcp-server.amdal-dev.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://agentlair-mcp-server.amdal-dev.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentlair": {
      "url": "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agentlair": {
      "type": "http",
      "url": "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agentlair": {
      "serverUrl": "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agentlair": {
      "type": "http",
      "url": "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp"
    }
  }
}

Configuration

  • AGENTLAIR_API_KEYAgentLair API key. Get one free at https://agentlair.devRequired

What it does

Agent email address
Send and receive at an agentlair.dev address over REST.
Zero-knowledge vault
Client-side AES-GCM encryption; the server stores only ciphertext.
Signed audit trail
Ed25519-signed, tamper-evident action records.
Behavioural trust score
A 0-100 score built from observed actions.
Agent tokens
EdDSA-signed tokens verifiable through JWKS.
Pods
Namespace isolation per client or agent group.
SDKs and MCP
Python and TypeScript SDKs plus an npm MCP package.

Good for

  • Give a research agent its own inbox
  • Keep an agent's credentials out of environment variables
  • Record signed evidence of what an agent did
  • Check an agent's trust score before accepting its request
  • Separate several clients' agents into isolated pods

Pricing

Freemium

Free tier with 10 emails/day and 100 requests/day; paid tiers not listed

Prices change. Check agentlair.dev before you buy.

AgentLair FAQ

How do I register an agent?

POST a name to https://agentlair.dev/v1/auth/agent-register; the response includes the API key and email address.

What are the free limits?

The README shows 10 emails a day and 100 requests a day on the free tier.

Who can read the vault?

The README says encryption happens client-side and the server stores ciphertext only.

Can I try the trust score without signing up?

Yes, GET /v1/demo returns sample healthy, suspicious and new-agent responses, rate limited to 10 requests a minute per IP.

Which transports does the MCP server support?

stdio through the @agentlair/mcp npm package and streamable HTTP.

Is AgentLair free?

AgentLair has a free plan, with paid plans for more usage or features.

How do I add AgentLair to Claude Code?

Run this command in your terminal: claude mcp add --transport http agentlair https://agentlair-mcp-server.amdal-dev.workers.dev/mcp

What are the best alternatives to AgentLair?

The closest alternatives to AgentLair are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

Alternatives to AgentLair

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security