Integrations

Antigravity CLI integration with MailerSend

Use our hosted MCP server to bring MailerSend into Antigravity CLI. Send emails, set up domains, check deliverability and more with simple prompts in your terminal.
Developer
Integration Support

Connect Antigravity CLI to our hosted MCP server to work with MailerSend from the same place you build. You can add and verify sending domains, troubleshoot email delivery, set up templates and webhooks, and send emails and SMS. Just describe what you need in plain language.

How to connect MailerSend with Antigravity CLI

Setup takes a few minutes, and you won’t need an API key. MailerSend’s MCP server signs you in with OAuth, and Antigravity handles the login.

  1. Install or update to the latest version of Antigravity CLI.

  2. Find your MCP config file, or create one. For access in every project, use ~/.gemini/config/mcp_config.json. To limit MailerSend to one project, use .agents/mcp_config.json in that project’s root folder.

  3. Paste in the MailerSend server details below. If the file already lists other servers, place the mailersend entry inside the existing mcpServers block instead.

{
  "mcpServers": {
    "mailersend": {
      "serverUrl": "https://mcp.mailersend.com/mcp"
    }
  }
}
  1. Save your changes and launch Antigravity CLI with agy. Enter /mcp to open the MCP Manager, then reload the configuration so MailerSend shows up in the list.

  2. Select MailerSend and choose to authenticate. If you don’t see a sign-in option, open Agent settings (Ctrl/Cmd + ,) and go to Customizations, then click Authenticate instead.

  3. Sign in to MailerSend in your browser and approve access. If the CLI asks for an authorization code, paste it back in. Antigravity saves the sign-in to ~/.gemini/antigravity/mcp_oauth_tokens.json.

  4. Run agy mcp list to confirm MailerSend is listed. It may show as “Enabled,” but that only means the entry exists, not that you’re signed in. Test the connection with a prompt like “List my MailerSend domains.” If your real domains come back, you’re ready to go.

  5. If you run Antigravity in headless mode (agy -p), it can’t respond to permission prompts, so you’ll need to approve MailerSend’s tools in advance. Do this by adding allow rules to ~/.gemini/antigravity-cli/settings.json, for example: {"permissions": {"allow": ["mcp(mailersend/<tool_name>)"]}}

From here, just type your requests into Antigravity CLI and let the agent take care of the rest.

Browse the full list of MailerSend MCP tools in our developer docs.

Note:

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

  • Check my domain’s DNS records and tell me if anything needs fixing

  • Show me the bounce rate for the last 7 days

  • Send a welcome email to new-user@example.com using the ‘welcome’ template

  • Which recipients complained about our emails this month?

  • Create an email template for order confirmations with a button linking to the order page

  • Add a webhook that notifies our app when an email is opened

  • Why did my last email to jane@example.com fail?

  • Generate a new API token with sending access only

  • Compare delivery rates for my two sending domains

Explore more MCP use cases.