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
ToolDescription
list_accountsList all email accounts
list_foldersList folders for an account
list_emailsList emails in a folder
get_emailGet full email content
search_emailsFull-text search across emails
list_threadList all emails in a thread