Lets LLMs compose and send email through the Resend API, including scheduled sends and attachments.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add resend --env REPLY_TO_EMAIL_ADDRESSES='<REPLY_TO_EMAIL_ADDRESSES>' --env RESEND_API_KEY='<RESEND_API_KEY>' --env SENDER_EMAIL_ADDRESS='<SENDER_EMAIL_ADDRESS>' -- npx -y resend-mcp~/.codex/config.toml
[mcp_servers.resend]
command = "npx"
args = ["-y", "resend-mcp"]
env = { REPLY_TO_EMAIL_ADDRESSES = "<REPLY_TO_EMAIL_ADDRESSES>", RESEND_API_KEY = "<RESEND_API_KEY>", SENDER_EMAIL_ADDRESS = "<SENDER_EMAIL_ADDRESS>" }
# codex mcp add resend --env REPLY_TO_EMAIL_ADDRESSES='<REPLY_TO_EMAIL_ADDRESSES>' --env RESEND_API_KEY='<RESEND_API_KEY>' --env SENDER_EMAIL_ADDRESS='<SENDER_EMAIL_ADDRESS>' -- npx -y resend-mcp~/.cursor/mcp.json
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"REPLY_TO_EMAIL_ADDRESSES": "<REPLY_TO_EMAIL_ADDRESSES>",
"RESEND_API_KEY": "<RESEND_API_KEY>",
"SENDER_EMAIL_ADDRESS": "<SENDER_EMAIL_ADDRESS>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"resend": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"REPLY_TO_EMAIL_ADDRESSES": "<REPLY_TO_EMAIL_ADDRESSES>",
"RESEND_API_KEY": "<RESEND_API_KEY>",
"SENDER_EMAIL_ADDRESS": "<SENDER_EMAIL_ADDRESS>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"REPLY_TO_EMAIL_ADDRESSES": "<REPLY_TO_EMAIL_ADDRESSES>",
"RESEND_API_KEY": "<RESEND_API_KEY>",
"SENDER_EMAIL_ADDRESS": "<SENDER_EMAIL_ADDRESS>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"REPLY_TO_EMAIL_ADDRESSES": "<REPLY_TO_EMAIL_ADDRESSES>",
"RESEND_API_KEY": "<RESEND_API_KEY>",
"SENDER_EMAIL_ADDRESS": "<SENDER_EMAIL_ADDRESS>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"resend": {
"command": "npx",
"args": [
"-y",
"resend-mcp"
],
"env": {
"REPLY_TO_EMAIL_ADDRESSES": "<REPLY_TO_EMAIL_ADDRESSES>",
"RESEND_API_KEY": "<RESEND_API_KEY>",
"SENDER_EMAIL_ADDRESS": "<SENDER_EMAIL_ADDRESS>"
}
}
}
}需要的环境变量
REPLY_TO_EMAIL_ADDRESSESRESEND_API_KEYSENDER_EMAIL_ADDRESS
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。