FudanMailBox MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FUDAN_MAIL_USER | Yes | Full mailbox address | |
| FUDAN_MAIL_IMAP_HOST | No | IMAP host | imap.exmail.qq.com |
| FUDAN_MAIL_IMAP_PORT | No | IMAP SSL port | 993 |
| FUDAN_MAIL_SMTP_HOST | No | SMTP host | smtp.exmail.qq.com |
| FUDAN_MAIL_SMTP_PORT | No | SMTP SSL port | 465 |
| FUDAN_MAIL_APP_PASSWORD | Yes | Client-specific password | |
| FUDAN_MAIL_DOWNLOAD_DIR | No | Attachment download folder | ~/Downloads/FudanMailBox_MCP |
| FUDAN_MAIL_FROM_ALIASES | No | Comma-separated approved From aliases | |
| FUDAN_MAIL_CONTACTS_PATH | No | Local contact store | %APPDATA%\FudanMailBox_MCP\contacts.json |
| FUDAN_MAIL_ARCHIVE_FOLDER | No | Explicit archive folder if server advertises none | |
| FUDAN_MAIL_SAVE_SENT_COPY | No | Append a copy to Sent after SMTP delivery | true |
| FUDAN_MAIL_MAX_ATTACHMENT_MB | No | Attachment cap enforced by MCP | 50 |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| capabilitiesA | Describe supported features and known server/webmail-only limitations. |
| account_statusB | Return non-secret configuration readiness. Never returns a password/token. |
| test_connectionA | Test authenticated IMAP and SMTP connectivity without reading or sending mail. |
| list_foldersA | List IMAP folders and special-use roles such as Drafts, Sent, Trash, Junk. |
| folder_statusC | Get total and unread counts for one folder. |
| create_folderC | Create an IMAP folder. |
| rename_folderC | Rename an IMAP folder. |
| delete_folderA | Delete an IMAP folder. Requires confirm=true. |
| list_messagesB | List newest messages in a folder without marking them read. |
| search_messagesC | Search one folder. since/before use ISO dates such as 2026-10-01. |
| get_messageB | Read one message, returning headers/body/attachments without marking it read. |
| download_attachmentC | Download one attachment by index to a local directory. |
| set_message_flagsC | Set read/unread and/or starred/unstarred flags. |
| move_messageC | Move a message between folders. |
| archive_messageB | Move a message to the configured or server-advertised archive folder. |
| delete_messageA | Move to Trash by default. Permanent deletion requires permanent=true and confirm=true. |
| save_draftC | Save a server-side draft without sending it. |
| update_draftB | Replace an existing draft. Requires confirm_replace=true. |
| send_messageB | Compose/send mail. Defaults to dry_run=true; send only after user approves preview. |
| reply_messageC | Reply/reply-all to an existing message. Defaults to dry_run=true. |
| forward_messageC | Forward an existing message. Defaults to dry_run=true. |
| list_sender_aliasesB | List sender addresses explicitly allowed by environment configuration. |
| list_contactsA | List the MCP local private contact book (not Tencent server-side contacts). |
| search_contactsC | Search the MCP local private contact book. |
| upsert_contactC | Add or update a local contact by email address. |
| delete_contactA | Delete a local contact. Requires confirm=true. |
| import_correspondentsC | Import recent sender addresses, and optionally recipients, into local contacts. |
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 27 tools
Most tools clearly target distinct resources and actions: folders, messages, drafts, contacts, sending, and account diagnostics. Minor ambiguity exists between save_draft and update_draft (create vs. replace draft), and account_status vs. capabilities/test_connection are all informational though with different scopes.
The set uses consistent snake_case with verb_noun patterns for most tools. A few noun-only names (capabilities, account_status, folder_status) break the pattern, but overall naming remains predictable and readable.
27 tools exceeds the 25-tool threshold considered too many, creating a heavy selection surface for an agent. While the mailbox domain is broad, some account diagnostic tools could be consolidated to reduce cognitive load.
The surface covers folder CRUD, message list/search/read/flags/move/archive/delete, attachment download, draft save/update, send/reply/forward, contact CRUD/import, and account diagnostics. This provides near-complete lifecycle coverage for a webmail client with only very minor gaps.