ietf-imap-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ietf-imap-mcpSearch ietf mailing list for recent messages on QUIC"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ietf-imap-mcp
An MCP server for navigating IETF
mailing-list archives over the IETF IMAP service
(imap.ietf.org:993). It lets an MCP-capable assistant search, page through,
and read list traffic — handy when chairing a working group or BoF and you need
to track what the list is actually saying.
Built to be a good citizen of shared IETF infrastructure. See Respecting IETF resources.
Tools
Tool | What it does |
| Discover list mailboxes (IMAP |
| Search a list; returns message summaries, newest first. |
| Page through a list's messages, newest first. |
| Fetch one message (headers + plain-text body) by UID. |
Related MCP server: IMAP Mini MCP
Configuration
All configuration is via environment variables — no credentials are ever stored in the code or the repo.
Variable | Purpose | Default |
|
|
|
| Email used as the password for anonymous access | — |
| Datatracker password (authenticated access) — plaintext | — |
| Shell command whose stdout is the password (e.g. | — |
| Path to a file containing the password | — |
| Minimum seconds between IMAP commands |
|
| Prefix for bare list names |
|
See .env.example for a copy-paste starting point.
Authentication
Per the IETF lists page, the IMAP service supports two modes.
Anonymous (recommended for public lists)
IMAP anonymous login uses your email address in the password field — this is not a secret. This is all you need for public list archives:
{
"mcpServers": {
"ietf-imap": {
"command": "uv",
"args": ["run", "--directory", "/path/to/ietf-imap-mcp", "python", "-m", "ietf_imap_mcp"],
"env": { "IETF_IMAP_USER": "anonymous", "IETF_IMAP_EMAIL": "you@example.org" }
}
}
}Authenticated (Datatracker — only when anonymous is not possible)
Set IETF_IMAP_USER to your Datatracker username and supply the password.
The password is resolved in this order of preference:
IETF_IMAP_PASSWORD → IETF_IMAP_PASSWORD_CMD → IETF_IMAP_PASSWORD_FILE.
⚠️ Keep the secret out of the config file. Values in an MCP client's
envblock sit in plaintext on disk (and often sync to the cloud). PreferIETF_IMAP_PASSWORD_CMD(resolve from a secret manager at launch) orIETF_IMAP_PASSWORD_FILE(achmod 600file). AvoidIETF_IMAP_PASSWORDexcept for throwaway local testing, and never put a real password in a file you commit.
Recommended — resolve from a secret manager (no secret on disk):
{
"mcpServers": {
"ietf-imap": {
"command": "uv",
"args": ["run", "--directory", "/path/to/ietf-imap-mcp", "python", "-m", "ietf_imap_mcp"],
"env": {
"IETF_IMAP_USER": "your-datatracker-username",
"IETF_IMAP_PASSWORD_CMD": "op read \"op://Private/IETF Datatracker/password\""
}
}
}
}(op is the 1Password CLI; substitute pass, gopass, security find-generic-password,
vault kv get, etc.)
Alternative — a permission-restricted file:
install -m 600 /dev/null ~/.config/ietf-imap/datatracker.pw
printf '%s' 'your-password' > ~/.config/ietf-imap/datatracker.pw"env": {
"IETF_IMAP_USER": "your-datatracker-username",
"IETF_IMAP_PASSWORD_FILE": "~/.config/ietf-imap/datatracker.pw"
}Run
uv run ietf-imap-mcp # stdio MCP server
# or
uv run python -m ietf_imap_mcpRespecting IETF resources
The IMAP server is shared infrastructure. This server:
Read-only — mailboxes are opened with
EXAMINE, neverSELECT; it cannot flag, move, or delete anything.Rate-limited — a minimum interval (default 1s) is enforced between IMAP commands.
Bounded — result counts are hard-capped (≤ 100 per call) so one call can't pull thousands of messages.
Connection-reusing — one TLS connection is kept open rather than reconnecting per call.
Please don't lower the interval or remove the caps to hammer the service. For bulk needs, use rsync archive downloads instead.
Development
uv run pytest # tests are fully mocked — no network, no live IMAPLicense
MIT © 2026 Orie Steele
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables interaction with Gmail through MCP-compatible clients to list, read, search, and send emails. It supports advanced features such as managing labels, handling threaded replies, and utilizing Gmail's native search syntax.Last updated382MIT
- FlicenseAqualityBmaintenanceA lightweight MCP server for interacting with IMAP email accounts to read messages, manage folders, and compose draft replies. It supports standard providers and local bridges, providing tools for searching, fetching attachments, and organizing mailboxes without the ability to send or delete emails.Last updated196
- Alicense-qualityCmaintenanceBridges an MCP-capable agent to an IMAP4 mailbox, enabling folder exploration, message search, retrieval, keyword management, PGP/MIME decryption, and draft creation.Last updatedGPL 2.0
- AlicenseBqualityCmaintenanceEnables users to manage email accounts via IMAP/SMTP, including reading, searching, sending emails with attachments and calendar invites, all through natural language interactions with MCP-compatible clients.Last updated14MIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Agentic search over your Dewey document collections from any MCP-compatible client.
Internet Archive (archive.org) item search & metadata MCP.
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/OR13/ietf-imap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server