AgentLair

v1.3.1
io.github.piiiico/agentlair Checked 2 days ago Published 29 days ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

claim_address

Claim a new @agentlair.dev email address for your agent. No DNS or SMTP setup required. Free tier: up to 3 addresses.

ParameterTypeDescription
address *stringFull address to claim, e.g. "my-agent@agentlair.dev". Must end in @agentlair.dev.

send_email

Send an email from an @agentlair.dev address you own to any recipient. No SMTP setup needed.

ParameterTypeDescription
from *stringSender address — must be a claimed @agentlair.dev address (e.g. my-agent@agentlair.dev)
subject *stringEmail subject line
to *Recipient address or array of addresses
ccarrayOptional CC addresses
htmlstringOptional HTML body (supplement to text)
in_reply_tostringMessage-ID to reply to (for email threading)
textstringPlain text body

check_inbox

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

ParameterTypeDescription
address *stringThe @agentlair.dev address to check
limitnumberMax messages to return (default: 10, max: 50)

read_message

Read the full content of a specific email message, including the body. Use message IDs from check_inbox.

ParameterTypeDescription
address *stringThe @agentlair.dev address that received the message
message_id *stringMessage ID from check_inbox results

list_addresses

List all @agentlair.dev addresses claimed on your account.

vault_put

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).

ParameterTypeDescription
key *stringVault key name (1-128 chars, alphanumeric + _ - .). Examples: 'openai-key', 'session_token', 'config.json'
value *stringValue to store. For secrets: encrypt first, then store the ciphertext.
metadataobjectOptional JSON metadata (labels, timestamps, etc.) — never encrypted

vault_get

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

ParameterTypeDescription
key *stringVault key name to retrieve

vault_list

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

vault_delete

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

ParameterTypeDescription
key *stringVault key name to delete

calendar_create_event

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

ParameterTypeDescription
end *stringEvent end time in ISO 8601 format. Date-only ("2026-03-21") or datetime ("2026-03-20T15:00:00Z")
start *stringEvent start time in ISO 8601 format. Date-only ("2026-03-20") or datetime ("2026-03-20T14:00:00Z")
summary *stringEvent title / summary (required)
attendeesarrayOptional list of attendee email addresses
descriptionstringOptional event description / notes
locationstringOptional event location (address, URL, or room name)

calendar_list_events

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

ParameterTypeDescription
fromstringOptional start of date range filter (ISO 8601, e.g. "2026-03-01")
tostringOptional end of date range filter (ISO 8601, e.g. "2026-03-31")

calendar_delete_event

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

ParameterTypeDescription
id *stringEvent ID to delete (e.g. evt_abc123...)

calendar_get_feed

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.

preflight_trust_check

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.

ParameterTypeDescription
agent_id *stringAgentLair agent ID to check (format: acc_<alphanumeric>). Found via the agent's AgentLair profile or DID document.

delegate_task

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.

ParameterTypeDescription
task *stringWhat to do — be specific and self-contained. The receiving agent has no context from your conversation.
to *stringTarget agent's AgentLair email (e.g. pico@agentlair.dev)
constraintsstringTiming constraints, requirements, or limits
contextstringBackground information the agent needs to execute the task
prioritystringTask priority (default: normal)