Mailgi
xyz.mailgi/mailgi
MCP server OK 70 tools
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
[](https://latlas.dev/en/mcp/xyz.mailgi/mailgi)<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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/xyz.mailgi/mailgi)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:03 | OK | 879 ms | 70 |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| label | string | no | A name for your own reference. |
| domainToken | string | no | Registration token for an organization's domain. Requires localPart. |
| localPart | string | no | Chosen address before the @, used with domainToken. |
| did | string | no | Optional 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | The address the code was sent to. | |
| code | string | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| address | string | yes | The 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| address | string | yes | The agent's email or alias address. |
| amountUsd | number | yes | USD, within the range from topup_lookup. |
topup_status
Check a top-up
Returns whether a top-up payment has been paid and credited.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionId | string | yes | Checkout 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string | no | ISO date, inclusive. Defaults to 30 days ago. |
| to | no | ISO 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| mailboxId | string | no | Folder ID from mailbox_list. Omit for all mail. |
| limit | integer | no | Max messages to return. |
| position | integer | no | Zero-based offset for pagination. |
| sort | enum: "asc" | "desc" | no | Sort by receivedAt. |
mail_get
Read a message
Returns one message with its full text and HTML body.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | array<string> | yes | Recipient addresses. |
| cc | array<string> | no | Cc addresses, visible to all recipients. At most 50. |
| bcc | array<string> | no | Bcc addresses, hidden from other recipients. At most 50. |
| subject | string | yes | Subject line. |
| textBody | string | no | Plain-text body. |
| htmlBody | string | no | HTML body. |
| replyTo | string | no | Reply-To address. |
mail_delete
Move message to Trash
Moves a message to the Trash folder.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message ID from mail_list. |
mail_move
Move message
Moves a message to another folder.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message ID from mail_list. |
| mailboxId | string | yes | Destination folder ID from mailbox_list. |
mail_set_flags
Set message flags
Marks a message as seen or unseen, flagged or unflagged.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Message ID from mail_list. |
| seen | boolean | no | true marks the message read, false unread. Omit to leave it unchanged. |
| flagged | boolean | no | true 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Folder name. |
| parentId | string | no | Parent folder ID for nesting. |
mailbox_rename
Rename folder
Changes a custom folder's name; its ID and messages stay the same.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Folder ID from mailbox_list. |
| name | string | yes | New folder name; cannot be empty. |
mailbox_delete
Delete folder
Permanently deletes a custom folder, chosen by its ID from mailbox_list.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Folder 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| label | string | no | A name for your own reference, e.g. "ci". |
| expiresAt | string | no | ISO 8601 expiry date-time. |
apikey_revoke
Revoke API key
Revokes an API key immediately.
| Parameter | Type | Required | Description |
|---|---|---|---|
| keyId | string | yes | API 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| amountUsd | number | yes | USD; 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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | Link 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | Max transactions to return, 1-100. Defaults to 20. |
| offset | integer | no | Transactions 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | HTTPS URL to POST notifications to. |
| eventTypes | array<string> | no | Events 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint ID from webhook_list. |
webhook_deliveries
List webhook deliveries
Lists recent delivery attempts for a webhook endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint ID from webhook_list. |
webhook_resend
Resend webhook delivery
Queues a delivery attempt to be sent again.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook endpoint ID from webhook_list. |
| deliveryId | string | yes | Delivery ID from webhook_deliveries. |
webhook_enable
Re-enable webhook
Re-enables a webhook endpoint that was switched off after repeated failures.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Webhook 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Display name, up to 80 characters. |
| slug | string | no | URL-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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
org_rename
Rename organization
Changes an organization's display name; its slug and ID stay the same.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| name | string | yes | New display name, up to 80 characters. |
org_member_list
List members
Lists an organization's members and their roles.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
org_member_set_role
Change member role
Changes a member's role in the organization to owner, admin or member.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| userId | string | yes | User ID of the member, from org_member_list. |
| role | enum: "owner" | "admin" | "member" | yes | The member's new role. |
org_member_remove
Remove member
Removes a member from the organization, or leaves it when userId is your own.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| userId | string | yes | User ID of the member, from org_member_list. |
org_invite_create
Invite member
Emails an invitation to join the organization.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| string | yes | Email address of the person to invite. | |
| role | enum: "admin" | "member" | no | Role they get on accepting. Defaults to member. |
org_invite_list
List invites
Lists an organization's pending invitations.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
org_invite_revoke
Revoke invite
Revokes a pending invitation.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| inviteId | string | yes | Invite ID from org_invite_list. |
invite_accept
Accept invite
Accepts an organization invitation with the token from the invite email.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | yes | Invite token from the link in the invitation email. |
domain_attach
Attach domain
Attaches a custom domain and returns the DNS records to publish.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domain | string | yes | e.g. example.com |
domain_list
List domains
Lists an organization's custom domains.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
domain_get
Get domain
Returns a domain's verification status and the DNS records it needs.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
domain_verify
Verify domain
Re-checks the domain's DNS records and verifies it if they are correct.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
domain_detach
Detach domain
Detaches a custom domain from the organization.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
domain_inbox_list
List inboxes
Lists the inboxes (agents) on a domain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
| localPart | string | yes | e.g. "support" for [email protected] |
| label | string | no | A name for your own reference. |
domain_inbox_delete
Delete inbox
Removes an inbox and its mail from a domain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
| agentId | string | yes | Inbox 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
| label | string | no | A name for your own reference. |
regtoken_list
List registration tokens
Lists a domain's registration tokens.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
regtoken_revoke
Revoke registration token
Revokes a registration token.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
| tokenId | string | yes | Registration token ID from regtoken_list, not the token value. |
org_usage
Get organization usage
Returns daily send, receive and API counters across the organization.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| from | string | no | ISO date, inclusive. Defaults to 30 days ago. |
| to | string | no | ISO date, inclusive. Defaults to today. |
| breakdown | enum: "agent" | no | Split each day by agent. |
domain_usage
Get domain usage
Returns daily send, receive and API counters for one domain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| domainId | string | yes | Domain ID from domain_list. |
| from | string | no | ISO date, inclusive. Defaults to 30 days ago. |
| to | string | no | ISO date, inclusive. Defaults to today. |
| breakdown | enum: "agent" | no | Split each day by agent. |
org_billing_get
Get organization wallet
Returns the organization's shared wallet: balance, prices and how to top up.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
org_billing_topup
Create organization top-up link
Creates a card payment link for the organization wallet.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| amountUsd | number | yes | USD; the minimum is in org_billing_get. |
org_billing_transactions
List organization transactions
Lists the organization wallet ledger, newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| limit | integer | no | Max transactions to return, 1-100. Defaults to 20. |
| offset | integer | no | Transactions to skip, for pagination. Defaults to 0. |
org_webhook_list
List organization webhooks
Lists webhook endpoints across the organization's inboxes.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| agentId | string | yes | Inbox ID from domain_inbox_list. |
| url | string | yes | HTTPS URL to POST notifications to. |
| eventTypes | array<string> | no | Events to notify on. Only "mail.received" is supported, and it is the default. |
org_webhook_delete
Delete organization webhook
Deletes a webhook endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| id | string | yes | Webhook endpoint ID from org_webhook_list. |
org_webhook_deliveries
List organization webhook deliveries
Lists recent delivery attempts for a webhook endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| id | string | yes | Webhook endpoint ID from org_webhook_list. |
org_webhook_resend
Resend organization webhook delivery
Queues a delivery attempt to be sent again.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| id | string | yes | Webhook endpoint ID from org_webhook_list. |
| deliveryId | string | yes | Delivery ID from org_webhook_deliveries. |
org_webhook_enable
Re-enable organization webhook
Re-enables a webhook endpoint that was switched off after repeated failures.
| Parameter | Type | Required | Description |
|---|---|---|---|
| orgId | string | yes | Organization ID from org_list. |
| id | string | yes | Webhook 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.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.mailgi.xyz/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http mailgi https://api.mailgi.xyz/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mailgi ; URL : https://api.mailgi.xyz/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mailgi ; Server URL : https://api.mailgi.xyz/mcp ; Create as a plugin{
"mcpServers": {
"mailgi": {
"url": "https://api.mailgi.xyz/mcp"
}
}
}{
"mcpServers": {
"mailgi": {
"type": "http",
"url": "https://api.mailgi.xyz/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mailgi": {
"url": "https://api.mailgi.xyz/mcp"
}
}
}{
"mcpServers": {
"mailgi": {
"httpUrl": "https://api.mailgi.xyz/mcp"
}
}
}[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
[Mailgi — L’Atlas](https://latlas.dev/en/mcp/xyz.mailgi/mailgi)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.