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.

Values you need

VariableWhat it is
AGENTLAIR_API_KEYrequired secret AgentLair API key. Get one free at https://agentlair.dev

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add agentlair -e 'AGENTLAIR_API_KEY=<AGENTLAIR_API_KEY>' -- npx -y --package=@agentlair/mcp@1.3.0 agentlair-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "agentlair": {
      "args": [
        "-y",
        "--package=@agentlair/mcp@1.3.0",
        "agentlair-mcp"
      ],
      "command": "npx",
      "env": {
        "AGENTLAIR_API_KEY": "<AGENTLAIR_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agentlair": {
      "args": [
        "-y",
        "--package=@agentlair/mcp@1.3.0",
        "agentlair-mcp"
      ],
      "command": "npx",
      "env": {
        "AGENTLAIR_API_KEY": "<AGENTLAIR_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "AGENTLAIR_API_KEY",
      "id": "agentlair-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "agentlair": {
      "args": [
        "-y",
        "--package=@agentlair/mcp@1.3.0",
        "agentlair-mcp"
      ],
      "command": "npx",
      "env": {
        "AGENTLAIR_API_KEY": "${input:agentlair-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agentlair]
command = "npx"
args = ["-y", "--package=@agentlair/mcp@1.3.0", "agentlair-mcp"]
env = { "AGENTLAIR_API_KEY" = "<AGENTLAIR_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http agentlair https://agentlair-mcp-server.amdal-dev.workers.dev/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "agentlair": {
      "args": [
        "-y",
        "mcp-remote",
        "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agentlair": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "agentlair": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agentlair]
command = "npx"
args = ["-y", "mcp-remote", "https://agentlair-mcp-server.amdal-dev.workers.dev/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: AGENTLAIR_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: claim_address, send_email, check_inbox, read_message, list_addresses, vault_put, vault_get, vault_list, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json