Xallor Email MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XALLOR_KEY | No | AES-256-GCM key (hex/base64) or passphrase. Auto-generated local key if unset. | Auto-generated local key if unset |
| XALLOR_DEBUG | No | Structured debug logs (`1`/`true`/`yes`/`on`/`debug`). Default: off. | |
| XALLOR_DATA_DIR | No | Account/token store directory. Default: ${XDG_DATA_HOME:-~/.local/share}/xallor-email-mcp. | ${XDG_DATA_HOME:-~/.local/share}/xallor-email-mcp |
| XALLOR_HTTP_HOST | No | HTTP host. Default: 127.0.0.1. | |
| XALLOR_HTTP_PORT | No | HTTP port. Default: 3000. | |
| XALLOR_TRANSPORT | No | Transport mode: `stdio` or `http`. `--http` forces `http`. Default: stdio. | stdio |
| XALLOR_TOOLS_ENABLED | No | Tool allowlist. Empty = no filtering. | |
| XALLOR_TOOLS_DISABLED | No | Tool blocklist. Empty = no filtering. | |
| XALLOR_GMAIL_CLIENT_ID | No | Optional Google OAuth client override. Defaults to the built-in Desktop client. | |
| XALLOR_OUTLOOK_CLIENT_ID | No | Optional Entra public client ID. Defaults to the built-in public client. | |
| XALLOR_OUTLOOK_TENANT_ID | No | Outlook tenant. Default: common. | |
| XALLOR_GMAIL_REDIRECT_URI | No | Hosted Gmail OAuth callback. Defaults to local loopback callback. | |
| XALLOR_GMAIL_CLIENT_SECRET | No | Optional Google OAuth secret override. Built-in secret only for the built-in client ID. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_accountsA | List all email accounts known to this server (no secrets). Use the returned |
| add_accountA | Start adding an email account. For Outlook this returns a device code the user must enter at the verification URL; then call |
| complete_add_accountA | Poll/finalize a pending add_account flow. For Outlook, poll after the user completes the device-code step. For Gmail, pass the full final redirected URL supplied by the user as authorizationResponse, with provider 'gmail' and the original handle; preserve all query parameters, including code and state. Polling without the URL only works if the server received the browser callback automatically. Returns ready when the account is persisted. |
| get_account_settingsB | Get the effective HTML signature and local style preferences. Gmail's signature takes precedence, with local fallback only when Gmail returns none; lookup failures return an error. |
| set_account_settingsA | Set local signature (HTML snippet) and/or style preferences for an account. For Gmail, the local signature is fallback only when Gmail returns none. Returns the saved local signature, not Gmail's signature. Clearing local does not clear Gmail; use |
| remove_accountC | Forget an account and delete its stored tokens. |
| list_emailsB | List recent emails in a folder of the given account. Pass the user's email address as |
| get_new_emailsA | Fetch a bounded batch of inbox emails not previously returned by this tool. Agents should call this on their own schedule. Bodies are returned as markdown and may be truncated. Each email may include |
| search_emailsA | Search emails using optional free text and address filters. |
| read_emailA | Fetch a single email with full body and recipients by id. Body is returned as |
| read_attachmentA | Download an email attachment to a temporary file and return its path. Use messageId and attachmentId from a prior read_email call. The response may include the parent message's |
| list_foldersA | List available mail folders. Returns top-level folders by default, or child folders of the given parent when |
| create_folderB | Create a new mail folder. Creates under the root folder by default, or under the specified parent when |
| delete_folderC | Delete a mail folder by ID. |
| rename_folderC | Rename an existing mail folder. |
| archive_emailA | Archive a message using the provider-native behavior: Gmail removes only the Inbox label (the message stays in All Mail); other providers use their archive folder. Returns |
| trash_emailC | Move a message to the Deleted Items (trash) folder. Returns |
| move_emailB | Move a message to any folder by well-known name (e.g. 'inbox', 'drafts', 'junkemail', 'sentitems', 'outbox') or custom folder ID. Returns |
| mark_readC | Mark a message as read. Returns |
| mark_unreadB | Mark a message as unread. Returns |
| send_emailA | Send an email from the given account using Markdown only; raw HTML is not supported. Use a blank line between paragraphs. Applies account style preferences and appends Gmail's signature first, falling back to the local signature only when Gmail returns none, when |
| draft_emailA | Create a draft email from the given account without sending it. Body content must be Markdown only, without raw HTML; use a blank line between paragraphs. Works identically to send_email — when |
| edit_draftA | Edit an existing draft email by ID. Only the fields you provide are updated — unmentioned fields stay unchanged. Body edits work like an exact text edit: provide |
| send_draftA | Send an existing draft email by ID. Use this with draft IDs returned by |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 24 tools
Most tools have clearly distinct resource+action targets (folders, accounts, drafts, message actions). The main mild overlap is the read-side trio list_emails / get_new_emails / search_emails, where the boundaries are semantic (all vs unseen vs filtered) rather than structural, but descriptions make the intent clear enough.
All 24 tools follow snake_case verb_noun form (list_accounts, create_folder, send_email, mark_read, edit_draft). No camelCase or stylistic mixing; even the draft family (draft_email, edit_draft, send_draft) reads consistently as verb+object.
24 tools sits at the heavy end of the range, but the email domain genuinely branches into accounts, folders, reading, composition, and message actions, and each tool maps to a real distinct operation. Slightly over what an agent can scan comfortably, but nothing appears redundant.
Coverage is broad: account lifecycle (add/list/remove/settings), folder CRUD, read/search/list, compose/draft/edit/send, plus archive/trash/move/mark actions and attachment download. Minor gaps exist — no way to attach files when sending, no permanent delete/purge, and no thread-level view — but agents can work around these for most workflows.