Email Activity (beta) MCP Server
The Beta endpoints for the new Email Activity APIs - functionality is subject to change without notice. You may not have access to this Beta endpoint. Email Activity offers filtering and search by event type for two days worth of data. There is an optional add-on to store 60 days worth of data. Thi
Quick Setup
Transport: STDIO
Command: npx -y @mcp/sendgrid-com
Environment Variables
EMAIL_ACTIVITY__BETA__API_KEYExample: your_email_activity__beta__api_key
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"sendgrid-com": {
"command": "npx",
"args": ["-y","@mcp/sendgrid-com"],
"env": {
"EMAIL_ACTIVITY__BETA__API_KEY": "your_email_activity__beta__api_key"
}
}
}
}Endpoints
/access_settings/activityRetrieve all recent access attempts
/access_settings/whitelistRetrieve a list of currently allowed IPs
/access_settings/whitelistAdd one or more IPs to the allow list
/access_settings/whitelistRemove one or more IPs from the allow list
/access_settings/whitelist/{rule_id}Retrieve a specific allowed IP
/access_settings/whitelist/{rule_id}Remove a specific IP from the allowed list
/alertsRetrieve all alerts
/alertsCreate a new Alert
/alerts/{alert_id}Retrieve a specific alert
/alerts/{alert_id}Delete an alert