Speakeasy Logo
Skip to Content

Use Resend from your MCP Client

This guide shows you how to connect the Resend MCP Server to Claude Desktop.

Screenshot of the Claude Desktop UI showing an email was successfully sent

Prerequisites

Retrieving the Resend API key

The Resend MCP Server needs your Resend API key to authenticate with your account.

In the Resend dashboard, click API Keys in the side bar. Then click Create API Key.

Screenshot of the Resend UI showing the navigation path: API Keys → Create API Key

In the Add API Key dialog, enter a name for the API key, and leave the Permission and Domain fields at their defaults. The Permission and Domain settings control sending limits and domain restrictions, and the defaults allow unlimited sending from any domain, which works for development. In production, you should restrict these for security.

Click Add.

Screenshot of the "Add API Key" dialog in the Resend UI

Resend will display the API key. Copy and save it to use in the MCP server configuration in Claude Desktop.

Screenshot of the "View API Key" modal in the Resend UI

Cloning the Resend MCP project

Clone the Resend MCP project:

Build the project:

The build command generates an index.js file in the build directory. The build compiles TypeScript source code into JavaScript that Claude Desktop can execute, and bundles dependencies so the MCP server runs standalone.

Copy the absolute path to the index.js file. You’ll need it for the Claude Desktop configuration.

Connecting the Resend MCP Server

Now add the Resend MCP Server to the Claude Desktop configuration.

In Claude Desktop, go to SettingsDeveloperEdit Config.

Add the Resend configuration to the claude_desktop_config.json file that opens:

  • Replace ABSOLUTE_PATH_TO_MCP_SEND_EMAIL_PROJECT/build/index.js with the path to your project location.
  • Replace YOUR_RESEND_API_KEY with your Resend API key.

Restart Claude Desktop.

Testing the connection

Test the connection by asking Claude to list the current audiences in the Resend:

Screenshot of the Claude Desktop UI showing the list of audiences in the Resend application

Sending an email

Now you can ask Claude to send an email to a specific audience or email address, for example:

Screenshot of the Claude Desktop UI showing an email was successfully sent

Last updated on