Skip to content
MCP server

SendGrid Secure

Security-first SendGrid MCP server: dry-run default, recipient allowlists, rate caps…

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
0.1.0
Listing updated
3 months ago

About SendGrid Secure

SendGrid Secure is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Security-first SendGrid MCP server: dry-run default, recipient allowlists, rate caps, audit log.

Install

Run in a terminal

claude mcp add sendgrid-mcp-secure --env SENDGRID_API_KEY='<SENDGRID_API_KEY>' -- uvx sendgrid-mcp-secure

Add to claude_desktop_config.json

{
  "mcpServers": {
    "sendgrid-mcp-secure": {
      "command": "uvx",
      "args": [
        "sendgrid-mcp-secure"
      ],
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "sendgrid-mcp-secure": {
      "command": "uvx",
      "args": [
        "sendgrid-mcp-secure"
      ],
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "sendgrid-mcp-secure": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sendgrid-mcp-secure"
      ],
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sendgrid-mcp-secure": {
      "command": "uvx",
      "args": [
        "sendgrid-mcp-secure"
      ],
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "sendgrid-mcp-secure": {
      "command": "uvx",
      "args": [
        "sendgrid-mcp-secure"
      ],
      "env": {
        "SENDGRID_API_KEY": "<SENDGRID_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SENDGRID_API_KEYSendGrid API key (use a restricted key with Mail Send scope only)Required
  • SENDGRID_MCP_MODEdry-run (default) or live
  • SENDGRID_MCP_RECIPIENT_ALLOWLISTComma-separated recipient addresses/domains allowed to receive mail
  • SENDGRID_MCP_WRITES_PER_HOURHourly cap on write operations (sends)
  • SENDGRID_MCP_MAX_RECIPIENTSMax recipients per send
  • SENDGRID_MCP_AUDIT_LOGPath to the append-only audit log
  • SENDGRID_MCP_ALLOW_BCCBCC stays disabled unless explicitly enabled

Pricing

Open source

SendGrid Secure FAQ

Is SendGrid Secure free?

Yes. SendGrid Secure is open source, so you can use and self-host it for free.

How do I add SendGrid Secure to Claude Code?

Run this command in your terminal: claude mcp add sendgrid-mcp-secure --env SENDGRID_API_KEY='<SENDGRID_API_KEY>' -- uvx sendgrid-mcp-secure

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers