SendGrid MCP server for Claude, ChatGPT, Claude Code and Cursor
Access email activity, track deliverability, and monitor engagement events in SendGrid.
Examples of what your AI apps can do in SendGrid. You'll see the exact list of tools after you connect it.
add_an_ip_address_to_a_pool
ToolAdd an ip address to a pool with this endpoint. activation in sendgrid needed first. it takes up to 60 seconds. possible to add to multiple pools. retrieve ips via a specific endpoint.
retrieve_all_lists
Tool**this endpoint allows you to retrieve all of your recipient lists. if you don't have any lists, an empty array will be returned.**
activate_template_version
Tool**this endpoint allows you to activate a version of one of your templates.**
add_a_batch_of_ips_to_an_ip_pool
ToolThis operation appends a batch of ips to an ip pool. this operation requires all ip assignments to succeed. if any ip assignments fail, this endpoint will return an error.
add_an_ip_to_an_authenticated_domain
Tool**this endpoint allows you to add an ip address to an authenticated domain.**
add_a_single_recipient_to_a_list
Tool**this endpoint allows you to add a single recipient to a list.**
add_a_twilio_send_grid_ip_address
ToolThis operation adds a twilio sendgrid ip address to your account. you can also assign up to 100 subusers to the ip address at creation.
add_ips
Tool**this endpoint is for adding a(n) ip address(es) to your account.**
add_one_or_more_ips_to_the_allow_list
ToolThis endpoint adds allowed ip addresses to a list, which then assigns each ip an id for future removal; ids can be retrieved via a specific retrieval endpoint.
add_or_update_a_contact
ToolThe endpoint can handle 30k contacts or 6mb, reports queuing/errors, needs extra steps to confirm changes and retrieve ids. custom fields must pre-exist and exact identifiers are required for updates; email addresses are auto-lowered in case.
add_recipient_addresses_to_the_global_suppression_group
Tool**this endpoint allows you to add one or more email addresses to the global suppressions group.**
add_suppressions_to_a_suppression_group
Tool**this endpoint allows you to add email addresses to an unsubscribe group.** if you attempt to add suppressions to a group that has been deleted or does not exist, the suppressions will be added to the global suppressions list.
approve_access_request
Tool**this endpoint allows you to approve an access attempt.** **note:** only teammate admins may approve another teammate’s access request.
assign_a_batch_of_subusers_to_an_ip
ToolThis operation appends a batch of subusers to a specified ip address. this endpoint requires all subuser assignments to succeed. if a subuser assignment fails, this endpoint will return an error.
associate_a_branded_link_with_a_subuser
ToolParent accounts can create and validate branded links, then assign them to subusers through the api or twilio sendgrid app, enabling subusers to use the branded links for mail.
associate_an_authenticated_domain_with_a_given_user
ToolAssociate authenticated domains with subusers under a parent account to enable email sending using the parent's domain. authentication by the parent is required. multiple domains can be linked using the specified endpoint.
authenticate_a_domain
ToolThe endpoint enables domain authentication for users or subusers, offering two methods—'username' parameter for visibility and modification, or the association workflow for a fixed, non-editable domain assignment.
authenticate_an_account_with_single_sign_on
ToolAuthenticates and logs in a user to twilio sendgrid as a specific admin identity configured for sso by partner. any additional teammates or subusers will need to log in directly via app.sendgrid.com
bind_authenticated_domains_to_user
ToolThis endpoint enables linking up to five authenticated domains from a parent account to a subuser, giving them permission to send emails with the parent's domain. domains are prioritized when sending emails.
bulk_delete_single_sends
ToolThis api endpoint enables the deletion of multiple single sends by providing their ids. retrieve ids with a get request to `/marketing/singlensends`. deletions are irreversible.
cancel_or_pause_a_scheduled_send
ToolThis api endpoint allows users to cancel or pause a scheduled email by providing its `batch id`. to change or remove this status, specific endpoints must be used; exceeding limits or duplicating actions will trigger a `400` error.
completed_steps
ToolThis api endpoint checks if a sendgrid account has completed domain authentication (`domain verified`) and single sender verification (`sender verified`), returning boolean values for each.
create_a_batch_id
ToolCreate a new mail batch id to group email sends, allowing pause or cancel actions via the scheduled sends api.
create_a_branded_link
ToolCreate a new branded link by specifying the root domain, which must align with your from email, and an optional unique subdomain. subusers can request using the `on-behalf-of` header.
create_a_campaign
ToolThis endpoint enables campaign creation, requiring a subject, sender id, content (html and text suggested), and a list or segment id for sending or scheduling, but not for initial creation.
create_a_custom_field
Tool**this endpoint allows you to create a custom field.** **you can create up to 120 custom fields.**
create_a_list
Tool**this endpoint allows you to create a list for your recipients.**
create_an_account
ToolCreates a new account, with specified offering, under the organization.
create_a_new_alert
Tool**this endpoint allows you to create a new alert.**
create_a_new_event_webhook
ToolSet up an event webhook by providing a url, choosing events for post requests, and receive a unique id. after creation, you can add names, oauth, and signature verification.
create_a_new_suppression_group
Tool**this endpoint allows you to create a new suppression group.** to add an email address to the suppression group, [create a suppression](https://docs.sendgrid.com/api-reference/suppressions-suppressions/add-suppressions-to-a-suppression-group).
create_a_new_transactional_template_version
Tool**this endpoint allows you to create a new version of a template.**
create_an_ip_pool
ToolCreate an ip pool by activating an ip in sendgrid: log in, go to settings > ip addresses, edit selected ip, check to allow sending, and save.
create_an_ip_pool_with_a_name_and_ip_assignments
ToolCreating an ip pool associates specified ips with it. all ips must be successfully assigned, or creation fails with an error. a pool can have up to 100 ips.
create_an_sso_certificate
Tool**this endpoint allows you to create an sso certificate.**
create_an_sso_integration
Tool**this endpoint allows you to create an sso integration.**
create_an_sso_teammate
ToolCreate an sso teammate with email as username. assign roles using `is admin`, `scopes`, or `persona`. admins have full rights, personas have predefined permissions, and scopes are specific rights. teammates can manage subusers with potential limitations.
create_a_parse_setting
ToolCreate a new inbound parse setting with a twilio sendgrid authenticated `hostname` and a public `url` to receive parsed messages via http post. complete domain authentication and mx record setup as instructed in sendgrid documentation.
create_api_keys
ToolUse sendgrid app to create an initial api key; then manage others via api. json with 'name' required; 100 key limit. keys have unique ids, default 'full access' unless scopes specified. update scopes with 'update api keys' endpoint.
create_a_segment
ToolNew segment endpoint created: supports various operators for date, text, number, and email fields. values must be strings, can specify campaign for email actions. conditions combinable via "and"/"or".
create_a_sender
ToolThis api endpoint is for creating new senders, with a limit of 100. verification is mandatory, either automatic upon domain authentication or via a confirmation email sent to the sender's address.
create_a_sender_identity
Tool**this endpoint allows you to create a new sender identity.** you may create up to 100 unique sender identities.
create_a_transactional_template
Tool**this endpoint allows you to create a transactional template.**
create_custom_field_definition
ToolCreate unique case-insensitive custom fields with alphanumeric/underscore names starting with a letter/underscore. save the id for edits/deletes. limited to 500 fields of type date, text, or number. avoid starting with numbers to prevent campaign issues.
create_design
ToolCreate new designs via `/designs` by submitting html content. consider email client limitations and see the guide for best practices. convert html to editable modules in the design library, or use preferred tools/migrate existing designs.
create_integration
ToolThis endpoint creates an integration for email event forwarding. each integration has a maximum number of allowed integration instances per user. for example, users can create up to 10 segment integrations.
create_list
ToolThis endpoint enables the creation of a new contacts list, which can automate email sending when new contacts are added. a link to the new list is provided in ` metadata`.
create_segment
ToolSegment `name` has to be unique. a user can not create a new segment with an existing segment name.
create_single_send
ToolThe endpoint lets you create a single send draft without needing a template id; it now uses `email config`. a set `send at` doesn't schedule it; it must be done through another endpoint or ui.
create_subuser
Tool**this endpoint allows you to create a new subuser.**
create_verified_sender_request
ToolThis endpoint creates a new sender identity via `post`, sends a verification email to `from email`, and requires email verification. to resend, use `/resend/{id}`. for domain authentication, refer to the domain authentication api.
delete_a_batch_of_ips_from_an_ip_pool
ToolThis operation removes a batch of ips from an ip pool. all ips associated with the pool will be unassigned from the deleted pool. however, this operation does not remove the ips from your account.
delete_a_batch_of_subusers_from_an_ip
ToolThis operation removes a batch of subusers from a specified ip address.
delete_a_bounce
Tool**this endpoint allows you to remove an email address from your bounce list.**
delete_a_branded_link
ToolDelete a branded link using this endpoint; successful deletion returns a 204 status. record link details beforehand as they're not provided. subuser deletions are possible with their id in the header.
delete_a_campaign
Tool**this endpoint allows you to delete a specific campaign.**
delete_a_cancellation_or_pause_from_a_scheduled_send
Tool**this endpoint allows you to delete the cancellation/pause of a scheduled send.** scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
delete_a_contact_identifier
ToolThis endpoint asynchronously deletes an identifier (not the entire contact) from a contact, failing if it's their only one. allowed identifier types are email, phonenumberid, externalid, or anonymousid.
delete_a_custom_field
Tool**this endpoint allows you to delete a custom field by id.**
delete_a_global_suppression
ToolThis endpoint removes an email from suppressions, allowing future emails to be sent to it. use with consent or bypass filters for one-off emails.
delete_a_list
Tool**this endpoint allows you to delete a specific recipient list with the given id.**
delete_an_account
ToolTo delete an organization's account by id: it revokes api keys/sso, removes sendgrid resources like dedicated ips, and stops billing immediately. this action is irreversible.
delete_an_alert
Tool**this endpoint allows you to delete an alert.**
delete_an_authenticated_domain
Tool**this endpoint allows you to delete an authenticated domain.**
delete_an_ip_pool
Tool**this endpoint allows you to delete an ip pool.**
delete_an_sso_certificate
Tool**this endpoint allows you to delete an sso certificate.** you can retrieve a certificate's id from the response provided by the "get all sso integrations" endpoint.
delete_an_sso_integration
Tool**this endpoint allows you to delete an idp configuration by id.** you can retrieve the ids for your configurations from the response provided by the "get all sso integrations" endpoint.
delete_a_parse_setting
Tool**this endpoint allows you to delete a specific inbound parse setting by hostname.** you can retrieve all your inbound parse settings and their associated host names with the "retrieve all parse settings" endpoint.
delete_api_keys
Tool**this endpoint allows you to revoke an existing api key using an `api key id`** authentications using a revoked api key will fail after after some small propogation delay. if the api key id does not exist, a `404` status will be returned.
delete_a_recipient
Tool**this endpoint allows you to delete a single recipient with the given id from your contact database.** > use this to permanently delete your recipients from all of your contact lists and all segments if required by applicable law.
delete_a_reverse_dns_record
ToolThis endpoint deletes a reverse dns record, returning a 204 code on success. retrieve record ids using the "retrieve all reverse dns records" endpoint.
delete_a_segment
Tool**this endpoint allows you to delete a segment from your recipients database.** you also have the option to delete all the contacts from your marketing campaigns recipient database who were in this segment.
delete_a_sender
Tool**this endpoint allows you to delete an existing sender.**
delete_a_sender_identity
Tool**this endpoint allows you to delete one of your sender identities.**
delete_a_single_event_webhook_by_id
ToolDelete a specific event webhook by id with this endpoint. unlike other endpoints which default to the oldest webhook, this requires an id, else it errors to prevent accidental deletions. to disable, not delete, use `enabled` property to `false`.
delete_a_single_recipient_from_a_single_list
Tool**this endpoint allows you to delete a single recipient from a list.**
delete_a_specific_block
Tool**this endpoint allows you to delete a specific email address from your blocks list.**
delete_a_specific_invalid_email
Tool**this endpoint allows you to remove a specific email address from the invalid email address list.**
delete_a_specific_spam_report
ToolThis endpoint removes a spam report for an email, lifting suppression and allowing email to be sent to that address. use with caution and recipient consent, or use bypass filters for exceptions.
delete_a_subuser
Tool**this endpoint allows you to delete a subuser.** this is a permanent action. once deleted, a subuser cannot be retrieved.
delete_a_suppression_from_a_suppression_group
ToolThis endpoint removes an email from a suppression group, re-enabling email delivery unless specified otherwise, and should only be used when recipients opt back in.
delete_a_suppression_group
ToolThis api endpoint deletes email suppression groups. deleted group members get globally suppressed if they unsubscribe. use with caution, only if recipients want to resubscribe. bypass filters available for exceptions.
delete_a_template
Tool**this endpoint allows you to delete a transactional template.**
delete_a_transactional_template_version
Tool**this endpoint allows you to delete a transactional template version.**
delete_blocks
ToolThis endpoint enables clearing blocked emails either by deleting all with `delete all`=true or by specifying addresses in the `emails` array.
delete_bounces
ToolThis api endpoint lets users delete bounced emails: either all by setting `delete all` to true, or specific ones by listing them in `emails`. do not use both options together.
delete_bulk_integration
ToolThis endpoint deletes integrations.
delete_contacts
ToolUse this endpoint to bulk delete contacts with `ids` as a list of ids or `delete all contacts` set to `"true"` for all. deletions are asynchronous. regularly export contacts as a backup.
delete_custom_field_definition
Tool**this endpoint deletes a defined custom field.** you can delete only custom fields; reserved fields cannot be deleted.
delete_design
Tool**this endpoint allows you to delete a single design**. be sure to check the id of the design you intend to delete before making this request; deleting a design is a permanent action.
delete_invalid_emails
ToolThis endpoint lets you delete email addresses from your invalid list; delete all by setting `delete all` to true, or specify individual addresses to remove.
delete_ip_pool
ToolThis operation deletes an ip pool and unassigns all ip addresses associated with the pool. ip addresses associated with the deleted pool will remain in your account.
delete_pending_teammate
Tool**this endpoint allows you to delete a pending teammate invite.**
delete_segment
Tool**this endpoint allows you to delete a segment by id.**
delete_single_send_by_id
ToolThis endpoint lets you delete a single send with its id, which you can obtain by a get request to `/marketing/singlensends`. note: deletion is irreversible.
delete_single_send_schedule
ToolCancel a scheduled single send by making a delete request with its id to the endpoint. this action doesn't delete the single send content, only stops the send-out.
delete_spam_reports
ToolThis endpoint lets users delete spam reports, lifting email suppression for specified addresses. it's advised only when recipients want to resume emails. two deletion methods: 'delete all' or listing emails. use 'bypass filters' for exceptions.
delete_teammate
Tool**this endpoint allows you to delete a teammate.** **only the parent user or an admin teammate can delete another teammate.**
delete_verified_sender
ToolUse this endpoint with a sender identity's `id` to remove it from your account. find sender identity ids through the "get all verified senders" endpoint.
deny_access_request
Tool**this endpoint allows you to deny an attempt to access your account.** **note:** only teammate admins may delete a teammate's access request.
Free. No card needed.
How to connect SendGrid
- 1Create your free ContextGate account.
- 2Go to Connections → Add Connection, search for SendGrid and sign in to SendGrid.
- 3Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use SendGrid.
What you get with SendGrid and ContextGate
- Your AI apps can use SendGrid Claude, Cursor, ChatGPT and other AI apps reach SendGrid through the one ContextGate connection you add to them.
- You choose which tools they can use Switch off any SendGrid tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Select a tool on the left to see its parameters
What you get with SendGrid and ContextGate
- Your AI apps can use SendGrid: Claude, Cursor, ChatGPT and other AI apps reach SendGrid through the one ContextGate connection you add to them.
- You choose which tools they can use: Switch off any SendGrid tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded: Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Free. No card needed.
How to connect SendGrid
- Create your free ContextGate account.
- Go to Connections → Add Connection, search for SendGrid and sign in to SendGrid.
- Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use SendGrid.