Skip to main content
If you’re developing with AI, Resend offers several resources to improve your experience.

Prerequisite: Create an API Key

Currently, we require a human to create a Resend account. Once you have an account, you’ll need to create an API key. With an API key, your agent can perform many other tasks.
To send or receive with Resend, you’ll need to verify a domain. While an agent can create a domain, the API returns DNS records you will need to add in your DNS provider before verifying your DNS records. You may find it easier to verify your domain in the dashboard.

Resend MCP Server

MCP is an open protocol that standardizes how applications provide context to LLMs. Among other benefits, it provides LLMs tools to act on your behalf. Our MCP server is open-source and covers our full API surface area. The Resend MCP server is available on NPM and can be added to any supported MCP client. For example:
{
  "mcpServers": {
    "resend": {
      "command": "npx",
      "args": ["-y", "resend-mcp"],
      "env": {
        "RESEND_API_KEY": "re_xxxxxxxxx"
      }
    }
  }
}

MCP Server

View installation instructions for Cursor, Codex, Claude Desktop, and more.

Resend Docs for Agents

You can give your agent current docs in a context-aware way in three ways:
  1. Markdown docs Every doc includes a markdown version (append md to any page)
    Docs for this page: https://resend.com/docs/ai-onboarding.md
    
  2. Full llms.txt Give your agent all our docs in a single file.
    Here are the Resend docs: https://resend.com/docs/llms-full.txt
    
  3. MCP Docs server For a more structured approach using MCP tools, you can install our MCP docs server in any MCP client, like Cursor, Codex, or Claude Code.
    npx add-mcp https://resend.com/docs/mcp
    

Email Skills for Agents

Skills give AI agents specialized knowledge for specific tasks. Install all three for full coverage:
npx skills add resend/resend-skills resend/react-email resend/email-best-practices
Or install individually:
SkillInstallWhat it does
Resendnpx skills add resend/resend-skillsSend and receive emails, handle errors, prevent duplicate sends, get code examples from various SDKs
React Emailnpx skills add resend/react-emailBuild emails in React, Tailwind, and TypeScript. Audit existing React emails for style and cross-client rendering.
Email Best Practicesnpx skills add resend/email-best-practicesAudit SPF/DKIM/DMARC setup, compliance (CAN-SPAM, GDPR), webhook handling

Quick Start Guides

Throughout our documentation, we provide quick start guides for common tasks with Resend. They contain step-by-step instructions for sending emails, creating templates, and more. Copy the prompt for your agent or click to open in Cursor.

Example agent quick start guide for sending emails.

CursorOpen in Cursor

OpenClaw Guide

OpenClaw is a tool that allows you to build and deploy AI agents. Agents can interact with APIs like Resend. Equipping your agent with its own email inbox can be a powerful tool to unlock new workflows. Alternatively, give it access to your Resend account to support agentic flows for sending and receiving emails.

Email Automation for OpenClaw using Resend

View the OpenClaw guide.

AI Builder Integrations

We offer integrations with popular AI builders to help you get started with AI agents.