SendGrid MCP Server

v1.4.0
io.github.deyikong/sendgrid-mcp Checked 48 minutes ago Published 2 months ago

MCP server for SendGrid's v3 API: email marketing, transactional mail, templates, and analytics.

Values you need

VariableWhat it is
SENDGRID_API_KEYrequired secret Your SendGrid API key (must start with 'SG.').
READ_ONLYoptional When true (the default), blocks all write/delete operations at runtime while keeping every tool registered and visible. Default: true

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add sendgrid-mcp -e 'SENDGRID_API_KEY=<SENDGRID_API_KEY>' -- npx -y sendgrid-mcp@1.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "sendgrid-mcp": {
      "args": [
        "-y",
        "sendgrid-mcp@1.4.0"
      ],
      "command": "npx",
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "sendgrid-mcp": {
      "args": [
        "-y",
        "sendgrid-mcp@1.4.0"
      ],
      "command": "npx",
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SENDGRID_API_KEY",
      "id": "sendgrid-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "sendgrid-mcp": {
      "args": [
        "-y",
        "sendgrid-mcp@1.4.0"
      ],
      "command": "npx",
      "env": {
        "SENDGRID_API_KEY": "${input:sendgrid-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.sendgrid-mcp]
command = "npx"
args = ["-y", "sendgrid-mcp@1.4.0"]
env = { "SENDGRID_API_KEY" = "<SENDGRID_API_KEY>" }

For AI agents

  1. Ask the user for: SENDGRID_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json