🔌

SendGrid MCP

Communication240

Send emails and manage email campaigns via SendGrid.

Claude DesktopCursor

Overview

Send emails and manage email campaigns via SendGrid.

Setup

Run with npx:

npx -y @modelcontextprotocol/server-sendgrid

Configuration

SENDGRID_API_KEY environment variable

Documentation

SendGrid MCP

Overview

The SendGrid MCP server enables AI agents to send emails and manage email campaigns via SendGrid. Perfect for automated email notifications, newsletters, and transactional email.

Features

  • Send Emails: Send single and batch emails
  • Templates: Use dynamic email templates
  • Contact Management: Manage contact lists
  • Campaigns: Create and send email campaigns
  • Stats: View email statistics

Installation

npx -y @modelcontextprotocol/server-sendgrid

Configuration

{
  "mcpServers": {
    "sendgrid": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sendgrid"],
      "env": {
        "SENDGRID_API_KEY": "your-api-key"
      }
    }
  }
}

API Key Setup

  1. Go to SendGrid Settings
  2. Create a new API key with required permissions
  3. Set the SENDGRID_API_KEY environment variable

Available Tools

ToolDescription
send_emailSend a single email
send_batch_emailsSend emails to multiple recipients
get_templatesList email templates
get_statsGet email statistics
list_contactsList contacts

Usage Examples

Send a Notification Email

Send an email to john@example.com with subject "Welcome!" and body "Thanks for signing up."

Use a Template

Send an email using template "welcome-v2" to john@example.com with variables {"name": "John"}.

Check Stats

Show me email statistics for the last 7 days.

Pros

  • ✅ Reliable email delivery
  • ✅ Template support
  • ✅ Good for transactional email
  • ✅ Campaign management

Cons

  • ❌ Requires SendGrid account
  • ❌ API key setup needed
  • ❌ Free tier has limits

Resources