> ## Documentation Index
> Fetch the complete documentation index at: https://www.klavis.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend

> Connect AI agents to Resend for automated email campaigns and transactional messaging

> [!NOTE]
>
> **Prerequisites**
> Before you begin, [create an account](https://www.klavis.ai/home/api-keys) and get your API Key.

## Getting started

Connect to Resend to send emails, manage audiences, create broadcasts, and automate email marketing through AI agents.

> [tab] API
>
> **1. Install the SDKs (optional)**
>
> ```bash pip theme={null}
> pip install klavis
> ```
>
> ```bash npm theme={null}
> npm install klavis
> ```
>
> **2. Create a Strata MCP Server with Resend**
>
> ```python Python theme={null}
> from klavis import Klavis
> from klavis.types import McpServerName
>
> klavis_client = Klavis(api_key="YOUR_API_KEY")
>
> # Create a Strata MCP server with Resend
> response = klavis_client.mcp_server.create_strata_server(
>     servers=[McpServerName.RESEND],
>     user_id="user123"
> )
> ```
>
> ```typescript TypeScript theme={null}
> import { KlavisClient, Klavis } from 'klavis';
>
> const klavis = new KlavisClient({ apiKey: process.env.KLAVIS_API_KEY! });
>
> // Create a Strata MCP server with Resend
> const response = await klavis.mcpServer.createStrataServer({
>     servers: [Klavis.McpServerName.Resend],
>     userId: "user123"
> });
> ```
>
> ```bash cURL theme={null}
> curl -X POST "https://api.klavis.ai/mcp-server/strata/create" \
>   -H "Authorization: Bearer YOUR_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "servers": ["Resend"],
>     "userId": "user123"
>   }'
> ```
>
> > [!TIP]
> >
> > `userId` specifies whose connected accounts and data you are accessing in Klavis. It should be a unique id for yourself, your team, or your organization.
>
> > [card] [API Reference](https://www.klavis.ai/docs/api-reference/strata/create.md)
> >
> > Full Strata API endpoints
>
> **3. Authenticate with API Key**
>
> ```python Python theme={null}
> klavis_client.mcp_server.set_strata_auth(
>     strata_id=response.strata_id,
>     server_name=McpServerName.RESEND,
>     auth_data={
>         "api_key": "YOUR_RESEND_API_KEY"
>     }
> )
> ```
>
> ```typescript TypeScript theme={null}
> await klavis.mcpServer.setStrataAuth({
>     strataId: response.strataId,
>     serverName: Klavis.McpServerName.Resend,
>     authData: {
>         api_key: "YOUR_RESEND_API_KEY"
>     }
> });
> ```
>
> ```bash cURL theme={null}
> curl -X POST "https://api.klavis.ai/mcp-server/strata/set-auth" \
>   -H "Authorization: Bearer YOUR_KLAVIS_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "strataId": "YOUR_STRATA_ID",
>     "serverName": "Resend",
>     "authData": {
>       "api_key": "YOUR_RESEND_API_KEY"
>     }
>   }'
> ```
>
> > [!TIP]
> >
> > 🎉 **Your Resend MCP Server is ready!** Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

> [tab] UI
>
> **1. Open Dashboard**
>
> Go to your [Dashboard](https://www.klavis.ai/home/mcp-servers).
>
> **2. Choose Resend**
>
> Select Resend from the list of available integrations.
>
> **3. Authenticate**
>
> Enter your Resend API key to connect.
>
> **4. Use in your app**
>
> Copy the MCP endpoint URL and add it to your MCP-supported client (Claude Desktop, Cursor, VS Code, etc.).

> [tab] Open Source
>
> **1. Clone repository (for developers to build from source)**
>
> ```bash theme={null}
> git clone https://github.com/klavis-ai/klavis
> cd klavis/mcp_servers/resend
> ```
>
> **2. Run with Docker**
>
> ```bash theme={null}
> # Pull the Docker image
> docker pull ghcr.io/klavis-ai/resend-mcp-server:latest
>
> # Run with API key support (requires Klavis API key)
> docker run -p 5000:5000 \
>   -e KLAVIS_API_KEY=$KLAVIS_API_KEY \
>   ghcr.io/klavis-ai/resend-mcp-server:latest
> ```
>
> **3. Configure MCP client**
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "resend": {
>       "url": "http://localhost:5000/mcp/"
>     }
>   }
> }
> ```

## Available Tools

> [!TIP]
>
> With our progressive discovery approach, Klavis System is capable of enabling all tools for Resend. Please use the [get\_tools](https://www.klavis.ai/docs/api-reference/mcp-server/get-tools.md) API for more details. If you find any tool that is missing, please reach out to [contact@klavis.ai](mailto:contact@klavis.ai).

## Next Steps

> [card] [AI Platform Integrations](https://www.klavis.ai/docs/ai-platform-integration/overview.md)
>
> Integrate Klavis MCP Servers with leading AI platforms

> [card] [Integrations](https://www.klavis.ai/docs/mcp-server/overview.md)
>
> Explore available MCP servers

> [card] [API Reference](https://www.klavis.ai/docs/api-reference/introduction)
>
> REST endpoints and schemas

> [card] [White-label Authentication](https://www.klavis.ai/docs/auth/white-label.md)
>
> Customize OAuth flows with your own branding


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.