Knowledge base

How to connect MailerSend's MCP with your AI tools

The MailerSend MCP (Model Context Protocols) server can be integrated with your AI tools in just a few steps—no downloads or extensive configuration needed. This guide will walk you through how to get started with various AI platforms.

Currently supported AI tools

The MailerSend MCP server is designed to work with any MCP-compatible client. The following tools currently support MCPs, and have been tested with MailerSend:

AI tool matrix showing the tools and plans that currently support MCPs and have been tested with MailerSend.

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.

The connection URL

To connect your chosen AI tool with the MailerSend MCP server, you simply need to add the connection URL in the settings of the tool. You'll find instructions for specific AI tools below.

MailerSend MCP Server URL: https://mcp.mailersend.com/mcp

Claude (Desktop or Web)

These steps work for both the desktop and web app.

1. Make sure you have the latest version of Claude installed.

2. In the Claude chat interface, click the 'Search and tools' icon directly under the text input field.

3. Select Add connectors.

4. On the modal that appears, click the Manage connectors button. Then click Add custom connectors.

5. A form will appear. Add the following details:

  • Name: e.g. MailerSend (This is for your own reference)

  • Remote MCP server URL: https://mcp.mailersend.com/mcp

6. Click Add to save the new connector.

7. You will now see 'MailerSend' in your list of available connectors. Click the Connect button next to it.

8. You will be automatically redirected to the MailerSend app in your browser. Choose the account you wish to connect to.

9. Review the permissions screen and click Authorize. Once authorized, you'll be redirected to the Claude app. The connection is now active and you can use the MailerSend MCP.

VSCode

You can integrate the MCP with VSCode via a simple one-click installation.

What you'll need before you start

  • The Visual Studio Code app installed on your computer

  • The GitHub Copilot extension installed and enabled in VSCode.

How to connect

  1. To connect MailerSend, simply click the link below to begin the installation process in VSCode.

    Connect MailerSend to VSCode

  2. A pop-up will appear asking for permission to open VSCode. Click Allow.

  3. In VSCode, click the Install button to complete the setup. You can start, stop and restart the server by clicking the settings icon next to the Uninstall button.

That’s it! The MailerLite MCP is active and ready to use in VSCode. In the Copilot chat view, just below the text input field, select Agent mode from the dropdown. You can view and select the tools you want to use by clicking the 'Configure tools' icon.

You can enter a prompt in the chat box, and the relevant tools will be invoked. By default, you'll need to confirm each action before it runs. Simply click Continue, or click the arrow to always allow actions to run without confirmation, or allow for the session or workspace.

Before confirming the action, you can also check and edit the input parameters.

Cursor

You can add the MailerSend MCP to Cursor via one-click installation.

  1. First, make sure you have the Cursor application installed on your computer.

  2. To add the MCP, click the link below to begin the connection process.
    Add to Cursor

  3. A security prompt will appear asking for permission to open Cursor. Click Allow.

  4. Click the Install button to start the setup.

  5. The MailerSend connector will show a status message. Click the link that says Needs login to start the authorization.

  6. Review the permissions and click Authorize.

  7. In the last pop-up window that appears, click Open to finalize the connection.

Tool limits for Cursor's Free plan

If you are using Cursor's Free plan, you might see an “Exceeding total tools limit” warning. This is because the free plan currently supports a maximum of 40 active tools from a single connector.

How to manage this: You have full control over which tools are active. To stay within the limit, you can go to the MailerLite MCP connector settings within Cursor and click on individual tools (e.g., delete_recipient, get_sender_identity) to enable or disable them as needed. This allows you to customize the toolset for your current task.

Full list of available tools

The MCP gives your AI tool access to MailerSend tools it can use to manage your account and perform tasks. Here are the available tools:

Domain management

Activity and Analytics

  • add_domain

  • delete_domain

  • get_domain

  • get_domain_recipients

  • list_domains

  • update_domain_settings

  • verify_domain

  • get_dns_records

  • get_activity

  • get_analytics_by_date

  • get_opens_by_country

  • get_opens_by_reading_environment

  • get_opens_by_user_agent

  • list_activities

Webhook management

Template management

  • create_webhook

  • delete_webhook

  • get_webhook

  • list_webhooks

  • update_webhook

  • delete_template

  • get_template

  • list_templates

Email sending

Email verification

  • delete_scheduled_message

  • get_bulk_email_status

  • get_message

  • get_scheduled_message

  • list_messages

  • list_scheduled_messages

  • send_bulk_email

  • send_email

  • create_verification_list

  • get_async_verification_status

  • get_verification_list

  • get_verification_results

  • list_verification_list

  • verify_email

  • verify_email_async

  • verify_list

Example prompts

To give you a better idea of how you could use the MCP, here are a few example prompts:

  • “Tell me the top 3 user agents for opens for all of my domains.”

  • “Create a webhook for the domain test.com. Use the webhook URL https://webhook.site/example and configure it to receive events for Opened and Clicked. Name the webhook ‘Test opens and clicks’.”

  • “Identify the 3 emails that got the most spam complaints in the last quarter. Tell me what they have in common.”

  • "Schedule an email with the Scheduled Maintenance template to go out at 10:00 AM tomorrow. The {{maintenance_period}} variable should be set as 10:00 PM - 11:00 PM and the {{date}} variable as August 8."

For more information and examples of how to use the MCP, check out our developer guide.

Need more info?

Feel free to reach out to mcp@mailersend.com. A member of our support team will gladly assist you.