MCP server
Mailgi Official
xyz.mailgi/mailgi
Checked 28 Nov 2026, 11:13 UTC · Connected to it and listed its tools
Email for AI agents: register a real inbox with no human, then send, receive and read mail.
Working at last checkVerified publisher: mailgi.xyzAbout 8,069 tokens per request once connected70 tools
https://api.mailgi.xyz/mcp
At a glance
- Type
- MCP server
- Publisher
- mailgi.xyz (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 70
- Token cost
- About 8,069 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Nov 2026, 11:13 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http mailgi https://api.mailgi.xyz/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.mailgi] url = "https://api.mailgi.xyz/mcp"
Gemini CLI
{"mcpServers":{"mailgi":{"httpUrl":"https://api.mailgi.xyz/mcp"}}}
Cursor
{"mcpServers":{"mailgi":{"url":"https://api.mailgi.xyz/mcp"}}}
VS Code
{"servers":{"mailgi":{"type":"http","url":"https://api.mailgi.xyz/mcp"}}}
Antigravity
agy mcp add mailgi https://api.mailgi.xyz/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"mailgi","server_url":"https://api.mailgi.xyz/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"mailgi","server_url":"https://api.mailgi.xyz/mcp"}
Tools
agent_deleteDeletes data · ~59 tokens
Permanently deletes this agent, its mailbox and all its API keys.agent_get~58 tokens
Returns this agent's profile: its addresses, label and domain.agent_usage~121 tokens
Returns this agent's daily send and API counters; the latest day is partial.apikey_create~112 tokens
Creates another API key for this agent. The key is shown once.apikey_list~58 tokens
Lists this agent's API keys. Key values are never shown again.apikey_revokeChanges accounts · ~90 tokens
Revokes an API key immediately.billing_get~75 tokens
Returns the wallet this agent spends from: balance, prices, MailPass (instant inbound), the free tier and how to top up.billing_link~122 tokens
Links this mailbox to another mailbox's wallet with a link code, and starts its MailPass (instant inbound).billing_link_code~68 tokens
Creates a single-use, 24-hour code that links another mailbox you control to this wallet.billing_topup~110 tokens
Creates a card payment link for this agent's wallet. Give it to a human to pay.billing_transactions~127 tokens
Lists the wallet ledger, newest first.billing_unlink~70 tokens
Stops this mailbox spending from its wallet. The paid month stays instant; the pass stops renewing.domain_attach~118 tokens
Attaches a custom domain and returns the DNS records to publish.domain_detach~113 tokens
Detaches a custom domain from the organization.domain_get~118 tokens
Returns a domain's verification status and the DNS records it needs.domain_inbox_create~182 tokens
Creates an inbox with a chosen address on a domain. Its API key is shown once.domain_inbox_deleteDeletes data · ~139 tokens
Removes an inbox and its mail from a domain.domain_inbox_list~112 tokens
Lists the inboxes (agents) on a domain.domain_list~86 tokens
Lists an organization's custom domains.domain_usage~189 tokens
Returns daily send, receive and API counters for one domain.domain_verify~120 tokens
Re-checks the domain's DNS records and verifies it if they are correct.health~58 tokens
Checks that the Mailgi API, its database and the mail server are up.invite_accept~102 tokens
Accepts an organization invitation with the token from the invite email.mail_deleteDeletes data · ~83 tokens
Moves a message to the Trash folder.mail_get~87 tokens
Returns one message with its full text and HTML body.mail_list~178 tokens
Lists message headers in the mailbox, newest first by default; filter by folder with mailboxId.mail_move~110 tokens
Moves a message to another folder.mail_sendSends messages · ~301 tokens
Sends an email from this agent's address. Mail to outside addresses is charged to the wallet. Until the wallet is first topped up it is free, up to 50 new recipients a day, and sent mail ends with a one-line "Sent with Mailgi" footer.mail_set_flags~158 tokens
Marks a message as seen or unseen, flagged or unflagged.mailbox_create~106 tokens
Creates a folder, optionally nested under another.mailbox_deleteChanges files · Deletes data · ~94 tokens
Permanently deletes a custom folder, chosen by its ID from mailbox_list.mailbox_list~55 tokens
Lists all folders, including Inbox, Sent and Trash.mailbox_rename~116 tokens
Changes a custom folder's name; its ID and messages stay the same.org_billing_get~98 tokens
Returns the organization's shared wallet: balance, prices and how to top up.org_billing_topup~129 tokens
Creates a card payment link for the organization wallet.org_billing_transactions~159 tokens
Lists the organization wallet ledger, newest first.org_create~145 tokens
Creates an organization; the signed-in user becomes its owner.org_get~96 tokens
Returns one organization: its name, slug and the signed-in user's role in it.org_invite_create~153 tokens
Emails an invitation to join the organization.org_invite_list~89 tokens
Lists an organization's pending invitations.org_invite_revokeChanges accounts · ~110 tokens
Revokes a pending invitation.org_list~55 tokens
Lists the organizations the signed-in user belongs to.org_login_request_code~116 tokens
Emails a 6-digit dashboard login code to a human's address. Creates the account on first login.org_login_verify~136 tokens
Exchanges an emailed login code for a dashboard session token.org_logout~53 tokens
Revokes the current dashboard session token.org_me~57 tokens
Returns the signed-in user and the organizations they belong to.org_member_list~90 tokens
Lists an organization's members and their roles.org_member_remove~127 tokens
Removes a member from the organization, or leaves it when userId is your own.org_member_set_role~155 tokens
Changes a member's role in the organization to owner, admin or member.org_rename~124 tokens
Changes an organization's display name; its slug and ID stay the same.org_usage~167 tokens
Returns daily send, receive and API counters across the organization.org_webhook_create~196 tokens
Registers an HTTPS URL to be notified when mail arrives at one of the organization's inboxes.org_webhook_deleteDeletes data · ~110 tokens
Deletes a webhook endpoint.org_webhook_deliveries~119 tokens
Lists recent delivery attempts for a webhook endpoint.org_webhook_enable~124 tokens
Re-enables a webhook endpoint that was switched off after repeated failures.org_webhook_list~93 tokens
Lists webhook endpoints across the organization's inboxes.org_webhook_resend~143 tokens
Queues a delivery attempt to be sent again.register_agent~182 tokens
Creates a new agent with its own email address and returns its API key, shown once.regtoken_create~150 tokens
Creates a token that lets an agent register its own address on this domain. Shown once.regtoken_list~110 tokens
Lists a domain's registration tokens.regtoken_revokeChanges accounts · ~142 tokens
Revokes a registration token.topup_lookup~103 tokens
Shows which wallet a top-up for a Mailgi address would credit, and the allowed amounts.topup_start~134 tokens
Creates a card payment link for the wallet behind any Mailgi address. Give it to a human to pay.topup_status~103 tokens
Returns whether a top-up payment has been paid and credited.webhook_create~163 tokens
Registers an HTTPS URL to be notified when mail arrives. The signing secret is shown once.webhook_deleteDeletes data · ~84 tokens
Deletes a webhook endpoint.webhook_deliveries~93 tokens
Lists recent delivery attempts for a webhook endpoint.webhook_enable~98 tokens
Re-enables a webhook endpoint that was switched off after repeated failures.webhook_list~51 tokens
Lists this agent's webhook endpoints.webhook_resend~117 tokens
Queues a delivery attempt to be sent again.
Browse
Related MCP servers
- Storyflo
Curated audio news, daily briefings, the Declassified library + market-linked signals. - Volanea
Email infrastructure on Volanea: build templates, segments and workflows, send and check email. - GetCourier
Email for AI agents: inbox in one call, no signup; codes, links, reply, send; own domains. - Inbin agent email and meetings
Email and meetings for AI agents you can trust: checked mail, held sends, Meet calls you approve. - Dearhuman
Send e-cards to your human. The first store built for AI agents; free, no API key needed. - Cooper Email
Email inboxes for AI agents: send, receive, search, drafts with owner approval, and webhooks. - Agent Diary
A diary and anonymous-confession site only AI agents can post to. Self-register, then write. - MatrixAgentNet
Social network for AI agents: publish work, get peer reviews, vote, follow and build reputation.
Badge for your README
[](https://aptlynx.net/servers/xyz.mailgi/mailgi)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents