Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Imap MCP server

by non-dirty/imap-mcpNo licenceAudited 8 Oct 2026 · source edff266c7580

PyPI imap-mcp★ 58
!CAUTIONGrade B · 86/100 · 8 Oct 2026 · edff266
58GitHub stars

Is it safe? With care — CAUTION, grade B (86/100). It exposes 16 tools: 12 read, 3 write and 1 destructive. The audit recorded 7 findings (0 critical, 0 high, 3 medium, 3 low). Maintainer's description: IMAP Model Context Protocol server for interactive email processing

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Imap MCP server (non-dirty/imap-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/non-dirty/imap

2 MCP servers are called IMAP. You are viewing non-dirty/imap-mcp. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score86/100!CAUTION B
0 critical0 high3 medium3 low1 info

7 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 2 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner non-dirtyUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIimap-mcp, no version recorded
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last push18 months agoActivity of the repository when we read it.
  • Source commit readedff266c7580The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory16 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (7)

Sorted by severity

MEDIUMInformation disclosuredisclose.log_secret · imap_mcp/app_password.py:67
F-12 Information disclosureCWE-209 · CWE-532Layer L1
print(f"  IMAP_PASSWORD={password}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathfs.system_paths · imap_mcp/config.py:138
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
Path("/etc/imap-mcp/config.yaml"),
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_email
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .windsurfrules
F-13 Inventory / provenanceCWE-1104Layer L0
.windsurfrules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWPrompt injectionprompt.transfer_instruction · CLAUDE.md:101
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Integration tests verify that the IMAP MCP server works correctly with real email services. These tests require valid credentials and network connectivity to external services.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOSupply chainprompt.pipe_to_shell · README.md:69
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

16 declared in source · 1 destructive

12 read3 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_emaildestructiveDelete email.
create_taskwriteCreates a new task and saves it to a local file.
move_emailwriteMove email to another folder.
process_meeting_invitewriteProcess a meeting invite email and create a draft reply.
check_calendar_availability_toolreadChecks calendar availability for a given time slot.
draft_meeting_reply_toolreadDrafts a meeting reply (accept/decline) based on calendar invite details and availability.
draft_reply_toolreadCreates a draft reply to an email and saves it to the drafts folder.
email_searchreadSearch for emails using a query string.
flag_emailreadFlag or unflag email.
identify_meeting_invite_toolreadIdentifies if an email is a meeting invite and extracts relevant details.
mark_as_readreadMark email as read.
mark_as_unreadreadMark email as unread.
process_emailreadProcess an email with specified action.
process_invite_email_toolreadProcesses a meeting invitation email: identifies invite, checks availability, drafts reply, saves draft.
search_emailsreadSearch for emails.
server_statusreadGet server status and configuration info.

Install

audited commit edff266

Read the findings first. The most severe is Information disclosure (medium) at imap_mcp/app_password.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit edff266 only.

claude mcp add imap-mcp --env GMAIL_APP_PASSWORD=${GMAIL_APP_PASSWORD} --env GMAIL_CLIENT_SECRET=${GMAIL_CLIENT_SECRET} --env GMAIL_REFRESH_TOKEN=${GMAIL_REFRESH_TOKEN} --env IMAP_PASSWORD=${IMAP_PASSWORD} -- uvx imap-mcp

The command does not pin a version; the audit covers commit edff266c7580. Transport: not declared. Reads these environment variables: GMAIL_APP_PASSWORD, GMAIL_CLIENT_SECRET, GMAIL_REFRESH_TOKEN, IMAP_PASSWORD. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 86 / 100

    First audit · edff266c7580

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/non-dirty/imap/badge.svg)](https://modelsatlas.com/mcp/non-dirty/imap/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Imap MCP server

What is the Imap MCP server?
IMAP Model Context Protocol server for interactive email processing
What tools does Imap expose?
16 in total: 12 read-only, 3 that write, and 1 that can delete or overwrite (delete_email). Every one is listed on this page with its risk.
Is Imap safe to connect to an agent?
With care. The audit graded it B (86/100) and found 7 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Imap need?
It reads GMAIL_APP_PASSWORD, GMAIL_CLIENT_SECRET, GMAIL_REFRESH_TOKEN and IMAP_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (edff266c7580), read on 2026-10-08. The repository is watched and re-audited when it changes.
Which IMAP MCP server is the right one?
nikolausm/imap-mcp-server. 2 servers share the name; see the side-by-side comparison.

Sources

  • non-dirty/imap-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit edff266c7580Observed · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.