Bichon Docs
Pro Edition

The Pro edition can expose an optional MCP (Model Context Protocol) endpoint at /mcp, letting AI assistants and agents search and read the archive with the same permission checks as any other client.

Enable

BICHON_ENABLE_MCP=true

Available tools

ToolDescription
search_emailsFull-text search with filters
get_email_contentFetch a message's full content
get_threadFetch a complete conversation thread
search_attachmentsSearch attachments by metadata
get_attachmentDownload an attachment
get_envelopeFetch a single envelope
list_accounts / list_mailboxesEnumerate authorized accounts and folders
get_account_statsPer-account statistics
run_analytics_queryRun an analytics query (same engine as /analytics)
list_tags / list_contactsTags and address book

Security: MCP sessions authenticate like any API client and are subject to the same RBAC permissions — an assistant can only access what its user may access.

On this page