Resend MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Resend MCP or direct API to send emails, track delivery, automate notifications, and manage email metadata through natural language.

Resend logoResend
Api Key

Resend is a universal API for sending emails using a single, modern endpoint. It streamlines transactional and marketing email delivery for developers and teams.

62 Tools

Try Resend now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Resend
Try asking
TOOLS

Supported Tools

Every Resend action and event your agent gets out of the box.

Add Contact To Segment

Add an existing contact to a segment in Resend.

Cancel Email

Cancel a scheduled email.

Create API Key

Create a new API key to authenticate communications with Resend.

Create Audience

Create a list of contacts.

Create Contact

Create a contact in Resend.

Create Contact Property

Tool to create a new contact property in Resend.

Create Contact V2

Tool to create a new contact in Resend.

Create Domain

Create a domain through the Resend Email API.

Create Template

Tool to create a new email template in Resend.

Create Topic

Tool to create a new topic to segment your audience.

Create Webhook

Tool to create a webhook to receive real-time notifications about email events.

Delete API Key

Remove an existing API key from Resend.

Delete Audience

Remove an existing audience.

Delete Contact

Delete a contact in Resend.

Delete Contact By ID

Tool to remove an existing contact by its ID.

Delete Contact Property

Remove an existing contact property from Resend.

Delete Domain

Delete a domain through the Resend Email API.

Delete Segment

Remove an existing segment.

Delete Template

Remove an existing template.

Delete Topic

Tool to remove an existing topic in Resend.

Delete Webhook

Remove an existing webhook.

Duplicate Template

Duplicate an existing template through the Resend Email API.

Get Contact

Tool to retrieve a single contact from Resend by ID or email.

Get Contact Property

Tool to retrieve a single contact property from Resend.

Get Email Attachment

Retrieve a single attachment from a sent email.

Get Segment

Retrieve a single segment by its ID.

Get Template

Retrieve a single template by ID or alias from Resend.

Get Topic

Tool to retrieve a single topic by its ID in Resend.

Get Webhook

Retrieve a single webhook for the authenticated user.

List All Contacts

Tool to retrieve a list of all contacts from Resend.

List API Keys

Tool to retrieve a list of API keys for the authenticated user.

List Audiences

List all audiences.

List Broadcasts

Tool to retrieve a list of broadcasts.

List Contact Properties

Tool to retrieve a list of contact properties from Resend.

List Contacts

List contacts in Resend.

List Contact Segments

Retrieve a list of segments that a contact is part of.

List Contact Topics

Retrieve a list of topic subscriptions for a contact in Resend.

List Domains

List all domains.

List Email Attachments

Tool to retrieve a list of attachments from a sent email.

List Emails

Tool to retrieve a list of emails sent by your team.

List Received Emails

Tool to retrieve a list of received emails for the authenticated user.

List Segments

Tool to retrieve a list of segments from Resend.

List Templates

Tool to retrieve a list of templates from Resend.

List Topics

Tool to retrieve a list of topics for the authenticated user.

List Webhooks

Retrieve a list of webhooks for the authenticated user.

Publish Template

Publish a template through the Resend Email API.

Remove Contact From Segment

Remove an existing contact from a segment.

Retrieve Audience

Retrieve a single audience.

Retrieve Contact

Retrieve a contact in Resend.

Retrieve Domain

Retrieve a single domain.

Retrieve Email

Retrieve a single email.

Send Batch Emails

Trigger up to 100 batch emails at once.

Send Email

Send an email using Resend.

Update Broadcast

Update an existing broadcast in Resend.

Update Contact

Tool to update an existing contact in Resend by ID or email.

Update Contact Property

Update an existing contact property in Resend.

Update Domain

Update an existing domain.

Update Email

Update a scheduled email.

Update Template

Tool to update an existing email template in Resend.

Update Topic

Tool to update an existing topic in Resend.

Update Webhook

Tool to update an existing webhook configuration.

Verify Domain

Verify a domain through the Resend Email API.

SETUP GUIDE

Connect Resend MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Send a transactional email to jane@company.com with subject "Welcome"' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Resend API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Resend Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Send a welcome email to a new contact'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Resend actions with your Agent

Why Use Composio?

AI Native Resend Integration

  • Supports both Resend MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for sending, tracking, and automating Resend emails

Managed Auth

  • Built-in API key handling and secure storage
  • Central place to manage and revoke Resend credentials
  • Per user and per environment credentials—no more hard-coded keys

Agent Optimized Design

  • Tools tuned for AI reliability and minimal errors
  • Comprehensive logs for every Resend action initiated by your agents

Enterprise Grade Security

  • Granular control over which agents and users can send with Resend
  • Scoped, least-privilege access to Resend resources
  • Full audit trails of agent-driven emails for compliance
FAQ

Frequently asked questions

Yes, Resend requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Resend.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Resend tool your agent needs.Free to start.

Start building