原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SendGrid Transactional

作者:Neschadin版本 3.0.3i★ –i在你的电脑上运行
注册名称io.github.Neschadin/sendgrid-mcp

安装

概览

作者提供的说明(英文原文)

SendGrid transactional email: preflight send, templates, and delivery diagnostics.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 聊天与邮件
  • 你需要填写:SENDGRID_API_KEY, SENDGRID_FROM_EMAIL

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SENDGRID_API_KEY, SENDGRID_FROM_EMAIL, SENDGRID_FROM_NAME, SENDGRID_REGION, READ_ONLY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "sendgrid": {
      "command": "npx",
      "args": [
        "-y",
        "@neschadin/sendgrid-mcp"
      ],
      "env": {
        "SENDGRID_API_KEY": "your-value",
        "SENDGRID_FROM_EMAIL": "your-value",
        "SENDGRID_FROM_NAME": "your-value",
        "SENDGRID_REGION": "your-value",
        "READ_ONLY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add sendgrid --env SENDGRID_API_KEY=your-value --env SENDGRID_FROM_EMAIL=your-value --env SENDGRID_FROM_NAME=your-value --env SENDGRID_REGION=your-value --env READ_ONLY=your-value -- npx -y @neschadin/sendgrid-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "sendgrid": {
      "command": "npx",
      "args": [
        "-y",
        "@neschadin/sendgrid-mcp"
      ],
      "env": {
        "SENDGRID_API_KEY": "your-value",
        "SENDGRID_FROM_EMAIL": "your-value",
        "SENDGRID_FROM_NAME": "your-value",
        "SENDGRID_REGION": "your-value",
        "READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "sendgrid": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@neschadin/sendgrid-mcp"
      ],
      "env": {
        "SENDGRID_API_KEY": "your-value",
        "SENDGRID_FROM_EMAIL": "your-value",
        "SENDGRID_FROM_NAME": "your-value",
        "SENDGRID_REGION": "your-value",
        "READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SENDGRID_API_KEY 机密 必填 env
    SendGrid API key (SG....)
  • SENDGRID_FROM_EMAIL 必填 env
    Default From address. Must be a verified sender.
  • SENDGRID_FROM_NAME env
    Default From display name
  • SENDGRID_REGION env
    global (default) or eu
  • READ_ONLY env
    When true, send and mutating tools return an error before any SendGrid request

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Neschadin 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“聊天与邮件”中的其他服务器比较i

  • 星标数多于此分类中其他 1778 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1778 个服务器的 51% 更新
  • 基础检查结果等于或优于此分类中其他 1778 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

SendGrid Transactional 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SENDGRID_API_KEY, SENDGRID_FROM_EMAIL

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(3.0.3)于26天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Vexa, emailmd, MCP WhatsApp Cloud

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Vexa

作者:Vexa-ai

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

在云端运行★ 2,949Apache-2.02个月前更新
安装

emailmd

作者:anypost

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

电脑或云端★ 1,385MIT31天前更新
安装

MCP WhatsApp Cloud

作者:codespar

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

在你的电脑上运行★ 277MIT5个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

SendGrid MCP Server

This server is for transactional send and delivery, not a map of the whole SendGrid API.

A thin SendGrid MCP treats POST /v3/mail/send as one call and spends the rest of its tools on contacts, lists, and campaigns. Those marketing APIs are out of scope here. The tools follow the checks SendGrid's own delivery troubleshooting expects:

  1. Before send. sendgrid_validate_send_request checks the /v3/mail/send payload, that the dynamic template version is active, sender identity (domain authentication or a verified sender), link branding, recipient suppressions including the ASM group on the send, the DMARC warn list (GET /v3/verified_senders/domains), and that send_at is in the future and inside 72 hours. sendgrid_send_with_preflight posts only when that report has no blockers. Sandbox mode accepts the payload and does not deliver.
  2. After accept. The x-message-id response header is not a msg_id. Pass it as xMessageId; search compiles msg_id LIKE ' %', then sendgrid_get_message_activity reads the event chain (reason, bounce_type, asm_group_id, outbound_ip). Email Activity has no real offset. If Activity returns 403/404, or the region is eu and Activity is empty, use Email Logs (POST /v3/logs) with to_email equality. Logs rejects msg_id, from_email, and LIKE.
  3. When it did not arrive. sendgrid_check_suppression and sendgrid_triage_delivery_issue cover bounce, block, spam, invalid, global unsubscribe, and ASM groups. sendgrid_delete_suppression lifts one entry. sendgrid_classify_sendgrid_error and sendgrid_get_scopes explain a 403. Paused or canceled scheduled batches are listed; a batch that was only given send_at is not in that list until you pause or cancel it.
  4. The pipe around the send. Dynamic templates (including bulk rename and pruning inactive versions), Event Webhook create/update/test plus an optional local receiver, and the console settings that change delivery: domains, link branding, enforced TLS, mail and tracking settings, alerts, inbound parse.

Install: bunx --no-env-file x @neschadin/sendgrid-mcp.

Full catalog and runbooks: MCP_TOOLS.md.

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

Requirements

  • Bun ≥ 1.4.3
  • A SendGrid API key with scopes for the tools you call. Keys normally start with SG.; any other prefix only logs a warning
  • A verified sender address in SENDGRID_FROM_EMAIL
  • An MCP client (Cursor, Claude Desktop, VS Code, etc.)

One process, one API key. Do not share a hosted instance across tenants.

Configuration

Required
VariableDescription
SENDGRID_API_KEYSendGrid API key
SENDGRID_FROM_EMAILDefault From address (verified sender)
SendGrid
VariableDefaultDescription
SENDGRID_FROM_NAMESendGrid MCPDefault From display name
SENDGRID_REGIONglobalglobal or eu (case-insensitive). eu uses https://api.eu.sendgrid.com/v3 and falls back to Email Logs when Activity is empty
SENDGRID_API_BASE_URLfrom regionOverride the API host. https:// or http://
SENDGRID_ON_BEHALF_OF—Default on-behalf-of header: a subuser username, or account-id
READ_ONLYfalsetrue blocks send and mutating tools before any request
SENDGRID_MCP_LOG_LEVELinfodebug, info, warn, or error

Every tool also accepts onBehalfOf. The value "parent" skips SENDGRID_ON_BEHALF_OF for that call. List subusers with sendgrid_list_subusers (the parent key needs that scope; this key may 403).

Handshake instructions repeat the region, API base, from address, and the workflow above. A tool call with more than 10000 combined array elements and object members is rejected. Results replace oauth_client_secret and api_key values with a length marker.

Remote HTTP

Leave MCP_TRANSPORT unset for stdio. Set MCP_TRANSPORT=http to serve Streamable HTTP on /mcp (/health is unauthenticated).

VariableDefaultDescription
MCP_HTTP_HOST127.0.0.1Bind address
MCP_HTTP_PORT3000Port
MCP_AUTH_MODEtokentoken or none. none is refused when the bind address is not loopback
MCP_AUTH_TOKEN—Bearer token. Required for token mode
MCP_ALLOWED_HOSTSloopback namesComma-separated Host allowlist. Required off loopback
MCP_ALLOWED_ORIGINSloopback namesComma-separated Origin allowlist. A missing Origin is allowed
MCP_TLS_KEY_FILE—TLS key. Set together with MCP_TLS_CERT_FILE
MCP_TLS_CERT_FILE—TLS certificate
MCP_TRUST_PROXYfalseAllow plaintext HTTP off loopback only behind your own TLS proxy
Local Event Webhook receiver

Off until SENDGRID_EVENT_WEBHOOK_PORT is set. The buffer is in-memory (default 5000 events) and is dropped when the process exits.

VariableDefault
SENDGRID_EVENT_WEBHOOK_HOST0.0.0.0
SENDGRID_EVENT_WEBHOOK_PATH/sendgrid/events
SENDGRID_EVENT_WEBHOOK_HEALTH_PATH/sendgrid/events/health
SENDGRID_EVENT_WEBHOOK_MAX_EVENTS5000
SENDGRID_EVENT_WEBHOOK_VERBOSEfalse
SENDGRID_EVENT_WEBHOOK_REQUIRE_SIGNATUREfalse
SENDGRID_EVENT_WEBHOOK_PUBLIC_KEYrequired when signature is required

Point the SendGrid Event Webhook URL at the tunnel, for example https:// /sendgrid/events. Read what arrived with sendgrid_get_received_webhook_events and sendgrid_get_webhook_receiver_status. Create or test the SendGrid-side webhook with sendgrid_manage_event_webhook.

MCP client setup

Cursor

mcp.json.example. --no-env-file stops Bun from also reading a .env in the client cwd. In ~/.cursor/mcp.json, envFile must be an absolute path.

{

"mcpServers": { "sendgrid": { "command": "bunx", "args": ["--no-env-file", "x", "@neschadin/sendgrid-mcp"], "envFile": "${workspaceFolder}/.env" } } }

Remote HTTP, after the server process is started with MCP_TRANSPORT=http:

{

"mcpServers": { "sendgrid": { "url": "https://mcp.example.com/mcp", "headers": { "Authorization": "Bearer " } } } }

Claude Desktop

No envFile. The desktop cwd is not your repo, so pass an absolute --env-file:

{

"mcpServers": { "sendgrid": { "command": "bunx", "args": [ "--no-env-file", "--env-file=/absolute/path/.env", "x", "@neschadin/sendgrid-mcp" ] } } }

Restart the client after changing MCP config.

Safety

  • Send tools can enqueue real mail. They do not ask for confirmToken. Use sendgrid_send_with_preflight, or set READ_ONLY=true.
  • Tools that change SendGrid (templates, suppressions, webhooks, domains, settings, scheduled-send pause/cancel) require confirmToken "CONFIRM".
  • READ_ONLY=true blocks both sends and those mutations before the HTTP call.
  • Email Activity (/v3/messages) may require the Email Activity add-on.

Development

A git tag vX.Y.Z must match version in package.json and both version fields in server.json. That tag runs tests, opens the GitHub Release, publishes @neschadin/sendgrid-mcp to npm, then publishes io.github.Neschadin/sendgrid-mcp to the MCP registry. The release has no binary assets. A prerelease tag (vX.Y.Z-...) publishes to npm with the next dist-tag, skips the MCP registry, and is marked prerelease on GitHub.

git clone https://github.com/Neschadin/sendgrid-mcp.git

cd sendgrid-mcp bun install bun run dev # stdio MCP; loads .env bun run lint bun run typecheck bun run smoke bun test

bun run inspect

Docs

License

MIT — see LICENSE.

问 PopNx