SendGrid is a Communication MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent send transactional and marketing email via SendGrid from AI agents through MCP. Install in 1 minute with mcpizy install sendgrid.
Communication
Send transactional and marketing email via SendGrid from AI agents through MCP.
Official homepageConnect your SendGrid account once — MCPizy stores the credentials encrypted and uses them whenever you run a recipe in managed mode.
mcpizy install sendgridnpx -y @sendgrid/mcp-serversend_emailSend email via SendGrid API
Inputs
tostringrequiredfromstringrequiredsubjectstringrequiredcontentstringrequiredlist_templatesList dynamic email templates
send_with_templateSend an email using a dynamic template
Inputs
template_idstringrequiredtostringrequireddynamic_dataobjectoptionallist_contactsList contacts in the marketing lists
Works identically across clients. Only the config file path differs.
~/.claude.json{
"mcpServers": {
"sendgrid": {
"command": "npx",
"args": [
"-y",
"@sendgrid/mcp-server"
],
"env": {
"SENDGRID_API_KEY": "SG...."
}
}
}
}.cursor/mcp.json{
"mcpServers": {
"sendgrid": {
"command": "npx",
"args": [
"-y",
"@sendgrid/mcp-server"
],
"env": {
"SENDGRID_API_KEY": "SG...."
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"sendgrid": {
"command": "npx",
"args": [
"-y",
"@sendgrid/mcp-server"
],
"env": {
"SENDGRID_API_KEY": "SG...."
}
}
}
}Create an API key with Mail Send access
SENDGRID_API_KEYPaste any of these prompts into Claude Code, Cursor or another MCP-compatible client.
“Send a welcome email to [email protected] using template d-abc123”
Uses: send_with_template
“List all my dynamic templates”
Uses: list_templates
SendGrid MCP wraps the Twilio SendGrid API v3 (api.sendgrid.com/v3/), exposing Mail Send (transactional), Marketing Campaigns, Contacts, Lists, Segments, Templates (Dynamic Templates with Handlebars), Suppressions (bounces, blocks, spam reports, unsubscribes), Event Webhooks, and the Stats API. Auth is via API Keys with granular scope permissions. Tools include mail_send, contact_upsert, list_recipients_add, segment_create (with SQL-like query syntax), template_version_create, and stats_global_get.
We use SendGrid primarily for high-volume transactional email (password resets, order confirmations, OTP delivery), event-driven notification streams, and reputation-managed marketing sends. The MCP is useful for syncing customer data from product DBs to SendGrid Contacts, programmatically creating template versions for A/B tests, pulling delivery/open/click metrics for dashboards, and managing suppression lists across IP pools. Token cost is light (200-500 tokens per mail send response). Free tier is 100 emails/day; paid plans start at $19.95/month for 50k emails.
Vs. Mailchimp, SendGrid is faster and more reliable for transactional volume but less polished for marketing creative workflows. Vs. Resend or Postmark, SendGrid has more features but feels older and the IP warm-up process is more manual. Trade-offs: SendGrid's deliverability has been historically strong but is sensitive to shared-IP neighbor reputation on lower plans (dedicated IPs cost $80+/month), and the v3 API has inconsistent naming conventions across modules.
Dynamic template substitutions silently fail if your Handlebars variable name has a typo or wrong nesting — the rendered email will show the raw {{variable}} or be empty. Always test with template_test endpoint before bulk send.
Suppression groups (unsubscribe groups) are separate from global unsubscribes — a contact can be suppressed at group level but still receive emails from other groups. This is intentional but causes "why is this user still receiving emails?" tickets.
The Event Webhook delivers events out of order and may duplicate — always dedupe by sg_event_id and use the timestamp for ordering. Single sends >10k emails can take 30-60 minutes for full event delivery.
Marketing Campaigns API and Mail Send API have different contact addressing models (Marketing uses Lists, Mail Send uses inline recipients) — switching between them mid-pipeline is a common confusion.
Honest pros/cons against the closest communication MCP servers.
| Server | Strengths | Trade-offs |
|---|---|---|
| Resend MCP | Modern developer-first API, cleaner SDK, better React Email support, simpler pricing | Younger product, smaller deliverability track record, fewer advanced segmentation features |
| Postmark MCP | Best-in-class transactional deliverability, separate transactional/marketing streams, fast support | Pricier per email at scale, weaker marketing/journey features, smaller template ecosystem |
| Amazon SES | Cheapest per email ($0.10/1000), AWS-native integration, virtually unlimited scale | Bare-bones API, you build templates/segments/analytics yourself, deliverability requires manual reputation management |
If SendGrid doesn't fit your stack, these Communication MCP servers solve similar problems.
The SendGrid MCP server is an Communication Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents send transactional and marketing email via SendGrid from AI agents through MCP. It exposes SendGrid's capabilities as tools the AI can call directly from your editor or CLI.
The fastest way is the MCPizy CLI: run `mcpizy install sendgrid` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @sendgrid/mcp-server` and restarting Claude Code.
Yes. The SendGrid MCP server is free and open source (see the GitHub repository linked on this page). You may still need a SendGrid account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.
Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.
Once installed, your AI agent can send transactional and marketing email via SendGrid from AI agents through MCP directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run SendGrid operations, inspect results, chain SendGrid with other MCP servers (see our Workflow Recipes), and automate repetitive communication tasks without leaving your editor.