L'Atlas / MCP servers / Mailgi
MCP server

Mailgi

xyz.mailgi/mailgi

MCP server OK 70 tools

Get a review See pricing

Email for AI agents: register a real inbox with no human, then send, receive and read mail.

Technical sheet

Author
mailgi.xyz (registry namespace)
Repository
github.com/Mailgi/mailgi
Site
www.mailgi.xyz/mcp.html
Version
1.0.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://api.mailgi.xyz/mcp Streamable HTTP
Tools
70
Categories
Messaging and communication, AI, agents and memory
Comparisons
MCP servers for Gmail and email
Last updated
1 Nov 2026
Published
1 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 2 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/xyz.mailgi/mailgi.svg?lang=en)](https://latlas.dev/en/mcp/xyz.mailgi/mailgi)
HTML
<a href="https://latlas.dev/en/mcp/xyz.mailgi/mailgi"><img src="https://latlas.dev/badge/statut/mcp/xyz.mailgi/mailgi.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/xyz.mailgi/mailgi.svg?lang=en)](https://latlas.dev/en/mcp/xyz.mailgi/mailgi)
HTML
<a href="https://latlas.dev/en/mcp/xyz.mailgi/mailgi"><img src="https://latlas.dev/badge/fiche/xyz.mailgi/mailgi.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://api.mailgi.xyz/mcp
Last result
OK 28 Nov 2026, 09:03
Response time
879 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
mailgi 1.0.0
Tools
70

History

DateResultResponseTools
28 Nov 2026, 09:03OK879 ms70

Exposed tools (70, from tools/list, 28 Nov 2026)

register_agent

Register an agent

Creates a new agent with its own email address and returns its API key, shown once.

ParameterTypeRequiredDescription
labelstringnoA name for your own reference.
domainTokenstringnoRegistration token for an organization's domain. Requires localPart.
localPartstringnoChosen address before the @, used with domainToken.
didstringnoOptional did:key DID; only changes the alias address.

org_login_request_code

Request dashboard login code

Emails a 6-digit dashboard login code to a human's address. Creates the account on first login.

ParameterTypeRequiredDescription
emailstringyesThe human's email address; the code is sent there.

org_login_verify

Verify dashboard login code

Exchanges an emailed login code for a dashboard session token.

ParameterTypeRequiredDescription
emailstringyesThe address the code was sent to.
codestringyesThe 6-digit code from the email, e.g. "482913".

topup_lookup

Look up a top-up

Shows which wallet a top-up for a Mailgi address would credit, and the allowed amounts.

ParameterTypeRequiredDescription
addressstringyesThe agent's email or alias address.

topup_start

Start a top-up

Creates a card payment link for the wallet behind any Mailgi address. Give it to a human to pay.

ParameterTypeRequiredDescription
addressstringyesThe agent's email or alias address.
amountUsdnumberyesUSD, within the range from topup_lookup.

topup_status

Check a top-up

Returns whether a top-up payment has been paid and credited.

ParameterTypeRequiredDescription
sessionIdstringyesCheckout session ID from the payment link.

health

Service health

Checks that the Mailgi API, its database and the mail server are up.

No parameters.

agent_get

Get agent profile

Returns this agent's profile: its addresses, label and domain.

No parameters.

agent_usage

Get agent usage

Returns this agent's daily send and API counters; the latest day is partial.

ParameterTypeRequiredDescription
fromstringnoISO date, inclusive. Defaults to 30 days ago.
tonoISO date, inclusive. Defaults to today.

agent_delete

Delete agent

Permanently deletes this agent, its mailbox and all its API keys.

No parameters.

mail_list

List messages

Lists message headers in the mailbox, newest first by default; filter by folder with mailboxId.

ParameterTypeRequiredDescription
mailboxIdstringnoFolder ID from mailbox_list. Omit for all mail.
limitintegernoMax messages to return.
positionintegernoZero-based offset for pagination.
sortenum: "asc" | "desc"noSort by receivedAt.

mail_get

Read a message

Returns one message with its full text and HTML body.

ParameterTypeRequiredDescription
idstringyesMessage ID from mail_list.

mail_send

Send email

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.

ParameterTypeRequiredDescription
toarray<string>yesRecipient addresses.
ccarray<string>noCc addresses, visible to all recipients. At most 50.
bccarray<string>noBcc addresses, hidden from other recipients. At most 50.
subjectstringyesSubject line.
textBodystringnoPlain-text body.
htmlBodystringnoHTML body.
replyTostringnoReply-To address.

mail_delete

Move message to Trash

Moves a message to the Trash folder.

ParameterTypeRequiredDescription
idstringyesMessage ID from mail_list.

mail_move

Move message

Moves a message to another folder.

ParameterTypeRequiredDescription
idstringyesMessage ID from mail_list.
mailboxIdstringyesDestination folder ID from mailbox_list.

mail_set_flags

Set message flags

Marks a message as seen or unseen, flagged or unflagged.

ParameterTypeRequiredDescription
idstringyesMessage ID from mail_list.
seenbooleannotrue marks the message read, false unread. Omit to leave it unchanged.
flaggedbooleannotrue flags (stars) the message, false clears the flag. Omit to leave it unchanged.

mailbox_list

List folders

Lists all folders, including Inbox, Sent and Trash.

No parameters.

mailbox_create

Create folder

Creates a folder, optionally nested under another.

ParameterTypeRequiredDescription
namestringyesFolder name.
parentIdstringnoParent folder ID for nesting.

mailbox_rename

Rename folder

Changes a custom folder's name; its ID and messages stay the same.

ParameterTypeRequiredDescription
idstringyesFolder ID from mailbox_list.
namestringyesNew folder name; cannot be empty.

mailbox_delete

Delete folder

Permanently deletes a custom folder, chosen by its ID from mailbox_list.

ParameterTypeRequiredDescription
idstringyesFolder ID from mailbox_list.

apikey_list

List API keys

Lists this agent's API keys. Key values are never shown again.

No parameters.

apikey_create

Create API key

Creates another API key for this agent. The key is shown once.

ParameterTypeRequiredDescription
labelstringnoA name for your own reference, e.g. "ci".
expiresAtstringnoISO 8601 expiry date-time.

apikey_revoke

Revoke API key

Revokes an API key immediately.

ParameterTypeRequiredDescription
keyIdstringyesAPI key ID from apikey_list, not the key value.

billing_get

Get wallet

Returns the wallet this agent spends from: balance, prices, MailPass (instant inbound), the free tier and how to top up.

No parameters.

billing_topup

Create top-up link

Creates a card payment link for this agent's wallet. Give it to a human to pay.

ParameterTypeRequiredDescription
amountUsdnumberyesUSD; the minimum is in billing_get.

billing_link

Link mailbox to a wallet

Links this mailbox to another mailbox's wallet with a link code, and starts its MailPass (instant inbound).

ParameterTypeRequiredDescription
codestringyesLink code from billing_link_code on the wallet's mailbox.

billing_unlink

Unlink mailbox from its wallet

Stops this mailbox spending from its wallet. The paid month stays instant; the pass stops renewing.

No parameters.

billing_link_code

Create wallet link code

Creates a single-use, 24-hour code that links another mailbox you control to this wallet.

No parameters.

billing_transactions

List wallet transactions

Lists the wallet ledger, newest first.

ParameterTypeRequiredDescription
limitintegernoMax transactions to return, 1-100. Defaults to 20.
offsetintegernoTransactions to skip, for pagination. Defaults to 0.

webhook_list

List webhooks

Lists this agent's webhook endpoints.

No parameters.

webhook_create

Create webhook

Registers an HTTPS URL to be notified when mail arrives. The signing secret is shown once.

ParameterTypeRequiredDescription
urlstringyesHTTPS URL to POST notifications to.
eventTypesarray<string>noEvents to notify on: "mail.received", and "mail.held" (mail waiting because this @mailgi.xyz mailbox has no MailPass). Both by default.

webhook_delete

Delete webhook

Deletes a webhook endpoint.

ParameterTypeRequiredDescription
idstringyesWebhook endpoint ID from webhook_list.

webhook_deliveries

List webhook deliveries

Lists recent delivery attempts for a webhook endpoint.

ParameterTypeRequiredDescription
idstringyesWebhook endpoint ID from webhook_list.

webhook_resend

Resend webhook delivery

Queues a delivery attempt to be sent again.

ParameterTypeRequiredDescription
idstringyesWebhook endpoint ID from webhook_list.
deliveryIdstringyesDelivery ID from webhook_deliveries.

webhook_enable

Re-enable webhook

Re-enables a webhook endpoint that was switched off after repeated failures.

ParameterTypeRequiredDescription
idstringyesWebhook endpoint ID from webhook_list.

org_me

Who am I

Returns the signed-in user and the organizations they belong to.

No parameters.

org_logout

Sign out

Revokes the current dashboard session token.

No parameters.

org_list

List organizations

Lists the organizations the signed-in user belongs to.

No parameters.

org_create

Create organization

Creates an organization; the signed-in user becomes its owner.

ParameterTypeRequiredDescription
namestringyesDisplay name, up to 80 characters.
slugstringnoURL-safe ID: lowercase letters, digits and single hyphens, e.g. "acme-labs". Defaults to one made from name.

org_get

Get organization

Returns one organization: its name, slug and the signed-in user's role in it.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.

org_rename

Rename organization

Changes an organization's display name; its slug and ID stay the same.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
namestringyesNew display name, up to 80 characters.

org_member_list

List members

Lists an organization's members and their roles.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.

org_member_set_role

Change member role

Changes a member's role in the organization to owner, admin or member.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
userIdstringyesUser ID of the member, from org_member_list.
roleenum: "owner" | "admin" | "member"yesThe member's new role.

org_member_remove

Remove member

Removes a member from the organization, or leaves it when userId is your own.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
userIdstringyesUser ID of the member, from org_member_list.

org_invite_create

Invite member

Emails an invitation to join the organization.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
emailstringyesEmail address of the person to invite.
roleenum: "admin" | "member"noRole they get on accepting. Defaults to member.

org_invite_list

List invites

Lists an organization's pending invitations.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.

org_invite_revoke

Revoke invite

Revokes a pending invitation.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
inviteIdstringyesInvite ID from org_invite_list.

invite_accept

Accept invite

Accepts an organization invitation with the token from the invite email.

ParameterTypeRequiredDescription
tokenstringyesInvite token from the link in the invitation email.

domain_attach

Attach domain

Attaches a custom domain and returns the DNS records to publish.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainstringyese.g. example.com

domain_list

List domains

Lists an organization's custom domains.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.

domain_get

Get domain

Returns a domain's verification status and the DNS records it needs.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.

domain_verify

Verify domain

Re-checks the domain's DNS records and verifies it if they are correct.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.

domain_detach

Detach domain

Detaches a custom domain from the organization.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.

domain_inbox_list

List inboxes

Lists the inboxes (agents) on a domain.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.

domain_inbox_create

Create inbox

Creates an inbox with a chosen address on a domain. Its API key is shown once.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.
localPartstringyese.g. "support" for [email protected]
labelstringnoA name for your own reference.

domain_inbox_delete

Delete inbox

Removes an inbox and its mail from a domain.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.
agentIdstringyesInbox ID from domain_inbox_list.

regtoken_create

Create registration token

Creates a token that lets an agent register its own address on this domain. Shown once.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.
labelstringnoA name for your own reference.

regtoken_list

List registration tokens

Lists a domain's registration tokens.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.

regtoken_revoke

Revoke registration token

Revokes a registration token.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.
tokenIdstringyesRegistration token ID from regtoken_list, not the token value.

org_usage

Get organization usage

Returns daily send, receive and API counters across the organization.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
fromstringnoISO date, inclusive. Defaults to 30 days ago.
tostringnoISO date, inclusive. Defaults to today.
breakdownenum: "agent"noSplit each day by agent.

domain_usage

Get domain usage

Returns daily send, receive and API counters for one domain.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
domainIdstringyesDomain ID from domain_list.
fromstringnoISO date, inclusive. Defaults to 30 days ago.
tostringnoISO date, inclusive. Defaults to today.
breakdownenum: "agent"noSplit each day by agent.

org_billing_get

Get organization wallet

Returns the organization's shared wallet: balance, prices and how to top up.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.

org_billing_topup

Create organization top-up link

Creates a card payment link for the organization wallet.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
amountUsdnumberyesUSD; the minimum is in org_billing_get.

org_billing_transactions

List organization transactions

Lists the organization wallet ledger, newest first.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
limitintegernoMax transactions to return, 1-100. Defaults to 20.
offsetintegernoTransactions to skip, for pagination. Defaults to 0.

org_webhook_list

List organization webhooks

Lists webhook endpoints across the organization's inboxes.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.

org_webhook_create

Create organization webhook

Registers an HTTPS URL to be notified when mail arrives at one of the organization's inboxes.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
agentIdstringyesInbox ID from domain_inbox_list.
urlstringyesHTTPS URL to POST notifications to.
eventTypesarray<string>noEvents to notify on. Only "mail.received" is supported, and it is the default.

org_webhook_delete

Delete organization webhook

Deletes a webhook endpoint.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
idstringyesWebhook endpoint ID from org_webhook_list.

org_webhook_deliveries

List organization webhook deliveries

Lists recent delivery attempts for a webhook endpoint.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
idstringyesWebhook endpoint ID from org_webhook_list.

org_webhook_resend

Resend organization webhook delivery

Queues a delivery attempt to be sent again.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
idstringyesWebhook endpoint ID from org_webhook_list.
deliveryIdstringyesDelivery ID from org_webhook_deliveries.

org_webhook_enable

Re-enable organization webhook

Re-enables a webhook endpoint that was switched off after repeated failures.

ParameterTypeRequiredDescription
orgIdstringyesOrganization ID from org_list.
idstringyesWebhook endpoint ID from org_webhook_list.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.mailgi.xyz/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http mailgi https://api.mailgi.xyz/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mailgi ; URL : https://api.mailgi.xyz/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mailgi ; Server URL : https://api.mailgi.xyz/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mailgi": {
      "url": "https://api.mailgi.xyz/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mailgi": {
      "type": "http",
      "url": "https://api.mailgi.xyz/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mailgi": {
      "url": "https://api.mailgi.xyz/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mailgi": {
      "httpUrl": "https://api.mailgi.xyz/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mailgi]
url = "https://api.mailgi.xyz/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Mailgi · L’Atlas · Tested on

Markdown
[Mailgi — L’Atlas](https://latlas.dev/en/mcp/xyz.mailgi/mailgi)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.