Skip to content

API Reference

Maho Mail includes an MCP (Model Context Protocol) server that exposes your email database to AI agents. Connect Claude, Cursor, or any MCP-compatible tool to your inbox.

Examples use placeholder IDs. Use actual IDs from your Maho Mail database.

The MCP server uses stdio transport. Configure your AI tool to launch:

Terminal window
maho-mcp

| Tool | Description | |------|-------------| | list_accounts | List all email accounts | | list_folders | List folders for an account | | list_emails | List emails in a folder | | get_email | Get full email content | | search_emails | Full-text search across emails | | list_thread | List all emails in a thread |