Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Read, search and organise any IMAP mailbox, with writes off by default
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
IMAP_HOST, IMAP_USER, IMAP_PASSWORD, IMAP_PORT, IMAP_TLS, IMAP_MAILBOX, IMAP_SEEN_KEYWORD, IMAP_READ_ONLY, IMAP_ALLOW_TOOLS, IMAP_DENY_TOOLS, IMAP_DOWNLOAD_DIR, IMAP_INSECURE_TLS, IMAP_DRAFTS_MAILBOX, IMAP_MAX_MESSAGES, IMAP_MAX_ATTACHMENT_BYTES, IMAP_MAX_DOWNLOAD_BYTES, IMAP_MAX_EXTRACT_BYTES, IMAP_COMMAND_TIMEOUT_SECONDS, IMAP_ATTACHMENT_TYPES, IMAP_TRUSTED_AUTHSERV_ID비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"imap": {
"command": "npx",
"args": [
"-y",
"@ni-c/imap-mcp"
],
"env": {
"IMAP_HOST": "your-value",
"IMAP_USER": "your-value",
"IMAP_PASSWORD": "your-value",
"IMAP_PORT": "your-value",
"IMAP_TLS": "your-value",
"IMAP_MAILBOX": "your-value",
"IMAP_SEEN_KEYWORD": "your-value",
"IMAP_READ_ONLY": "your-value",
"IMAP_ALLOW_TOOLS": "your-value",
"IMAP_DENY_TOOLS": "your-value",
"IMAP_DOWNLOAD_DIR": "your-value",
"IMAP_INSECURE_TLS": "your-value",
"IMAP_DRAFTS_MAILBOX": "your-value",
"IMAP_MAX_MESSAGES": "your-value",
"IMAP_MAX_ATTACHMENT_BYTES": "your-value",
"IMAP_MAX_DOWNLOAD_BYTES": "your-value",
"IMAP_MAX_EXTRACT_BYTES": "your-value",
"IMAP_COMMAND_TIMEOUT_SECONDS": "your-value",
"IMAP_ATTACHMENT_TYPES": "your-value",
"IMAP_TRUSTED_AUTHSERV_ID": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add imap --env IMAP_HOST=your-value --env IMAP_USER=your-value --env IMAP_PASSWORD=your-value --env IMAP_PORT=your-value --env IMAP_TLS=your-value --env IMAP_MAILBOX=your-value --env IMAP_SEEN_KEYWORD=your-value --env IMAP_READ_ONLY=your-value --env IMAP_ALLOW_TOOLS=your-value --env IMAP_DENY_TOOLS=your-value --env IMAP_DOWNLOAD_DIR=your-value --env IMAP_INSECURE_TLS=your-value --env IMAP_DRAFTS_MAILBOX=your-value --env IMAP_MAX_MESSAGES=your-value --env IMAP_MAX_ATTACHMENT_BYTES=your-value --env IMAP_MAX_DOWNLOAD_BYTES=your-value --env IMAP_MAX_EXTRACT_BYTES=your-value --env IMAP_COMMAND_TIMEOUT_SECONDS=your-value --env IMAP_ATTACHMENT_TYPES=your-value --env IMAP_TRUSTED_AUTHSERV_ID=your-value -- npx -y @ni-c/imap-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"imap": {
"command": "npx",
"args": [
"-y",
"@ni-c/imap-mcp"
],
"env": {
"IMAP_HOST": "your-value",
"IMAP_USER": "your-value",
"IMAP_PASSWORD": "your-value",
"IMAP_PORT": "your-value",
"IMAP_TLS": "your-value",
"IMAP_MAILBOX": "your-value",
"IMAP_SEEN_KEYWORD": "your-value",
"IMAP_READ_ONLY": "your-value",
"IMAP_ALLOW_TOOLS": "your-value",
"IMAP_DENY_TOOLS": "your-value",
"IMAP_DOWNLOAD_DIR": "your-value",
"IMAP_INSECURE_TLS": "your-value",
"IMAP_DRAFTS_MAILBOX": "your-value",
"IMAP_MAX_MESSAGES": "your-value",
"IMAP_MAX_ATTACHMENT_BYTES": "your-value",
"IMAP_MAX_DOWNLOAD_BYTES": "your-value",
"IMAP_MAX_EXTRACT_BYTES": "your-value",
"IMAP_COMMAND_TIMEOUT_SECONDS": "your-value",
"IMAP_ATTACHMENT_TYPES": "your-value",
"IMAP_TRUSTED_AUTHSERV_ID": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"imap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ni-c/imap-mcp"
],
"env": {
"IMAP_HOST": "your-value",
"IMAP_USER": "your-value",
"IMAP_PASSWORD": "your-value",
"IMAP_PORT": "your-value",
"IMAP_TLS": "your-value",
"IMAP_MAILBOX": "your-value",
"IMAP_SEEN_KEYWORD": "your-value",
"IMAP_READ_ONLY": "your-value",
"IMAP_ALLOW_TOOLS": "your-value",
"IMAP_DENY_TOOLS": "your-value",
"IMAP_DOWNLOAD_DIR": "your-value",
"IMAP_INSECURE_TLS": "your-value",
"IMAP_DRAFTS_MAILBOX": "your-value",
"IMAP_MAX_MESSAGES": "your-value",
"IMAP_MAX_ATTACHMENT_BYTES": "your-value",
"IMAP_MAX_DOWNLOAD_BYTES": "your-value",
"IMAP_MAX_EXTRACT_BYTES": "your-value",
"IMAP_COMMAND_TIMEOUT_SECONDS": "your-value",
"IMAP_ATTACHMENT_TYPES": "your-value",
"IMAP_TRUSTED_AUTHSERV_ID": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
IMAP_PORT envIMAP_TLS envIMAP_MAILBOX envIMAP_SEEN_KEYWORD envIMAP_READ_ONLY envIMAP_ALLOW_TOOLS envIMAP_DENY_TOOLS envIMAP_DOWNLOAD_DIR envIMAP_INSECURE_TLS envIMAP_DRAFTS_MAILBOX envIMAP_MAX_MESSAGES envIMAP_MAX_ATTACHMENT_BYTES envIMAP_MAX_DOWNLOAD_BYTES envIMAP_MAX_EXTRACT_BYTES envIMAP_COMMAND_TIMEOUT_SECONDS envIMAP_ATTACHMENT_TYPES envIMAP_TRUSTED_AUTHSERV_ID env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 ni-c 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: IMAP_HOST, IMAP_USER, IMAP_PASSWORD
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.7.0)은 3일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js, Docker도 있어야 해요.
같은 카테고리에는: Context7, Codebase Memory, Exa
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A Model Context Protocol (MCP) server for any IMAP mailbox. It speaks IMAP rather than one vendor's API, so it works with whatever provider you already have.
Lets MCP clients like Claude Code, Claude Desktop or Codex read and search your mail, organise it into folders, save attachments and draft replies — with every message fenced as untrusted content, and the write tools off unless you turn them on.
Eleven tools, not fifty: a mail account is a workflow, not an API surface, so related operations are folded into one tool with a mode rather than split across many. And eleven is the ceiling, not the floor — IMAP_ALLOW_TOOLS=essential registers a curated six instead, and under the read-only default that narrows to four. See choosing which tools load.
It cannot send mail. That is the feature. An agent with access to private data, exposure to untrusted content, and a channel to the outside world is exploitable by anyone who can put a message in the inbox — the pattern that produced EchoLeak, where one crafted email exfiltrated internal data from Microsoft 365 Copilot with no user interaction. This server has the first two and deliberately not the third. save_draft writes the reply into your Drafts folder; you send it from your own mail client. No amount of clever text in a message can make this server post anything anywhere.
Writes are off until you turn them on. With only IMAP_HOST, IMAP_USER and IMAP_PASSWORD set, the server registers six read tools and nothing else. The mailbox tools appear with IMAP_READ_ONLY=false — note the default is true, the opposite of the other servers in this family, because this one reaches a mailbox. Tools that are off are not registered at all — a capability the model cannot see is one it cannot be talked into using.
Mail is treated as hostile input, because it is. Anyone in the world can put text in your inbox. Message bodies are fenced between markers carrying a per-call random nonce, _and_ every line inside them is prefixed with that nonce, so the "this is data" signal does not stop at the edges of a long forwarded thread. A reminder follows the block, because otherwise the last instruction-shaped sentence in the model's context is the attacker's. Zero-width characters and directional overrides are stripped before the model sees anything, hidden HTML elements are dropped on a best-effort basis (the fencing, not the stripping, is what carries the weight), and markdown image syntax — inline and reference style — is defused so a rendering client cannot be made to fetch a tracking URL.
That covers folder names too: a folder name is chosen by whoever created the folder, which on a shared mailbox is not necessarily you. list_mailboxes returns the name twice — path exactly as the server spelled it, because that is the handle every other tool takes, and display_name cleaned up for reading, with a warning on the entry when the two differ.
Alongside the message you get a server-side assessment: the SPF/DKIM/DMARC verdicts with the authserv-id they came from, which prompt-injection shapes matched, and which words mix Latin with Cyrillic or Greek letters. When something matches, the warning is the first thing in the result rather than a field buried in JSON.
Those verdicts carry a forgeable flag, and by default it is always true. A sender can write an Authentication-Results header of their own, and if your provider does not add one, theirs is the only one there — nothing inside the message distinguishes the two. Set IMAP_TRUSTED_AUTHSERV_ID to the id your provider stamps (it is the first token of the header on any message you already have) and only that id counts as authentic. Until you do, spf=pass is reported as what it is: a claim, from a header anyone could have written.
"New mail" that actually works. The server tags messages it has handed over with a custom IMAP keyword (AiSeen by default), so list_new_messages returns each message once. The human \Seen state is never touched — everything is read with BODY.PEEK.
Deleting and moving ask a person. Where the client supports MCP elicitation, delete_messages, move_messages and deleting a folder raise a real dialog that the model cannot answer on its behalf. Where it does not, they fall back to a two-call token — and say so, rather than implying somebody approved. ELICITATION=false takes that fallback deliberately; it never removes the guard. See Asking a person.
| Variable | Required | Default | Description |
|---|---|---|---|
IMAP_HOST | yes | — | Hostname of the IMAP server, e.g. imap.example.net |
IMAP_USER | yes | — | Account username, usually the address |
IMAP_PASSWORD | yes | — | Password or app-specific password |
IMAP_PORT | no | 993 / 143 | Defaults by TLS mode |
IMAP_TLS | no | implicit | implicit, starttls or none |
IMAP_MAILBOX | no | INBOX | Mailbox the message tools default to |
IMAP_READ_ONLY | no | `true` | Exactly false registers the five mailbox tools |
IMAP_ALLOW_TOOLS | no | — | Tool names, list_* prefixes or essential |
IMAP_DENY_TOOLS | no | — | Same syntax; subtracted from the allow list |
IMAP_SEEN_KEYWORD | no | AiSeen | Keyword for new-mail tracking; empty turns it off |
IMAP_TRUSTED_AUTHSERV_ID | no | — | The authserv-id your provider stamps; see below |
IMAP_DRAFTS_MAILBOX | no | auto | Overrides the folder found via the \Drafts flag |
IMAP_MAX_MESSAGES | no | 100 | Default page size |
IMAP_MAX_ATTACHMENT_BYTES | no | 1048576 | Ceiling for returning an attachment inline |
IMAP_MAX_DOWNLOAD_BYTES | no | 26214400 | Ceiling for writing one to disk |
IMAP_MAX_EXTRACT_BYTES | no | 10485760 | Ceiling for reading a document's text; max 67108864 |
IMAP_COMMAND_TIMEOUT_SECONDS | no | 30 | Seconds one IMAP command may take; max 600 |
IMAP_ATTACHMENT_TYPES | no | see below | Comma-separated content-type allowlist |
IMAP_DOWNLOAD_DIR | no | — | Setting it allows saving attachments there |
IMAP_INSECURE_TLS | no | false | Exactly true accepts a self-signed certificate |
ELICITATION | no | true | false replaces the dialog with the token. Not prefixed |
Booleans are compared against the literal string true; 1, yes and True are not true. IMAP_READ_ONLY is the mirror image: only the literal false turns it off, so a typo leaves the write tools unregistered.
IMAP_COMMAND_TIMEOUT_SECONDS applies to each IMAP command, not to a whole tool call, and your MCP client has a deadline of its own; read slow servers before raising it.
IMAP_ALLOW_TOOLS and IMAP_DENY_TOOLS take comma-separated tool names; a trailing * matches a whole family. essential is a curated preset of six — list_mailboxes, list_new_messages, list_messages, get_message, set_message_flags and move_messages. Four of those are read tools, so it stays useful under the read-only default.
IMAP_ALLOW_TOOLS=essential
IMAP_ALLOW_TOOLS=list_new_messages,get_message,move_messages IMAP_DENY_TOOLS=delete_messages
One boundary the list cannot draw: move_messages copies as well as moves (mode: "copy"), and the two are one tool. Denying move_messages removes both; there is no way to keep moving and forbid copying, or the other way round. Both modes ask for confirmation.
An entry that matches no tool aborts startup and names it, so a typo cannot silently hide a tool — an absent tool is not something anyone traces back to an environment variable. A filtered tool is never registered, so it is absent from tools/list and unknown to tools/call alike, exactly like a write tool under IMAP_READ_ONLY.
It covers tools, and the attachment resources follow get_attachments: when that tool is filtered out, they are not registered either.
If you run several of these servers at once, mcp-hub is the other answer — its /hub endpoint
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요