MCP server · Audited from source
Imap MCP server
by non-dirty/imap-mcpNo licenceAudited 8 Oct 2026 · source edff266c7580
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
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 →
- nikolausm/imap-mcp-server★ 103!CAUTION
- non-dirty/imap-mcp★ 58!CAUTION
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 2 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 PyPI
imap-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
print(f" IMAP_PASSWORD={password}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathfs.system_paths · imap_mcp/config.py:138
Path("/etc/imap-mcp/config.yaml"),- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
LOWPrompt injectionprompt.transfer_instruction · CLAUDE.md:101
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
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
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.
| Tool | Risk | What it does |
|---|---|---|
delete_email | destructive | Delete email. |
create_task | write | Creates a new task and saves it to a local file. |
move_email | write | Move email to another folder. |
process_meeting_invite | write | Process a meeting invite email and create a draft reply. |
check_calendar_availability_tool | read | Checks calendar availability for a given time slot. |
draft_meeting_reply_tool | read | Drafts a meeting reply (accept/decline) based on calendar invite details and availability. |
draft_reply_tool | read | Creates a draft reply to an email and saves it to the drafts folder. |
email_search | read | Search for emails using a query string. |
flag_email | read | Flag or unflag email. |
identify_meeting_invite_tool | read | Identifies if an email is a meeting invite and extracts relevant details. |
mark_as_read | read | Mark email as read. |
mark_as_unread | read | Mark email as unread. |
process_email | read | Process an email with specified action. |
process_invite_email_tool | read | Processes a meeting invitation email: identifies invite, checks availability, drafts reply, saves draft. |
search_emails | read | Search for emails. |
server_status | read | Get 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{
"mcpServers": {
"imap-mcp": {
"command": "uvx",
"args": [
"imap-mcp"
],
"env": {
"GMAIL_APP_PASSWORD": "${GMAIL_APP_PASSWORD}",
"GMAIL_CLIENT_SECRET": "${GMAIL_CLIENT_SECRET}",
"GMAIL_REFRESH_TOKEN": "${GMAIL_REFRESH_TOKEN}",
"IMAP_PASSWORD": "${IMAP_PASSWORD}"
}
}
}
}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
- !CAUTION B 86 / 100
First audit ·
edff266c7580
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Imap expose?
Is Imap safe to connect to an agent?
What credentials does Imap need?
How current is this page?
Which IMAP MCP server is the right one?
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.
- What is the Imap MCP server?
- What tools does Imap expose?
- Is Imap safe to connect to an agent?