Access real-time MailerSend account data and perform actions from your AI coding environment with our hosted MCP and VSCode. Add domains, fetch DNS records, manage webhooks, send emails, create workflows, and more.
The full list of available tools:
Domain management add_domain delete_domain get_domain get_domain_recipients list_domains update_domain_settings verify_domain get_dns_records
| Activity & Analytics | Webhook management create_webhook delete_webhook get_webhook list_webhooks update_webhook
|
Template management delete_template get_template list_templates
| Email sending delete_scheduled_message get_bulk_email_status get_message get_scheduled_message list_messages list_scheduled_messages send_bulk_email send_email
| Email verification |
How to connect MailerSend with VSCode
To use the MailerSend MCP with VSCode, you need to use GitHub's Copilot. The MCP works with all plans, including Free.
1. Make sure you have the latest version of Visual Studio Code installed and the GitHub Copilot extension installed and enabled.
2. Click the install link from our MCP documentation.
3. In the security prompt that appears, click Allow.
4. In VSCode, click Install and that's it.
5. To use the MCP, select Agent mode in the Copilot chat view. You can view and select the tools you want to use by clicking the Configure tools icon.
Note:
A note on data privacy and authorization
Before you connect, it's important to understand what this means for your data.
By connecting your AI tool to the MailerSend MCP server, you are granting the AI tool permission to access and manage your MailerSend data (like email activity, API tokens, recipient data, and domain settings) on your behalf.
MailerSend does not send any of your data to an AI tool. You are in full control. This connection simply enables the AI tool you choose to communicate with your MailerSend account when you give it a command.
Use case examples
What's the average delivery time for password reset emails?
Send a password reset email to user@example.com using the 'password-reset' template with reset_link: https://app.example.com/reset/abc123
Are there any SPF/DKIM issues with my domain?
Add api.mycompany.com as a new sending domain and give me the DNS records
Show me any emails stuck in queue
List all failed emails from the last 2 hours
Validate the email address from this new user registration
Create a webhook for all bounce events to update our user database automatically
Which emails have the fastest delivery times?
View more MCP use case examples.