This MCP server implementation provides integration with SendGrid's Marketing API, enabling AI assistants to manage email marketing campaigns and contact lists. Developed by Garoth, it offers tools for contact management, list operations, email sending, template creation, and analytics. Built with TypeScript and leveraging the SendGrid SDK, the server focuses on supporting modern SendGrid features like dynamic templates and the Single Sends API. It is particularly useful for AI applications that need to automate email marketing tasks, manage subscriber lists, or integrate email communications into their workflows. The implementation includes robust error handling and environment variable management for secure API key storage.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Lists all contacts in your SendGrid account.
Add a contact to your SendGrid marketing contacts. Parameters: email (required), first_name (optional), last_name (optional), custom_fields (optional).
Delete contacts from your SendGrid account. Parameters: emails (required): Array of email addresses to delete.
Get all contacts in a SendGrid list. Parameters: list_id (required): ID of the contact list.
List all contact lists in your SendGrid account.
Create a new contact list in SendGrid. Parameters: name (required): Name of the contact list.
Delete a contact list from SendGrid. Parameters: list_id (required): ID of the contact list to delete.
Add contacts to an existing SendGrid list. Parameters: list_id (required): ID of the contact list, emails (required): Array of email addresses to add.
Remove contacts from a SendGrid list without deleting them. Parameters: list_id (required): ID of the contact list, emails (required): Array of email addresses to remove.
Send an email using SendGrid. Parameters: to (required), subject (required), text (required), from (required), html (optional), template_id (optional), dynamic_template_data (optional).
Send an email to a contact list using SendGrid Single Sends. Parameters: name (required), list_ids (required): Array of list IDs to send to, subject (required), html_content (required), plain_content (required), sender_id (required), suppression_group_id (optional), custom_unsubscribe_url (optional).
Create a new dynamic email template. Parameters: name (required), subject (required), html_content (required), plain_content (required).
List all dynamic email templates.
Retrieve a template by ID. Parameters: template_id (required): ID of the template to retrieve.
Delete a dynamic template. Parameters: template_id (required): ID of the template to delete.
Get SendGrid email statistics. Parameters: start_date (required), end_date (optional), aggregated_by (optional).
Validate an email address using SendGrid. Parameters: email (required): Email address to validate.
List all verified sender identities.
List all unsubscribe groups.