Skip to content
CommunicationClaude Desktop Guide

Email Activity (beta) Claude Desktop Integration

This guide explains how to configure Claude Desktop (Mac and Windows) to use the Email Activity (beta) API through the Model Context Protocol (MCP). The integration exposes 10 API endpointsas callable tools inside Claude's chat interface, including Retrieve all recent access attempts, Retrieve a list of currently allowed IPs, Add one or more IPs to the allow list, and more. No API keys or credentials are needed — setup takes approximately 30 seconds. The server runs locally via npx and communicates over STDIO transport. Paste the JSON configuration below into your claude_desktop_config.json file to get started.

Integration Specs

ClientClaude Desktop
Runtimenpx
AuthenticationNone
Setup Time~30 sec

Setup Instructions

1

Open Claude Settings

Launch Claude Desktop, open Settings (click your profile) → Developer → click 'Edit Config'.

2

Locate configuration file

This opens your local 'claude_desktop_config.json' file in your system editor.

3

Insert Server Config JSON

Paste the JSON configuration schema block (provided below) into the 'mcpServers' object.

4

Add authentication credentials

No credentials needed; leave the 'env' mapping empty.

5

Restart Claude app

Save the config file and restart Claude Desktop to load your new tools.

Configuration JSON

claude_desktop_config.json

Copy and paste this config snippet inside your local configuration file.

{
  "mcpServers": {
    "sendgrid-com": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp/sendgrid-com"
      ],
      "env": {
        "EMAIL_ACTIVITY__BETA__API_KEY": "your_email_activity__beta__api_key"
      }
    }
  }
}

Required Environment Keys

Provide these variable keys in your local environment section:

EMAIL_ACTIVITY__BETA__API_KEY

Replace your_email_activity__beta__api_key with your secret key credentials.

Available Tools (10)

These endpoints are parsed from the OpenAPI schema and converted to Claude-compatible tools:

GET/access_settings/activity
Retrieve all recent access attempts
GET/access_settings/whitelist
Retrieve a list of currently allowed IPs
POST/access_settings/whitelist
Add one or more IPs to the allow list
DELETE/access_settings/whitelist
Remove one or more IPs from the allow list
GET/access_settings/whitelist/{rule_id}
Retrieve a specific allowed IP
DELETE/access_settings/whitelist/{rule_id}
Remove a specific IP from the allowed list
GET/alerts
Retrieve all alerts
POST/alerts
Create a new Alert
GET/alerts/{alert_id}
Retrieve a specific alert
DELETE/alerts/{alert_id}
Delete an alert