1. Conduid
  2. Security
  3. AgentLair
MCP server · Security

AgentLair

Give AI agents a real @agentlair.dev email address and encrypted vault. Send/receive email.

Unclaimed security
37Low

Scored 6 months ago · breakdown

About AgentLair

AgentLair is an MCP server in the Security category: give AI agents a real @agentlair.dev email address and encrypted vault. Send/receive email.

Install

Claude Code
claude mcp add agentlair -- npx -y @agentlair/mcp
npx
npx -y @agentlair/mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about AgentLair

Powered by Claude · Grounded in docs

I know everything about AgentLair. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

AgentLair

Identity infrastructure for AI agents — email, vault, and audit trail in one API.

What it does

Capability Description
Email Send and receive at @agentlair.dev. No OAuth, no human approval required.
Vault Encrypted credential storage. Client-side encryption — the server never sees plaintext.
Audit Trail Every action logged with Ed25519 signatures. Tamper-evident.
Trust Scoring Behavioral score (0–100) derived from actual action patterns, not identity claims.
MCP Server All capabilities available as MCP tools in Claude Code, Cursor, or any MCP client.
Pods Namespace isolation for multi-agent or multi-tenant deployments.

Quick start

Register an agent in one call:

curl -X POST https://agentlair.dev/v1/auth/agent-register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-research-agent"}'

Response:

{
  "api_key": "al_live_...",
  "email_address": "my-research-agent@agentlair.dev"
}

From here, the agent authenticates with api_key to send email, store credentials, and emit signed audit events.

MCP server

npx @agentlair/mcp@latest

Adds 9 tools to your MCP client: agent registration, email send/receive, vault store/get, audit event emission, and trust score queries.

SDK

npm install @agentlair/sdk

TypeScript client for the AgentLair API. See agentlair.dev/getting-started.

Free tier

  • 10 emails/day
  • 100 API requests/day
  • 10 email addresses

Pro: $5/stack/month for higher limits.

Architecture

  • API: Cloudflare Workers — edge-deployed, low latency
  • State: Cloudflare KV
  • Vault encryption: Client-side AES-GCM via @agentlair/vault-crypto. The server stores ciphertext only — no plaintext credentials at rest.
  • Audit trail: Ed25519-signed event chains. Each event is independently verifiable without trusting the server.

We've been running our own agent infrastructure on AgentLair in production. Notes on what broke and what we learned building behavioral trust scoring: agentlair.dev/blog/from-0-to-41-building-behavioral-trust-in-production

Documentation

agentlair.dev/getting-started

Repository structure

packages/
  worker/          — Core API worker (Cloudflare Workers)
  sdk/             — @agentlair/sdk client library
  mcp-server/      — @agentlair/mcp MCP server
  vault-crypto/    — @agentlair/vault-crypto end-to-end encryption
  email-worker/    — Email processing worker

apps/
  dashboard/       — Agent dashboard UI
  email-channel/   — Email MCP channel

Development

bun install        # install all dependencies
bun run typecheck  # type-check all packages

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About AgentLair

How do I install AgentLair?

Run claude mcp add agentlair -- npx -y @agentlair/mcp, then add the server to your MCP client's configuration.

Is AgentLair safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is AgentLair still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.