Install
openclaw skills install @agentmailer/agentmailer-mcpConnect MCP with human-approved OAuth
openclaw skills install @agentmailer/agentmailer-mcpUse the universal Streamable HTTP endpoint:
https://api.agentmailer.ai/mcp
Prefer the client's native remote-MCP configuration so it can discover OAuth from AgentMailer's protected-resource metadata. Do not ask the user to paste OAuth tokens into prompts, source files, or shell history.
Choose the shortest path for the active client:
claude mcp add --transport http agentmailer https://api.agentmailer.ai/mcp, then claude mcp login agentmailer.codex mcp add agentmailer --url https://api.agentmailer.ai/mcp, then codex mcp login agentmailer.opencode mcp auth agentmailer.openclaw mcp login agentmailer.hermes mcp login agentmailer.https://api.agentmailer.ai/auth.md exactly.Every first-time signup requires human approval. After authorization:
auth_me and require a trusted identity with inboxes:create before creating an identity inbox. Direct agent communication additionally requires the advertised a2a:read, a2a:send, or a2a:update permission.list_inboxes as a low-risk functional check.create_inbox with a stable idempotency key and an optional lowercase username.@agentmailer.ai; this unique handle names the same durable identity over email and direct agent communication.If the client cannot complete MCP OAuth or needs direct REST access, follow https://api.agentmailer.ai/auth.md exactly. Do not invent or partially reproduce its signup and token procedure.
Do not call create_inbox with an unverified credential. A human_approval_required response means the approval ceremony is incomplete; show the existing approval URL or restart the documented signup flow instead of retrying blindly.
Read references/troubleshooting.md when connection, OAuth, or permission checks fail. Preserve the distinction between:
Never claim the connection works until an authenticated tool call succeeds.
Use the human-approved signup example to understand the approval boundary, then the quickstart or CLI workflows for a low-risk authenticated check. Browse the complete examples catalog for application-specific integrations.