Skip to main content
Glama
bg-imapMCPSever

bg-imapMCPSever

by junga-com

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_HOSTYesIMAP DNS name (required)
IMAP_PORTNoTLS IMAP port993
IMAP_TIMEOUTNoIMAP socket timeout in seconds20
IMAP_PASSWORDYesMailbox/app password (required; an app-specific password is preferable if supported)
IMAP_USERNAMEYesMailbox login (required)
IMAP_MAX_RESULTSNoHard cap for listing/search results50
IMAP_DEFAULT_FOLDERNoReserved default folder settingINBOX
IMAP_MAX_BODY_CHARSNoCap on returned message body characters20000
IMAP_MAX_MESSAGE_BYTESNoCap on fetched message size in bytes3000000

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

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

Tools

Functions exposed to the LLM to take actions

NameDescription
check_connectionA

Test authenticated IMAP connectivity; never return credentials.

list_foldersA

List IMAP folders (raw server entries; flags and quoted names may be present).

folder_statusB

Count total and unread messages in a folder without marking any read.

list_messagesB

List newest message headers by stable IMAP UID (max configured cap).

search_messagesC

Search mailbox TEXT for plain text query, returning matching headers and UIDs.

read_messageA

Read text content and attachment metadata by folder and UID; does not mark read.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: connectivity check, folder listing, folder statistics, message listing, message search, and message reading. There is no meaningful overlap between tools, so an agent can easily select the right one.

Naming Consistency4/5

All tool names use snake_case consistently. Most follow a verb_noun pattern, though folder_status is noun-based rather than verb-based, which is a minor deviation but still clear.

Tool Count5/5

Six tools is well-scoped for a read-only IMAP interface, with each tool covering a distinct step in the email access workflow. No tool feels redundant or unnecessary.

Completeness3/5

The server covers the core read path: connection, folders, status, listing, search, and reading. However, it lacks common IMAP lifecycle operations such as flag updates, moving/deleting messages, folder management, and attachment retrieval, which would limit agents needing write or maintenance tasks.

Maintenance

ActivityMaintained
ResponsivenessNo issues