Send emails at scale, manage dynamic templates, and track delivery stats via SendGrid's email infrastructure.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"sendgrid": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-sendgrid",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify sendgrid credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Send transactional and marketing emails at scale — let AI agents trigger emails, manage templates, maintain contact lists, and monitor deliverability via SendGrid.
SendGrid powers email delivery for over 80,000 companies, sending billions of emails every month. This MCP server gives your agents the full SendGrid v3 API: sending single and bulk emails with dynamic templates, managing marketing contacts and lists, pulling delivery and engagement stats, monitoring bounces, and managing verified sender identities.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-sendgrid
| Tool | Description |
|---|---|
| send_email | Send a transactional email with HTML/text content, CC, BCC, and dynamic template support |
| send_bulk_email | Send to multiple recipients with per-recipient dynamic template data (up to 1000) |
| send_template_email | Simplified tool to send a dynamic template email with substitution data |
| schedule_email | Schedule an email to send at a specific Unix timestamp (up to 72 hours ahead) |
| list_templates | List all dynamic transactional email templates |
| get_template | Get full details of a template including all versions |
| create_template | Create a new dynamic transactional email template |
| get_template_version | Get a specific template version with HTML content and subject |
| search_contacts | Search marketing contacts using SGQL query language |
| get_contact | Get full details of a marketing contact by ID |
| upsert_contacts | Create or update one or more marketing contacts by email |
| list_contact_lists | List all marketing contact lists |
| add_contacts_to_list | Add contacts to a specific marketing list by contact ID |
| get_global_stats | Get global email stats (sends, opens, clicks, bounces) for a date range |
| get_email_stats | Get stats filtered by category for a date range |
| get_template_stats | Get delivery and engagement stats for a specific template version |
| get_bounce_list | Get bounced email addresses with reason and timestamp |
| list_senders | List all verified sender identities |
| create_sender | Create a new sender identity (requires email verification) |
| verify_sender_domain | Validate DNS records (DKIM, SPF) for an authenticated domain |
| Variable | Required | Description | How to Get |
|---|---|---|---|
| SENDGRID_API_KEY | Yes | SendGrid API key with Mail Send and Marketing permissions | app.sendgrid.com → Settings → API Keys → Create API Key |
SENDGRID_API_KEY under Project → SecretsOnce added, every AI agent in your workspace can send and manage emails via SendGrid automatically — no per-user setup needed.
"Send a welcome email to new user alice@example.com using template d-abc123 with her first name 'Alice'"
"Show me the email open rate and click rate for the past 7 days"
"Sync the new customer list and add all emails to the 'Active Customers' marketing list"
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-sendgrid \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-SENDGRID-API-KEY: your-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_email","arguments":{"to":"alice@example.com","from":"hello@yourapp.com","subject":"Welcome!","content":[{"type":"text/plain","value":"Thanks for signing up!"}]}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-sendgrid
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Trigger real-time events to browser and mobile clients, manage presence channels, and authenticate sockets via Pusher.
by @aerostack
Send transactional emails with developer-grade deliverability — manage domains, API keys, and sending stats via Resend.
by @aerostack
Send SMS, make calls, and manage phone numbers via Twilio — add programmable communications to any AI workflow.
by @aerostack
Drive ecommerce growth with Omnisend — manage contacts, campaigns, automations, segments, and track events from AI.
by @aerostack
Sendbird in-app messaging MCP — manage channels, messages, and users via the Sendbird platform API
Yes. Call list_templates to find the template ID, then send_template_email with personalizations array. send_bulk_email handles large recipient lists in a single API call via SendGrid's batch endpoint.
verify_sender_domain returns domain authentication status including SPF and DKIM records. Claude can block a send and surface the DNS fix needed if verification is incomplete.
Yes. get_bounce_list returns bounced emails with error codes. Claude can cross-reference with search_contacts and remove them via upsert_contacts with an unsubscribe flag or direct list removal.
get_template_stats returns opens, clicks, and unsubscribes per template version. Claude can compare versions by ID and recommend which variant to promote based on click-through rate.