SendGrid Secure MCP
A security-first MCP server for the SendGrid v3 API that implements dry-run defaults, recipient allowlists, rate caps, and audit logging to prevent malicious email actions like silent BCC injection.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Preview email payloads before sending
- Send emails with recipient allowlists
- Audit email sending actions
- Prevent silent BCC injection
Source and maintenance
Community listingRegistry 0.1.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
sendgrid-mcp-secure 0.1.0
pypi
sendgrid-mcp-secure package definition
{
"version": "0.1.0",
"transport": "stdio",
"identifier": "sendgrid-mcp-secure",
"registryType": "pypi",
"environmentVariables": [
{
"name": "SENDGRID_API_KEY",
"format": "string",
"isRequired": true,
"description": "SendGrid API key (use a restricted key with Mail Send scope only)"
},
{
"name": "SENDGRID_MCP_MODE",
"format": "string",
"description": "dry-run (default) or live"
},
{
"name": "SENDGRID_MCP_RECIPIENT_ALLOWLIST",
"format": "string",
"description": "Comma-separated recipient addresses/domains allowed to receive mail"
},
{
"name": "SENDGRID_MCP_WRITES_PER_HOUR",
"format": "number",
"description": "Hourly cap on write operations (sends)"
},
{
"name": "SENDGRID_MCP_MAX_RECIPIENTS",
"format": "number",
"description": "Max recipients per send"
},
{
"name": "SENDGRID_MCP_AUDIT_LOG",
"format": "string",
"description": "Path to the append-only audit log"
},
{
"name": "SENDGRID_MCP_ALLOW_BCC",
"format": "boolean",
"description": "BCC stays disabled unless explicitly enabled"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"sendgrid-secure-mcp": {
"command": "uvx",
"args": [
"sendgrid-mcp-secure==0.1.0"
],
"env": {
"SENDGRID_API_KEY": "<YOUR_SENDGRID_API_KEY>",
"SENDGRID_MCP_MODE": "<YOUR_SENDGRID_MCP_MODE>",
"SENDGRID_MCP_RECIPIENT_ALLOWLIST": "<YOUR_SENDGRID_MCP_RECIPIENT_ALLOWLIST>",
"SENDGRID_MCP_WRITES_PER_HOUR": "<YOUR_SENDGRID_MCP_WRITES_PER_HOUR>",
"SENDGRID_MCP_MAX_RECIPIENTS": "<YOUR_SENDGRID_MCP_MAX_RECIPIENTS>",
"SENDGRID_MCP_AUDIT_LOG": "<YOUR_SENDGRID_MCP_AUDIT_LOG>",
"SENDGRID_MCP_ALLOW_BCC": "<YOUR_SENDGRID_MCP_ALLOW_BCC>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"sendgrid-secure-mcp": {
"command": "uvx",
"args": [
"sendgrid-mcp-secure==0.1.0"
],
"env": {
"SENDGRID_API_KEY": "<YOUR_SENDGRID_API_KEY>",
"SENDGRID_MCP_MODE": "<YOUR_SENDGRID_MCP_MODE>",
"SENDGRID_MCP_RECIPIENT_ALLOWLIST": "<YOUR_SENDGRID_MCP_RECIPIENT_ALLOWLIST>",
"SENDGRID_MCP_WRITES_PER_HOUR": "<YOUR_SENDGRID_MCP_WRITES_PER_HOUR>",
"SENDGRID_MCP_MAX_RECIPIENTS": "<YOUR_SENDGRID_MCP_MAX_RECIPIENTS>",
"SENDGRID_MCP_AUDIT_LOG": "<YOUR_SENDGRID_MCP_AUDIT_LOG>",
"SENDGRID_MCP_ALLOW_BCC": "<YOUR_SENDGRID_MCP_ALLOW_BCC>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"sendgrid-secure-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"sendgrid-mcp-secure==0.1.0"
],
"env": {
"SENDGRID_API_KEY": "<YOUR_SENDGRID_API_KEY>",
"SENDGRID_MCP_MODE": "<YOUR_SENDGRID_MCP_MODE>",
"SENDGRID_MCP_RECIPIENT_ALLOWLIST": "<YOUR_SENDGRID_MCP_RECIPIENT_ALLOWLIST>",
"SENDGRID_MCP_WRITES_PER_HOUR": "<YOUR_SENDGRID_MCP_WRITES_PER_HOUR>",
"SENDGRID_MCP_MAX_RECIPIENTS": "<YOUR_SENDGRID_MCP_MAX_RECIPIENTS>",
"SENDGRID_MCP_AUDIT_LOG": "<YOUR_SENDGRID_MCP_AUDIT_LOG>",
"SENDGRID_MCP_ALLOW_BCC": "<YOUR_SENDGRID_MCP_ALLOW_BCC>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"sendgrid-secure-mcp": {
"command": "uvx",
"args": [
"sendgrid-mcp-secure==0.1.0"
],
"env": {
"SENDGRID_API_KEY": "<YOUR_SENDGRID_API_KEY>",
"SENDGRID_MCP_MODE": "<YOUR_SENDGRID_MCP_MODE>",
"SENDGRID_MCP_RECIPIENT_ALLOWLIST": "<YOUR_SENDGRID_MCP_RECIPIENT_ALLOWLIST>",
"SENDGRID_MCP_WRITES_PER_HOUR": "<YOUR_SENDGRID_MCP_WRITES_PER_HOUR>",
"SENDGRID_MCP_MAX_RECIPIENTS": "<YOUR_SENDGRID_MCP_MAX_RECIPIENTS>",
"SENDGRID_MCP_AUDIT_LOG": "<YOUR_SENDGRID_MCP_AUDIT_LOG>",
"SENDGRID_MCP_ALLOW_BCC": "<YOUR_SENDGRID_MCP_ALLOW_BCC>"
}
}
}
}Let your agent find its tools
Find servers like SendGrid Secure MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.