Labsco
Neschadin logo

SendGrid MCP

โ˜… 1

from Neschadin

Transactional SendGrid MCP: preflight send, templates, delivery diagnostics, account/console settings, optional Event Webhook receiver. Self-hosted binary, BYOK.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

SendGrid

SendGrid MCP Server

MCP server for Twilio SendGrid: transactional email with preflight checks, template management, delivery diagnostics, account/console settings, and optional local Event Webhook capture.

End users run a single compiled binary โ€” Bun is not required.

Contact/list marketing CRUD is intentionally out of scope.

This project is community-maintained and is not affiliated with, endorsed by, or sponsored by Twilio SendGrid.

Features

  • Safe send โ€” validate_send_request, send_with_preflight, sandbox mode
  • Templates โ€” list/create/update/activate dynamic templates
  • Diagnostics โ€” Email Activity, suppressions, stats, error classification, delivery triage
  • Webhooks โ€” Event Webhook config in SendGrid + optional local receiver (ngrok-friendly)
  • Account & console โ€” verified senders, domain auth, mail/tracking settings, alerts, inbound parse

Full tool catalog: MCP_TOOLS.md

Safety

  • Send tools can enqueue real email. Prefer send_with_preflight in automation.
  • Mutating console tools require confirmToken: "CONFIRM" (alerts, mail/tracking settings, verified senders, domains, webhooks).
  • Email Activity (/v3/messages) may require the Email Activity add-on.

Development (maintainers only)

Bun is only needed to build from source, not to run the release binary.

git clone https://github.com/Neschadin/sendgrid-mcp.git
cd sendgrid-mcp
bun install
bun run dev          # stdio MCP from TypeScript
bun run build        # compile โ†’ bin/sendgrid (local platform)
./scripts/build-release.sh   # all release targets โ†’ dist/
bun run lint
bun run typecheck
bun run smoke

MCP Inspector

SENDGRID_API_KEY=SG.xxx SENDGRID_FROM_EMAIL=you@domain.com bun run inspect

Docs