Skip to main content
Glama

mcp-imap-server

用于 IMAP 电子邮件访问的 MCP (Model Context Protocol) 服务器。将 Claude 直接连接到您的邮箱。

设置

npm install
npm run build

Related MCP server: icloud-mcp

配置

.env.example 复制为 .env 并填入您的 IMAP 凭据:

cp .env.example .env

Claude Desktop / Claude Code 集成

添加到您的 MCP 配置中(~/.claude.json 或 Claude Desktop 设置):

{
  "mcpServers": {
    "imap": {
      "command": "node",
      "args": ["/path/to/mcp-imap-server/dist/index.js"],
      "env": {
        "IMAP_HOST": "mail.datatp.cloud",
        "IMAP_PORT": "993",
        "IMAP_USER": "your-email",
        "IMAP_PASSWORD": "your-password"
      }
    }
  }
}

工具

工具

描述

list_folders

列出所有邮箱文件夹

list_messages

列出文件夹中的最近邮件

get_message

通过 UID 获取单封邮件

search_messages

按主题、发件人、日期、未读状态搜索邮件

mark_message

设置/移除标记(已读、加星)

move_message

将邮件移动到其他文件夹

delete_message

删除或移至垃圾箱

create_draft

创建新的草稿邮件

create_reply_draft

在现有会话中创建回复草稿(保留 In-Reply-To/References)

Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI models to read, search, and send emails via IMAP and SMTP protocols. It supports various providers like Gmail and Outlook, allowing for tasks such as retrieving unread messages, searching by sender, and managing mailbox folders.
  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that connects Claude to iCloud Mail for reading, searching, sending, and organizing emails through natural language. It supports advanced management tasks like bulk operations, mailbox organization, and automated rules for inbox maintenance.
    69
    52
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A secure MCP server that enables Claude to read, search, send, reply, forward, and manage Gmail messages and labels through natural language commands.
    192
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A cross-platform MCP server that provides Claude with email access via IMAP, supporting multiple email providers and account management.
    MIT

View all related MCP servers

Related MCP Connectors

  • Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.

  • Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.

  • Fully-managed email as MCP tools - register domains, real mailboxes, send and receive mail.

View all MCP Connectors

Latest Blog Posts

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/nqcdan/mcp-imap-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server