Skip to main content
Glama

SendGrid MCP Server

by deyikong

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level (debug, info, warn, error)info
READ_ONLYNoEnable read-only mode (true/false)true
MCP_SERVER_NAMENoServer name for identificationsendgrid-mcp
REQUEST_TIMEOUTNoAPI request timeout in milliseconds30000
SENDGRID_API_KEYYesYour SendGrid API key (starts with SG.)
MCP_SERVER_VERSIONNoServer version1.0.0

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
sendgrid_automation_helpGet help with SendGrid marketing automations
sendgrid_campaign_helpGet help with SendGrid single send campaigns
sendgrid_contacts_helpGet help with managing SendGrid contacts and lists
sendgrid_suppressions_helpGet help with managing SendGrid suppression lists
sendgrid_settings_helpGet help with SendGrid account settings and configuration
sendgrid_mail_send_helpGet help with sending emails through SendGrid
sendgrid_list_management_helpGet help with managing SendGrid email lists
sendgrid_contact_crud_helpGet help with creating, reading, updating, and deleting contacts
sendgrid_sender_management_helpGet help with managing SendGrid sender identities
sendgrid_custom_fields_helpGet help with managing SendGrid custom field definitions
sendgrid_update_list_helpGet help with updating, renaming, or modifying SendGrid email lists
sendgrid_segment_management_helpGet help with managing SendGrid segments - creating, updating, and deleting dynamic contact segments
sendgrid_stats_helpGet help with analyzing SendGrid email performance and statistics across multiple dimensions
sendgrid_templates_helpGet help with creating, managing, and using SendGrid dynamic email templates with HTML content and Handlebars

Resources

Contextual data attached and managed by the client

NameDescription
Marketing AutomationsList and manage SendGrid marketing automations
Single SendsList and manage SendGrid single send campaigns
Email ListsManage email lists and segments
ContactsManage marketing contacts
SuppressionsView suppression lists (bounces, spam reports, unsubscribes)
Account SettingsAccount profile and settings information
Email StatisticsGlobal email statistics and performance metrics
Email Statistics by BrowserEmail performance metrics broken down by browser type
Email Statistics by Device TypeEmail performance metrics broken down by device type (desktop, mobile, tablet)
Email Statistics by GeographyEmail performance metrics broken down by country and region
Email Statistics by Mailbox ProviderEmail performance metrics broken down by mailbox provider (Gmail, Outlook, Yahoo, etc.)

Tools

Functions exposed to the LLM to take actions

NameDescription
list_automations

List all marketing automations

open_automation_creator

Open SendGrid automation creator in browser

open_automation_editor

Open automation editor for a specific automation

list_single_sends

List all single send campaigns

open_single_send_creator

Open SendGrid single send creator in browser

open_single_send_stats

Open single send stats page for a specific campaign

list_email_lists

List all email lists

create_email_list

Create a new email list in your SendGrid account

update_email_list

Update the properties of an existing email list

delete_email_list

Delete an existing email list from your SendGrid account

list_segments

List all segments with their parent list relationships

open_segment_creator

Open SendGrid segment creator in browser

create_contact

Create new contacts in your SendGrid account

create_contact_with_lists

Create new contacts and assign them to specific email lists

open_csv_uploader

Open SendGrid CSV contact upload page in browser

list_custom_fields

List all custom fields

create_custom_field

Create a new custom field for contacts

update_custom_field

Update an existing custom field definition

delete_custom_field

Delete a custom field definition

list_senders

List all verified senders

create_sender

Create a new sender identity

delete_contact

Delete contacts by IDs

remove_contact_from_lists

Remove contacts from a specific email list

get_contact

Get detailed information about a specific contact by ID

update_contact

Update existing contact information

search_contacts

Search for contacts using query conditions without creating a segment

search_contacts_by_emails

Search for specific contacts by their email addresses

list_contacts

List all contacts with optional pagination

delete_sender

Delete a verified sender identity

update_segment

Update an existing segment's name or query criteria

delete_segment

Delete an existing segment

send_mail

Send an email using SendGrid Mail Send API

get_scopes

Get available permission scopes for API keys

get_global_stats

Retrieve global email statistics for your SendGrid account

get_stats_by_browser

Retrieve email statistics grouped by browser type

get_stats_by_client_type

Retrieve email statistics grouped by email client type

get_stats_by_device_type

Retrieve email statistics grouped by device type (desktop, mobile, tablet)

get_stats_by_country

Retrieve email statistics grouped by geographic location

get_stats_by_mailbox_provider

Retrieve email statistics grouped by mailbox provider (Gmail, Outlook, Yahoo, etc.)

get_category_stats

Retrieve email statistics for specific categories (available for previous 13 months only)

get_subuser_stats

Retrieve email statistics for specific subusers

get_stats_overview

Get a comprehensive overview of email statistics across multiple dimensions

list_templates

Retrieve all transactional templates (legacy and dynamic)

get_template

Retrieve details of a specific template including all versions

create_template

Create a new dynamic transactional template

update_template

Update the name of an existing template

delete_template

Delete a template and all its versions

create_template_version

Create a new version of a template with HTML content and settings

get_template_version

Retrieve details of a specific template version

update_template_version

Update the content and settings of a template version

delete_template_version

Delete a specific version of a template

create_html_template

Create a new template with HTML content in one step - perfect for AI-generated designs

open_template_editor

Open the SendGrid template editor in browser for visual editing

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deyikong/sendgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server