SendGrid Secure for VS Code
io.github.choppaaahh/sendgrid-mcp-secure
Security-first SendGrid MCP server: dry-run default, recipient allowlists, rate caps, audit log.
client:VS Code
transport:stdio
runtime:pypi
Install SendGrid Secure in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "sendgrid-api-key",
"description": "SENDGRID_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "sendgrid-mcp-mode",
"description": "SENDGRID_MCP_MODE",
"password": true
},
{
"type": "promptString",
"id": "sendgrid-mcp-recipient-allowlist",
"description": "SENDGRID_MCP_RECIPIENT_ALLOWLIST",
"password": true
},
{
"type": "promptString",
"id": "sendgrid-mcp-writes-per-hour",
"description": "SENDGRID_MCP_WRITES_PER_HOUR",
"password": true
},
{
"type": "promptString",
"id": "sendgrid-mcp-max-recipients",
"description": "SENDGRID_MCP_MAX_RECIPIENTS",
"password": true
},
{
"type": "promptString",
"id": "sendgrid-mcp-audit-log",
"description": "SENDGRID_MCP_AUDIT_LOG",
"password": true
},
{
"type": "promptString",
"id": "sendgrid-mcp-allow-bcc",
"description": "SENDGRID_MCP_ALLOW_BCC",
"password": true
}
],
"servers": {
"sendgrid-mcp-secure": {
"type": "stdio",
"command": "uvx",
"args": [
"sendgrid-mcp-secure"
],
"env": {
"SENDGRID_API_KEY": "${input:sendgrid-api-key}",
"SENDGRID_MCP_MODE": "${input:sendgrid-mcp-mode}",
"SENDGRID_MCP_RECIPIENT_ALLOWLIST": "${input:sendgrid-mcp-recipient-allowlist}",
"SENDGRID_MCP_WRITES_PER_HOUR": "${input:sendgrid-mcp-writes-per-hour}",
"SENDGRID_MCP_MAX_RECIPIENTS": "${input:sendgrid-mcp-max-recipients}",
"SENDGRID_MCP_AUDIT_LOG": "${input:sendgrid-mcp-audit-log}",
"SENDGRID_MCP_ALLOW_BCC": "${input:sendgrid-mcp-allow-bcc}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs