MCP Server
MCP
SendGrid Secure
Security-first SendGrid MCP server: dry-run default, recipient allowlists, rate caps, audit log.
Install
uvx sendgrid-mcp-secure
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "pypi",
"identifier": "sendgrid-mcp-secure",
"version": "0.1.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "SendGrid API key (use a restricted key with Mail Send scope only)",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "SENDGRID_API_KEY"
},
{
"description": "dry-run (default) or live",
"format": "string",
"name": "SENDGRID_MCP_MODE"
},
{
"description": "Comma-separated recipient addresses/domains allowed to receive mail",
"format": "string",
"name": "SENDGRID_MCP_RECIPIENT_ALLOWLIST"
},
{
"description": "Hourly cap on write operations (sends)",
"format": "number",
"name": "SENDGRID_MCP_WRITES_PER_HOUR"
},
{
"description": "Max recipients per send",
"format": "number",
"name": "SENDGRID_MCP_MAX_RECIPIENTS"
},
{
"description": "Path to the append-only audit log",
"format": "string",
"name": "SENDGRID_MCP_AUDIT_LOG"
},
{
"description": "BCC stays disabled unless explicitly enabled",
"format": "boolean",
"name": "SENDGRID_MCP_ALLOW_BCC"
}
]
}
]
}
mcp
model-context-protocol
pypi
By
Comments
Sign in to leave a comment