Skip to main content
Glama
rosauceda

cpanel-mail-mcp

by rosauceda

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

List email accounts this caller can act on (no secrets returned).

In multi-user OAuth mode, only the caller's own account is returned; in single-tenant mode, all configured accounts appear.

list_foldersA

List every IMAP folder (mailbox) the account can see, UTF-7 decoded.

list_recentA

List the most recent messages in a folder (metadata only, newest first).

Use cursor (=previous next_cursor) to page further back in time.

search_emailsA

IMAP SEARCH over one field. Wraps query in quotes for IMAP.

Note: IMAP SEARCH is substring, case-insensitive on most servers, and doesn't support boolean operators. For richer queries, chain calls.

read_emailA

Fetch full headers + body of a message. Attachments listed by name+mime.

Set include_attachments=true to also embed each attachment as base64 (respects the size limit; large attachments may push you over context).

download_attachmentsA

Return message attachments as base64. Filter by filenames to save bytes.

get_threadB

Group messages sharing Message-ID / References / In-Reply-To headers.

send_emailA

Send an email. Supports HTML, attachments, and Save-to-Sent.

On retries after a client timeout, pass the same idempotency_key you used the first time to prevent duplicate delivery.

reply_emailA

Reply to a message. Preserves Message-ID linking + Subject Re: prefix.

reply_all=true includes the original To and Cc in the reply.

forward_emailA

Forward a message. Subject gets Fwd: prefix; original headers quoted.

save_draftB

Save an unsent draft in the account's Drafts folder.

send_inviteB

Send a calendar invite (RFC 5545 ICS, METHOD:REQUEST).

mark_readC

Add the \Seen flag.

mark_unreadC

Remove the \Seen flag.

star_emailB

Add the \Flagged (starred) flag.

unstar_emailC

Remove the \Flagged flag.

move_emailB

Move a message between folders (RFC 6851 MOVE with COPY+EXPUNGE fallback).

copy_emailB

Copy a message to another folder without removing the original.

delete_emailA

Delete a message. Soft-delete by default (moves to Trash).

create_folderA

Create a new IMAP folder and subscribe to it.

delete_folderA

Delete an empty IMAP folder. Fails if not empty (per RFC).

rename_folderC

Rename an IMAP folder.

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/rosauceda/cpanel-mail-mcp'

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