MCP.Market

AgentLair MCP server

online · 100% uptime
by piiiico·io.github.piiiico/agentlair·v1.3.1·5 stars

Give AI agents a real email address, vault, calendar, and task delegation via MCP.

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

full report

Adoption
Growing

5 stars91 downloads/wk

Reviews

Write one

Nobody has reviewed AgentLair yet.

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

AgentLair tools (15, 5 write)

write = sends, deletes, buys or posts
  • calendar_create_eventwrite actionFree

    Create a calendar event on your AgentLair calendar. Events are published via iCal feed for human subscription (Google Calendar, Apple Calendar, Outlook).

  • calendar_delete_eventwrite actionFree

    Delete an event from your AgentLair calendar by event ID. Use calendar_list_events to find event IDs.

  • calendar_get_feedFree

    Get the public iCal subscription URL for your AgentLair calendar. Share this URL with calendar apps (Google Calendar, Apple Calendar, Outlook) so humans can subscribe and see agent-created events.

  • calendar_list_eventsFree

    List events on your AgentLair calendar. Optionally filter by date range.

  • check_inboxFree

    Check the inbox for an @agentlair.dev email address. Returns recent messages with sender, subject, and received time.

  • claim_addressFree

    Claim a new @agentlair.dev email address for your agent. Free tier supports multiple addresses.

  • delegate_taskFree

    Delegate a task to another AgentLair agent. The task is delivered to the agent's inbox and picked up asynchronously. Use this when you need another agent to do something — send an email, run a deployment, do research, etc.

  • list_addressesFree

    List all @agentlair.dev email addresses associated with your API key.

  • preflight_trust_checkFree

    Check trust readiness before engaging with an agent. Returns a ReadinessCard: trust score, behavioral maturity level, whether it's safe to engage, and any caveats. Call this before delegating tasks, accepting agent output, or authorizing payments involving an unknown agent. Free — no extra charge beyond your API key.

  • read_messageFree

    Read the full content of a specific email message, including the body text.

  • send_emailwrite actionFree

    Send an email from your AgentLair address (@agentlair.dev) to any recipient. No SMTP or DNS setup needed.

  • vault_deletewrite actionFree

    Delete a key and all its versions from the AgentLair Vault.

  • vault_getFree

    Retrieve a stored value from the AgentLair Vault by key name.

  • vault_listFree

    List all keys stored in your AgentLair Vault (metadata only, values not returned).

  • vault_putwrite actionFree

    Store a value in the AgentLair Vault. Use this to persist API keys, secrets, or any data your agent needs across sessions. Best practice: encrypt sensitive data client-side before storing (the server stores whatever you send).

Public scan report

scanner v0.1.10 · 2026-11-08 · same rubric, same numbers if you re-run it

no findings
  • Code scan3 source files scanned25/25
  • Live reliabilityremote reachable in 318ms20/20
  • Tool poisoning15 tool descriptions checked15/15
  • Auth qualityAPI key sent as a header8/15
  • Maintenancelast push 0 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 AgentLair compares

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

Safety score
89/100
higher than 82% of 915 Email servers
Tools
15
the typical Email server has 8
Tools that change things
33%
typical: 25%. Fewer write tools means less an agent can break
Uptime
100%
of our recent checks; the typical remote Email server answers 100%
Response time
81 ms
faster than 85% of 609 Email servers
GitHub stars
5
more than 82% of 502 Email servers
Downloads a week
91
more than 50% of 270 Email servers with a package

What its tools let an agent do: 10 read · 4 change · 1 send or post

Release history: 2 versions in the registry since 2026-06-24, latest 2026-11-04, typically one every 133 days.

Install AgentLair in Claude Code, Cursor or VS Code

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

What the publisher says

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

AgentLair

Give your AI agent an email address, encrypted vault, and a behavioral trust score — one API, no OAuth required.

Try it in 30 seconds

No signup. See what a live trust score response looks like:

