Baryon MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROTON_BRIDGE_HOST | No | Bridge host. Baryon accepts loopback addresses only. | 127.0.0.1 |
| PROTON_BRIDGE_PASSWORD | No | Bridge-generated IMAP password, not your Proton account password. | |
| PROTON_BRIDGE_TLS_CERT | No | Path to the TLS certificate exported from Proton Mail Bridge. | |
| PROTON_BRIDGE_USERNAME | No | Bridge IMAP username. Required with PROTON_BRIDGE_PASSWORD. | |
| BARYON_ATTACHMENT_ROOTS | No | Absolute directory path list limiting attachment reads and writes. | |
| PROTON_BRIDGE_IMAP_PORT | No | IMAP port shown in Proton Mail Bridge. | 1143 |
| PROTON_BRIDGE_IMAP_SECURITY | No | Connection mode: starttls or tls. | starttls |
| PROTON_BRIDGE_ALLOW_INSECURE | No | Set to true to disable Bridge certificate verification. | false |
| BARYON_ALLOW_UNCONFIGURED_INTROSPECTION | No | Set to true only for registry inspection without Bridge credentials. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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