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.
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.
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.
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.
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.
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.
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.