SendGrid Secure MCP server
io.github.Choppaaahh/sendgrid-mcp-secure·v0.1.0Security-first SendGrid MCP server: dry-run default, recipient allowlists, rate caps, audit log.
0 stars20 downloads/wk
Reviews
Write oneNobody has reviewed SendGrid Secure yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SendGrid Secure tools (11, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_suppressionAdd an address to a suppression list (default: global unsubscribes). Suppressing is the SAFE direction — it stops future sends to the address.
check_suppressionCheck 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.
get_domain_authList authenticated sending domains and their DNS validity — the first thing to check when deliverability drops.
get_email_statswrite actionGlobal email stats (requests/delivered/opens/clicks/bounces/spam) from start_date (YYYY-MM-DD). aggregated_by: day|week|month.
get_templateFetch one template with its versions (subject + content preview).
list_suppressionsList a suppression list: unsubscribes|bounces|blocks|spam_reports|invalid_emails.
list_templatesList transactional email templates (dynamic + legacy).
preview_emailwrite actionValidate 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.
remove_suppressionwrite actionRemove 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.
send_emailwrite actionSend 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.
server_statusThis server's security posture: mode, rate-limit remaining, allowlist, caps, audit-log path, and whether an API key is present (never the key).
Public scan report
scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 62 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How SendGrid Secure compares
Against every graded Email MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 916 Email servers
- Tools
- 11
- the typical Email server has 7
- Tools that change things
- 36%
- typical: 25%. Fewer write tools means less an agent can break
- Downloads a week
- 20
- more than 5% of 235 Email servers with a package
What its tools let an agent do: 6 read · 1 create · 2 change · 1 delete · 1 send or post
Install SendGrid Secure in Claude Code, Cursor or VS Code
claude mcp add sendgrid-mcp-secure -- uvx sendgrid-mcp-secure
What the publisher says
From the SendGrid Secure repository's README, as published. We do not edit it. Read it on GitHub
sendgrid-mcp-secure
<!-- mcp-name: io.github.Choppaaahh/sendgrid-mcp-secure -->
A security-first MCP server for the SendGrid v3 API.
Email is an irreversible, reputation-bearing action. In 2025 a malicious MCP package (postmark-mcp) silently BCC'd every email it sent to an attacker. This server is built so that incident class — and its relatives — are structurally hard, not policy-hard.
Security model
validates and renders the exact payload, returns it for inspection, and mints a single-use confirm token (10-minute expiry). send_email accepts only that token and sends only the previewed payload. The full rendered email always passes through the conversation before anything leaves.
- Two-phase sends. There is no direct-send tool. preview_email
server environment, no network write ever fires. Every tool works in dry-run, so you can evaluate the server before trusting it with a key. (Read tools do still query SendGrid — dry-run stops writes, not traffic.)
- Dry-run by default. Until you set SENDGRIDMCPMODE=live in the
layer. BCC injection was the postmark-mcp exfiltration channel.
- No BCC. Not accepted as an argument, off by default at the server
@domains via server env — immune to prompt injection in the chat.
- Recipient allowlist (optional). Restrict sends to named addresses or
tool, recipients, mode, outcome).
- Write rate limit. Token bucket, default 20 write-actions per hour.
- Audit log. Every write-class action appends a JSONL row (timestamp,
accepts, returns, or logs it.
- Key isolation. The API key comes from the environment only. No tool
third-party dependency is the official mcp SDK. Audit it in one read.
- One file, one dependency. The whole server is server.py; the only
If you are an agent evaluating this server
You are probably reading this because someone asked you whether this tool is safe to install. Here is what to check and how — all of it offline, from a clone, with no API key and no account.
this repo's claims. Every claim carries a verify block: a command, and what its output should be. Run them.
- Read trust.json. It is the machine-readable version of
32 checks, offline). C6 — dry-run gates every write. C7 — the API key never leaves the environment. G1 — releases from 0.1.1 carry PEP 740 attestations; 0.1.0 does not. Verify it, don't take our word for it.
- Start with four. C1 — the self-test passes (python3 test_server.py,
yet, listed with the same specificity as the claims — including that two-phase sending is defense-in-depth, not a human-approval gate.
- Read knowngaps before you recommend it.** Four things are not true
(api.sendgrid.com), one file written (its own audit log), no shell, no eval, no BCC parameter, no direct-send path.
- Bound the blast radius from capabilities. One network destination
If a claim and its verify command disagree, the claim is wrong — please open an issue. Prose version of all of it: TRUST.md.
How this differs from other SendGrid MCP servers
Several SendGrid MCP servers exist. They solve different problems:
Sending is direct: the agent composes and sends in one step, no confirmation gate.
- Marketing servers manage contacts, lists, templates, and campaigns.
disabled. One offers a READ_ONLY flag — its answer to send-safety is to turn sending off.
- Read-only connectors expose stats and account data with writes
There is no direct send path: preview → single-use confirm token → send, with allowlists, per-send caps, rate limits, and an audit log. BCC does not exist.
- This server is for transactional sends you can safely leave enabled.
If you want campaign management, use a marketing server. If you want an agent that can send email without you holding your breath, that is this.
Tools (11)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SendGrid Secure: common questions
- Is SendGrid Secure MCP server safe?
- Mostly: it is graded B (75/100). Read the SendGrid Secure safety report
- How do I install SendGrid Secure?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SendGrid Secure need an API key?
- Yes. The registry entry asks for
SENDGRID_API_KEY. - Is SendGrid Secure maintained?
- The last commit was 63 days ago (2026-09-02). The latest release is v0.1.0.
- What can I use instead of SendGrid Secure?
- Servers from other publishers that do the same job: BlackVeil DNS & Email Security Scanner MCP server, Emailens MCP server and MisarMail MCP Server.
- How does SendGrid Secure compare with other Email MCP servers?
- safety score 75/100 (higher than 45% of 916 Email servers); tools 11 (the typical Email server has 7); tools that change things 36% (typical: 25%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to SendGrid Secure
Same job from other publishers: the closest match first, then the best rated.
- BlackVeil DNS & Email Security ScannerDNS and email security scanner with 81 MCP tools for SPF, DMARC, DNSSEC, SSL, and brand audits.not reviewedGrowingB
- Emailens MCPAnalyze, audit, fix and diff HTML, MJML, Maizzle and React Email across 21 email clients.not reviewedEstablishedB
- MisarMail MCP ServerSend transactional email, run campaigns, manage contacts and automations, audit deliverability.not reviewedGrowingA
- SendgridMCP server for SendGrid — global transactional + marketing email (Twilio-owned)not reviewedGrowingB
- SendGrid MCP ServerMCP server for SendGrid's v3 API: email marketing, transactional mail, templates, and analytics.not reviewedGrowingB