Mail-in-a-Box

Mail-in-a-Box MCP Connector for Claude

A+

Manage mail users, aliases, and system health via the Mail-in-a-Box REST API.

9 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your Mail-in-a-Box instance to any AI agent to automate your private email server management. This MCP server enables your agent to manage mailboxes, configure forwarding aliases, and monitor system health and diagnostics directly from natural language interfaces.

What you can do

  • User Administration — List all mail users, create new mailboxes, and update passwords programmatically
  • Alias Management — Create, update, and remove email forwarding addresses and group aliases
  • System Monitoring — Retrieve real-time health status, diagnostic checks, and configuration metadata for your server
  • Domain Oversight — List all hosted mail domains and subdomains configured on your instance
  • Access Control — Manage administrative privileges and account settings for your email users

How it works

  1. Subscribe to this server
  2. Enter your Mail-in-a-Box Host, Admin Email, and Admin Password (or API Key)
  3. Start managing your private email infrastructure from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • System Administrators — Manage mailboxes and forwarding rules via simple natural language commands
  • DevOps Engineers — Automate user onboarding and system health monitoring directly from your dev tools
  • Privacy-Conscious Teams — Maintain your private communication infrastructure effortlessly through an AI-integrated interface
email-serveruser-administrationdns-managementsystem-healthprivate-emailmailbox-management

9 tools expose this connector's capabilities to your AI agent.

create_mail_user

Requires a full email address and a password. Add a new mail user (mailbox)

list_mail_aliases

List all mail aliases and forwarders

list_mail_domains

List all mail domains hosted on the server

delete_mail_alias

Remove a mail alias

delete_mail_user

Remove a mail user

update_user_password

Change the password for a mail user

get_system_status

Check the status of the Mail-in-a-Box system

create_or_update_alias

forwards_to should be a comma-separated list of emails. Add or update a mail alias

list_mail_users

List all mail users on the server

See how to talk to your AI agent using Mail-in-a-Box.

List all mail users on my server.

I've retrieved the users. You have 12 mailboxes across 2 domains, including 'admin@example.com', 'user1@example.com', and 'team@otherdomain.io'.

Create a new mail user 'support@example.com' with password 'MySecret123!'.

Successfully created the mailbox for support@example.com. The user can now log in via IMAP/SMTP or webmail.

How is the health status of my Mail-in-a-Box server?

I've checked the system status. All core services (DNS, IMAP, SMTP) are running correctly. 2 minor updates are available for your OS.

Provide the full hostname without the 'https://' prefix, for example: `box.yourdomain.com`.

Related Connectors