# Healthy agent — high trust (score 84, principal level)
curl https://agentlair.dev/v1/demo
{
  "agentId": "acc_demo_healthy_XXXXXXXXXX",
  "score": 84,
  "confidence": 0.91,
  "atfLevel": "principal",
  "trend": "stable",
  "dimensions": {
    "consistency":   { "score": 0.82 },
    "restraint":     { "score": 0.87 },
    "transparency":  { "score": 0.80 }
  },
  "observationCount": 1847
}
# Suspicious agent — score 31, declining trend
curl 'https://agentlair.dev/v1/demo?scenario=suspicious'

# New agent — only 11 observations, wide confidence interval
curl 'https://agentlair.dev/v1/demo?scenario=new'

Rate limited to 10 requests/minute per IP. Response shape matches the live /v1/trust/:agentId endpoint.

Full interactive demo — register a real agent, submit observations, get a live trust score (curl + jq, ~60 seconds):

curl -sL https://raw.githubusercontent.com/piiiico/agentlair/main/examples/quickstart.sh | bash

Register an agent

curl -X POST https://agentlair.dev/v1/auth/agent-register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-research-agent"}'
{
  "api_key": "al_live_...",
  "account_id": "acc_...",
  "email_address": "my-research-agent@agentlair.dev",
  "tier": "free",
  "limits": { "emails_per_day": 10, "requests_per_day": 100 },
  "warning": "Save your API key — it will not be shown again."
}

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

Quickstart: Add AgentLair to your agent

1. Install

pip install agentlair            # Python
npm install @agentlair/sdk       # TypeScript / Node

2. Set env vars

export AGENTLAIR_API_KEY=al_live_...
export AGENTLAIR_EMAIL=my-agent@agentlair.dev

3. Wire lifecycle hooks

# Python — three integration points
import os, agentlair
lair = agentlair.AgentLair(os.environ["AGENTLAIR_API_KEY"])
addr = os.environ["AGENTLAIR_EMAIL"]

async def on_session_start(ctx):
    result = await lair.email.inbox(addr)
    if result["messages"]:
        ctx.prepend(f"Inbox: {len(result['messages'])} unread")

async def send_message(to, subject, text):  # expose as LLM tool
    await lair.email.send(from_address=addr, to=to, subject=subject, text=text)

async def on_session_end(ctx):  # advance cursor so messages aren't re-delivered
    if ctx.last_message_id:
        await lair.vault.store("inbox_cursor", ctx.last_message_id)
// TypeScript
import { AgentLair } from '@agentlair/sdk';
const lair = new AgentLair(process.env.AGENTLAIR_API_KEY!);
const addr = process.env.AGENTLAIR_EMAIL!;

Shortened. The full README is on GitHub.

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

Grade history

  • 2026-11-08restoreB → Ascore 89

AgentLair: common questions

Is AgentLair MCP server safe?
Yes, by our scan: it is graded A (89/100). Read the AgentLair safety report
How do I install AgentLair?
It runs remotely at agentlair-mcp-server.amdal-dev.workers.dev. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does AgentLair need an API key?
Yes. The registry entry asks for AGENTLAIR_API_KEY, Authorization.
Is AgentLair maintained?
The last commit was 7 days ago (2026-11-08). The latest release is v1.3.1.
Is AgentLair up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
What can I use instead of AgentLair?
Servers from other publishers that do the same job: Postfleet MCP server, Mailoo - Email MCP Server and LMCP MCP server. Compare all AgentLair alternatives.
How does AgentLair compare with other Email MCP servers?
safety score 89/100 (higher than 82% of 915 Email servers); tools 15 (the typical Email server has 8); tools that change things 33% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to AgentLair

Same job from other publishers: the closest match first, then the best rated.

All AgentLair alternatives →
  • Postfleet
    Give an AI agent its own email address: send, reply, read, and wait for mail.
    A
  • Mailoo - Email MCP Server
    Email MCP server for AI agents: IMAP/SMTP, Gmail, Outlook, calendar, ManageSieve, AI triage, OAuth2.
    A
  • LMCP
    Mac & Windows: let ChatGPT, Claude & Cursor use your email, calendar, iMessage, Teams, files.
    B
  • Google Workspace
    Give AI agents access to Gmail, Calendar, Drive, and more — multi-account, manifest-driven
    A
  • smails
    Disposable email inboxes for AI agents: create an address, wait for the verification email.
    A

More from piiiico →