SendGrid Secure
v0.1.0Security-first SendGrid MCP server: dry-run default, recipient allowlists, rate caps, audit log.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
preview_email
Validate and render an email WITHOUT sending it. Returns the exact payload that would go to SendGrid plus a single-use confirm_token (valid 10 minutes). Sending requires passing that token to send_email — there is no direct-send path. BCC is not accepted by design.
| Parameter | Type | Description |
|---|---|---|
from_email * | string | |
to * | array | |
body_html | string | |
body_text | string | |
cc | ||
from_name | string | |
reply_to | string | |
subject | string | |
template_data | ||
template_id | string |
send_email
Send the email previously rendered by preview_email. Accepts ONLY a confirm token — the payload cannot be altered between preview and send. Tokens are single-use and expire after 10 minutes. In dry-run mode (the default) this simulates and audits but sends nothing.
| Parameter | Type | Description |
|---|---|---|
confirm_token * | string |
add_suppression
Add an address to a suppression list (default: global unsubscribes). Suppressing is the SAFE direction — it stops future sends to the address.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
kind | string |
remove_suppression
Remove an address from a suppression list. DANGEROUS direction — it re-enables sending to someone who bounced or unsubscribed, which can be a compliance violation. Requires confirm=true, is rate-limited, and audited.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
kind * | string | |
confirm | boolean |
list_templates
List transactional email templates (dynamic + legacy).
get_template
Fetch one template with its versions (subject + content preview).
| Parameter | Type | Description |
|---|---|---|
template_id * | string |
get_email_stats
Global email stats (requests/delivered/opens/clicks/bounces/spam) from start_date (YYYY-MM-DD). aggregated_by: day|week|month.
| Parameter | Type | Description |
|---|---|---|
start_date * | string | |
aggregated_by | string | |
end_date | string |
list_suppressions
List a suppression list: unsubscribes|bounces|blocks|spam_reports|invalid_emails.
| Parameter | Type | Description |
|---|---|---|
kind | string | |
limit | integer |
check_suppression
Check whether an address appears on any suppression list. Run this before drafting mail to someone — sending to suppressed addresses hurts deliverability and may violate consent.
| Parameter | Type | Description |
|---|---|---|
email * | string |
get_domain_auth
List authenticated sending domains and their DNS validity — the first thing to check when deliverability drops.
server_status
This server's security posture: mode, rate-limit remaining, allowlist, caps, audit-log path, and whether an API key is present (never the key).