# AgentMail MCP Use MCP only when the user or harness already wants MCP tools. The CLI remains the default path for AgentMail workflows. Hosted server: ```text https://mcp.agentmail.to/mcp ``` Authentication: - OAuth in compatible MCP clients. - API key in `?apiKey=...`. - API key in an `x-api-key` header.