Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问clear审计异常

resend-integration-skills重新发送整合技巧

Agent Skill

resend-integration-skills 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,842

周安装

241

GitHub Stars

19

下载量

1,909
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:resend-integration-skills(重新发送整合技巧)
来源仓库:https://github.com/gocallum/nextjs16-agent-skills
仓库路径:skills/resend-integration-skills
安装命令:
npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill resend-integration-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill resend-integration-skills

简介

用于处理 GitHub 仓库、Issue、Pull Request 等协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限与联网能力。
  • 建议结合原始 README 核验具体用法,注意维护状态和功能边界。
  • 使用前请检查是否会触发文件读写或命令执行,确保环境安全。

SKILL.md

Links

Quick Start

1. Prerequisites

  • Node.js 20 or higher (required - the MCP server specifies engines: {"node": ">=20"})
  • Resend account (free tier available at https://resend.com)
  • GitHub Copilot Pro or Cursor with Agent mode enabled
  • VS Code Insider (required for full MCP support)
  • npm or pnpm package manager

2. Clone and Build Resend MCP Server

# Clone the Resend MCP server repository
git clone https://github.com/resend/mcp-send-email.git
cd mcp-send-email

# Install dependencies (npm or pnpm both supported)
npm install
# or if you prefer pnpm:
# pnpm install

# Build the project (TypeScript compilation + executable permissions)
npm run build

The build process:

  1. Compiles TypeScript to JavaScript
  2. Sets executable permissions on the built script (Unix/macOS)
  3. Creates the MCP server executable at build/index.js

3. Create Resend API Key

  1. Visit https://resend.com/api-keys
  2. Create a new API key
  3. Copy the key to your clipboard (you'll need it for configuration)

4. (Optional) Verify Your Domain

To send emails from a custom domain:

  1. Go to https://resend.com/domains
  2. Add and verify your domain
  3. Update MCP configuration with --sender flag (see Configuration section)

5. Configure MCP for Your Client

Choose your setup based on your GitHub Copilot tier:

For GitHub Copilot Coding Agent (Repository-level setup):

This is the recommended approach for team collaboration. Repository admins configure MCP servers at the repository level.

  1. Navigate to your repository on GitHub.com
  2. Go to Settings → Copilot → Coding agent
  3. Add the following JSON configuration:
{
  "mcpServers": {
    "resend": {
      "type": "local",
      "command": "node",
      "args": ["/absolute/path/to/mcp-send-email/build/index.js"],
      "env": {
        "RESEND_API_KEY": "COPILOT_MCP_RESEND_API_KEY"
      },
      "tools": ["*"]
    }
  }
}
  1. Set up the Copilot environment:

- Go to Settings → Environments - Create new environment called copilot - Add secret: COPILOT_MCP_RESEND_API_KEY with your API key value

  1. Click Save and Copilot will validate the configuration

For VS Code Local Development (Developer setup):

If you're developing locally or prefer VS Code configuration:

  1. Create .vscode/mcp.json in your project root:
{
  "servers": {
    "resend": {
      "type": "command",
      "command": "node",
      "args": ["/absolute/path/to/mcp-send-email/build/index.js"],
      "env": {
        "RESEND_API_KEY": "re_xxxxxxxxxxxxxx"
      }
    }
  }
}
  1. Get the absolute path to build/index.js:

- Right-click build/index.js in VS Code → Copy Path

For Cursor Agent Mode:

Open Cursor Settings (Cmd+Shift+P → "Cursor Settings") and add to MCP config:

{
  "mcpServers": {
    "resend": {
      "type": "command",
      "command": "node /absolute/path/to/mcp-send-email/build/index.js --key=re_xxxxxxxxxxxxxx"
    }
  }
}

For Claude Desktop:

  1. Open Claude Desktop settings
  2. Go to Developer tab → Edit Config
  3. Add configuration:
{
  "mcpServers": {
    "resend": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-send-email/build/index.js"],
      "env": {
        "RESEND_API_KEY": "re_xxxxxxxxxxxxxx",
        "SENDER_EMAIL_ADDRESS": "onboarding@resend.dev",
        "REPLY_TO_EMAIL_ADDRESS": "reply@example.com"
      }
    }
  }
}

6. Test the Connection Using email.md Pattern

The official Resend repository includes a test pattern using an email.md file:

  1. Create email.md in your project: to: your-email@example.com subject: Test from Resend MCP content: This is a test email. Hello! This is a test email sent via Resend MCP. # You can also test CC and BCC: # cc: colleague@example.com # bcc: manager@example.com
  2. In Cursor (with Agent mode):

- Open the email.md file - Select all text (Cmd+A / Ctrl+A) - Press Cmd+L / Ctrl+L (or use the context menu) - Tell Cursor: "send this as an email" or "send this email using resend MCP" - Make sure you're in Agent mode (toggle in chat dropdown)

  1. In Claude Desktop:

- Paste the email.md content in the chat - Ask Claude to send it: "Send this email using the resend tool"

  1. In GitHub Copilot:

- Open email.md file - Reference it in the chat: "@email.md send this email using resend"

If configured correctly, the email will be sent immediately and you'll receive confirmation.

Key Concepts

MCP Configuration Types

There are two main ways to configure Resend MCP with GitHub Copilot:

1. GitHub Copilot Coding Agent (Repository-level)

  • Configuration in GitHub repository settings (Repository admin required)
  • Used when assigning Copilot tasks to work on GitHub issues
  • Requires explicit tools array specifying which tools Copilot can use
  • API keys stored as GitHub Actions secrets (prefixed with COPILOT_MCP_)
  • Autonomous execution without approval (security considerations apply)

2. VS Code Local Development

  • Configuration in .vscode/mcp.json (local developer setup)
  • Used for local development with VS Code Insider
  • API keys stored directly in config or environment variables
  • Better for individual developers or testing

Resend MCP Server

The Resend MCP Server is a local Node.js application that exposes Resend's email functionality as tools for LLMs. It implements the Model Context Protocol, allowing AI agents to:

  • Send emails via natural language commands (plain text or HTML)
  • Schedule emails for future delivery
  • Add recipients (To, CC, BCC)
  • Configure sender information (From, Reply-To)
  • Broadcast emails to audience segments
  • Manage audiences - List Resend audiences for targeted sending
  • Support HTML and plain text email bodies

Recent additions (as of early 2026):

  • Broadcast and audience management tools for marketing campaigns
  • Better error handling and validation via Zod schemas

MCP Configuration Methods

There are three ways to run the Resend MCP server:

  1. Command-type (VS Code/Cursor): Direct Node.js execution with inline arguments
  2. Stdio-type (Claude Desktop): Server handles I/O through environment variables
  3. HTTP-type (Remote/Cloud): Server exposed via HTTP endpoint

GitHub Copilot Coding Agent Specifics

For GitHub Copilot Coding Agent (repository-based setup):

  • Required tools array: Must specify which tools from the Resend MCP server Copilot can use

- Use "tools": ["send_email", "schedule_email",...] to allowlist specific tools - Use "tools": ["*"] to enable all tools - Use case-specific tool names from the MCP server documentation

  • No approval required: Once configured, Copilot will use these tools autonomously without asking
  • Security consideration: Copilot will have automated access to the Resend API via the configured tools, so only enable the tools you need
  • Environment variable handling: API keys must be stored as GitHub Actions secrets with COPILOT_MCP_ prefix

- Reference them in config as "COPILOT_MCP_RESEND_API_KEY" (without the value) - GitHub automatically passes the secret value to the MCP server

Authentication

Resend MCP server requires:

  • RESEND_API_KEY (required): Your Resend API key from https://resend.com/api-keys
  • SENDER_EMAIL_ADDRESS (optional): Verified domain email. If not set, AI will prompt for it
  • REPLY_TO_EMAIL_ADDRESS (optional): Email address for reply-to header

Verified Domains

By default, Resend allows sending to your own account email using the test domain onboarding@resend.dev. To send to other addresses:

  1. For testing: Use the default onboarding@resend.dev sender (no verification needed)
  2. For custom domains: Verify your domain at https://resend.com/domains
  3. Create a sender email from your verified domain
  4. Configure it in MCP environment variables (SENDER_EMAIL_ADDRESS)

Note: If you don't provide a SENDER_EMAIL_ADDRESS, the MCP server will prompt you each time you send an email.

Code Examples

Example 1: Simple Email via Copilot Chat

In VS Code Insider with GitHub Copilot Agent mode:

@workspace I need to send a notification email to john@example.com about the project completion. Use the resend MCP tool to send "Project ABC is now live" as the email body.

Example 2: HTML Email with Custom Configuration

Send an HTML email to team@example.com with subject "Monthly Report" and body formatted as an HTML table showing Q1 metrics. Use Resend MCP to send it.

Example 3: Email with CC/BCC

Send an email from onboarding@mycompany.com to customer@example.com CC'ing manager@company.com about account activation. Use Resend MCP.

Example 4: Scheduled Email

Schedule an email to be sent tomorrow at 9 AM using Resend MCP, reminding the team about the standup meeting.

Example 5: Integration with Data Processing

Read the CSV file users.csv, extract the top 10 active users with their emails, and send each a personalized thank you email using Resend MCP. Include their usage statistics in the email.

Advanced Features

Broadcast Emails

Send emails to audience segments in your Resend account:

Send a broadcast email to my 'premium_users' audience with subject 'New Feature Release' using Resend MCP

Audience Management

Query and work with audiences:

List all my audiences in Resend using the MCP tool

Best Practices

GitHub Copilot Coding Agent Security

Important: When configuring Resend MCP for GitHub Copilot Coding Agent:

  1. Tool allowlisting - Only enable the specific tools Copilot needs: "tools": ["send_email", "schedule_email"] Instead of enabling all tools with "*"
  2. Secret management - Never commit API keys to version control

- Store API keys as GitHub Actions secrets (Settings → Environments) - Secret names must start with COPILOT_MCP_ - Reference secrets by name in the configuration

  1. Scope your API key - Consider using a restricted Resend API key if available
  2. Review Copilot's actions - Check pull requests created by Copilot to verify emails would be sent appropriately
  3. Environment isolation - Use the copilot environment to manage which repositories/workflows have access to your email sending capability

Configuration Management

  1. Use .env.local for development: #.env.local (not committed) RESEND_API_KEY=re_test_xxx SENDER_EMAIL_ADDRESS=dev@example.com
  2. Separate configs per environment:

- Development: Test API key, limited recipients - Production: Full API key, all recipients allowed

  1. Document required env vars in README.md: ## Environment Variables - RESEND_API_KEY: Resend API key (required) - SENDER_EMAIL_ADDRESS: Verified sender email (optional) - REPLY_TO_EMAIL_ADDRESS: Reply-to email (optional)

Email Content

  1. Always include unsubscribe links for marketing emails
  2. Test emails with multiple email clients (Gmail, Outlook, Apple Mail)
  3. Keep templates responsive for mobile devices
  4. Use clear subject lines that describe the email purpose
  5. Include plain text alternative to HTML for accessibility

AI Agent Usage

  1. Provide context about who should receive emails
  2. Specify sender information in the initial setup
  3. Review email content generated by AI before sending
  4. Use agent mode for complex workflows requiring multiple steps
  5. Test with your own email first before sending to others

Troubleshooting

Issue: "Node version too old" or "Node 20+ required"

Solution: Check and update Node.js version

node --version  # Should be v20.0.0 or higher
  • Install Node.js 20+ from https://nodejs.org (LTS version recommended)
  • macOS: brew install node@20 (if using Homebrew)
  • Windows: Download from https://nodejs.org or use nvm-windows
  • Linux: nvm install 20 or use package manager
  • Verify: node --version should show v20.x.x or later
  • Restart your terminal/IDE after installation

Issue: "Command not found: node"

Solution: Node.js is not installed or not in PATH

  • Install Node.js from https://nodejs.org (version 20+ required)
  • Verify installation: node --version
  • Restart your terminal/IDE after installation

Issue: "RESEND_API_KEY is required"

Solution: API key not provided or invalid

  • Generate new key at https://resend.com/api-keys
  • Ensure key starts with re_
  • Check MCP configuration for correct environment variable name
  • Verify there are no extra spaces in the key

Issue: "Email not delivered / 401 Unauthorized"

Solution: Authentication or domain verification issue

  • Verify API key is correct and active
  • Check domain is verified at https://resend.com/domains
  • Ensure sender email matches verified domain
  • Check Resend dashboard for rate limiting or delivery errors

Issue: "Build command fails during npm run build"

Solution: Dependency or TypeScript compilation error

# Clear and reinstall dependencies
rm -rf node_modules package-lock.json
npm install
npm run build

Common build errors:

  • TypeScript compilation error: Check that all dependencies are installed
  • Permission denied on Unix/macOS: The build script includes chmod +x - try running from a different directory
  • Module not found: Delete node_modules and reinstall fresh

Issue: "MCP server not appearing in IDE tools list"

Solution: Configuration or server startup issue

GitHub Copilot:

  1. Verify .vscode/mcp.json is in project root (not nested)
  2. Check absolute path to build/index.js is correct
  3. Reload VS Code window (Cmd+R on macOS, Ctrl+R on Windows)
  4. Verify Agent mode is enabled (toggle in chat)

Cursor:

  1. Open Cursor Settings (Cmd+Shift+P → "Cursor Settings")
  2. Navigate to MCP tab
  3. Verify configuration syntax is valid JSON
  4. Check absolute path exists and is readable
  5. Restart Cursor application

Claude Desktop:

  1. Close Claude completely
  2. Verify claude_desktop_config.json syntax
  3. Check that build/index.js file exists
  4. Reopen Claude Desktop
  5. Check Developer tab for resend tool

Issue: "Sending emails works but AI doesn't offer to use Resend MCP"

Solution: Agent model or mode issue

  • Switch to Claude Sonnet 4 or GPT-4.1 (better tool understanding)
  • Enable Agent mode explicitly
  • Use explicit mention: "use the resend MCP tool to send..."
  • Check MCP server is running (look for console output)

Issue: "Getting 'invalid sender' error"

Solution: Sender email not verified

  1. Go to https://resend.com/domains
  2. Verify your custom domain if using one
  3. Use default onboarding@resend.dev for testing
  4. Update SENDER_EMAIL_ADDRESS in MCP config
  5. Restart MCP server

Advanced Configuration

Custom MCP Server with HTTP Transport

For shared team environments or cloud-based setups:

{
  "servers": {
    "resend": {
      "type": "http",
      "url": "https://your-mcp-server.example.com/mcp"
    }
  }
}

Your HTTP server should forward requests to Resend API.

Environment-Specific Configurations

Use different .mcp.json files per environment:

# Development
cp .mcp.dev.json .vscode/mcp.json

# Production
cp .mcp.prod.json .vscode/mcp.json

Integration with Claude Desktop + GitHub Copilot

You can configure both simultaneously:

Claude Desktop config:

{
  "mcpServers": {
    "resend": {
      "command": "node",
      "args": ["/path/to/mcp-send-email/build/index.js"],
      "env": {
        "RESEND_API_KEY": "re_xxxxx"
      }
    }
  }
}

VS Code .vscode/mcp.json:

{
  "servers": {
    "resend": {
      "type": "command",
      "command": "node /path/to/mcp-send-email/build/index.js",
      "env": {
        "RESEND_API_KEY": "re_xxxxx"
      }
    }
  }
}

Both will use the same local MCP server instance.

Workflow Examples

Transactional Email Workflow

  1. Setup Phase: Deploy MCP server with production API key
  2. Automation Phase: Configure in Claude Desktop or Copilot
  3. Integration Phase: Use in application logic via AI agent When order is confirmed, send confirmation email with order details using Resend MCP
  4. Monitoring Phase: Check Resend dashboard for delivery status

Marketing Campaign Workflow

  1. Prepare email template and recipient list
  2. Use AI agent to generate personalized content
  3. Review generated emails before sending
  4. Send via Resend MCP in batches
  5. Monitor open rates and engagement

Notification Workflow

  1. Configure Resend MCP for your notification service
  2. Create email templates for different notification types
  3. Use AI agent to format notifications as emails
  4. Send via Resend MCP to subscribers
  5. Track delivery and handle bounces

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

30.47%
按下载量换算582

Claude Code

24.65%
按下载量换算471

Gemini CLI

19.48%
按下载量换算372

OpenCode

12.63%
按下载量换算241

Codex

7.24%
按下载量换算138

Cursor

3.69%
按下载量换算70

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills