Skip to main content
Glama
combor

Baryon MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PROTON_BRIDGE_HOSTNoBridge host. Baryon accepts loopback addresses only.127.0.0.1
PROTON_BRIDGE_PASSWORDNoBridge-generated IMAP password, not your Proton account password.
PROTON_BRIDGE_TLS_CERTNoPath to the TLS certificate exported from Proton Mail Bridge.
PROTON_BRIDGE_USERNAMENoBridge IMAP username. Required with PROTON_BRIDGE_PASSWORD.
BARYON_ATTACHMENT_ROOTSNoAbsolute directory path list limiting attachment reads and writes.
PROTON_BRIDGE_IMAP_PORTNoIMAP port shown in Proton Mail Bridge.1143
PROTON_BRIDGE_IMAP_SECURITYNoConnection mode: starttls or tls.starttls
PROTON_BRIDGE_ALLOW_INSECURENoSet to true to disable Bridge certificate verification.false
BARYON_ALLOW_UNCONFIGURED_INTROSPECTIONNoSet to true only for registry inspection without Bridge credentials.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_attachmentA

Fetch one attachment's content into the conversation (up to 25 MB decoded). Images are returned as image content; other files as base64 in the structured output alongside the metadata. For an attachment too large to be worth reading inline, use save_attachment instead.

get_emailA

Read one message: envelope metadata, decoded plain-text and HTML bodies, and attachment list, all as structured output.

get_threadA

Read a whole conversation from one of its messages, oldest first. Returns each message's envelope and message_id, and with include_bodies a shortened body for each. A conversation is usually split across folders, with your own replies in Sent, so pass the All Mail folder as search_folder to gather all of it. Use the returned uid and uidvalidity with get_email for a message in full.

list_attachmentsA

List a message's attachments (filename, content type, encoded size) without transferring any content.

list_emailsA

List messages in a folder, newest first, with pagination. Returns envelope summaries (subject, sender, date, flags) and the folder's uidvalidity.

list_foldersA

List all folders (mailboxes) in the Proton Mail account, including system folders like INBOX, Sent, and Archive.

save_attachmentA

Write one attachment (up to 25 MB decoded) to a local file on the server's machine and return only its path, keeping the bytes out of the conversation. Use this for attachments too large to read inline with get_attachment. An existing file is never overwritten and no directories are created.

save_draftA

Create a complete Proton Mail draft, or replace an existing draft when uid and uidvalidity are provided. Supports plain text, an optional HTML alternative, and bounded attachments supplied either inline as base64 (content_base64) or as an absolute path to a local file that the server reads at save time (content_path). To reply inside a thread, read the message with get_email and set in_reply_to to its message_id, and references to its references followed by its message_id; when it reports no references, use its in_reply_to in their place so earlier ancestry survives. A replacement keeps the previous draft's Message-ID, plus whichever of its In-Reply-To and References the call omits; passing an empty array for either removes it, detaching the draft from its thread. Updating appends the replacement before removing the old UID; inspect warning if cleanup was incomplete.

search_emailsA

Search messages in a folder by text, sender, recipient, subject, date range, or unread state. Returns envelope summaries newest first, with pagination.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/combor/baryon-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server