VulCode

mailcow-mcp

An MCP server through which an AI assistant manages mail in Mailcow: domains and their DKIM record, creating and deleting mailboxes, aliases, and sending and reading messages over SMTP and IMAP. One conversation with the assistant instead of clicking through the mail panel for every new domain.

TypeMCP server
LanguageNode.js
IntegrationsMailcow API, SMTP, IMAP
ClientAny MCP-compatible assistant
mailcow-mcp

Overview

mailcow-mcp is an MCP server that gives an AI assistant tools for mail in Mailcow. Instead of clicking through the panel for every new domain, you ask the assistant for a domain with mailboxes and aliases, and it does that through API calls in one conversation.

Tools

Server tools

ToolWhat it does
mailcow_list_domainsLists the domains configured in Mailcow
mailcow_add_domainAdds a domain with alias, mailbox and quota limits
mailcow_get_dkimReturns a domain's DKIM record to put in DNS
mailcow_list_mailboxesLists mailboxes, with a domain filter
mailcow_create_mailboxCreates a mailbox with a name, password and quota
mailcow_delete_mailboxDeletes a mailbox
mailcow_list_aliasesLists aliases
mailcow_create_aliasCreates an alias
mailcow_send_emailSends a message over SMTP
mailcow_fetch_emailsReads messages from a mailbox over IMAP

A new domain in one conversation

Domain

the assistant adds the domain together with its limits.

DKIM

it reads the DKIM record and hands it over for DNS.

Mailboxes and aliases

it creates mailboxes with a quota and the aliases.

Test

it sends a test message and checks in the mailbox that it arrived.

Described parameters

Every tool has a description and a parameter schema, so the assistant knows a domain is a full name and a quota is given in megabytes, without extra instructions. The server connects to the Mailcow API with a key from its configuration and works with any MCP-compatible client.

Questions about mailcow-mcp

More projects

More work from the same category - see how we tackle similar challenges.

Have a similar project?

Get in touch - a quote is free and comes back within an hour.