MCP Imap
A simple IMAP adapter for integrating IMAP email services into MCP (Model Context Protocol). It supports deployment via containers or binary files and requires environment variables such as username, password, and server address to be configured.
2 points
6.0K

What is the MCP IMAP Server?

The MCP IMAP Server is a connection tool that allows an AI assistant (such as Claude Desktop) to access your email inbox via the standard IMAP protocol. This means you can let the AI help you read, search, and manage emails without directly sharing your email password with the AI application.

How to use the MCP IMAP Server?

You can use it in two ways: 1) Download the pre - built binary file and run it directly; 2) Run it using a Docker container (recommended). Either way, you need to configure your email account information as environment variables.

Use cases

It is very useful when you want an AI assistant to help you process emails. For example: quickly find specific emails, summarize the content of unread emails, organize emails by sender or subject, or let the AI assist you in replying based on the email content.

Main Features

IMAP Protocol Support
Supports the standard IMAP protocol and is compatible with most email service providers, including Gmail, Outlook, Yahoo, etc.
Containerized Deployment
Provides a Docker container image to simplify the deployment process and ensure consistent operation in different environments.
Dedicated Gmail Support
Provides configuration guidance specifically for Gmail accounts, including how to set up an app password.
Simple Configuration
Only three environment variables are required for configuration: username, password, and server address.
Advantages
Easy to use: Simple configuration, only a few environment variables are needed
Good compatibility: Supports all standard IMAP email services
Secure connection: Securely connects via the MCP protocol without directly exposing email credentials to the AI application
Containerized: Convenient Docker deployment with a consistent environment
Limitations
Read - only support: The current version mainly supports reading emails, and the email sending function may be limited
Requires an app password: Modern email services such as Gmail require a separate app password to be set up
Basic functions: Focuses on the core IMAP connection and does not include advanced email processing functions

How to Use

Choose a Deployment Method
Choose to use a Docker container (recommended) or directly download the binary file to run according to your preference.
Prepare Email Credentials
For Gmail users, you need to go to the Google account settings to create an app - specific password. Other email services use regular passwords.
Configure Environment Variables
Set three required environment variables: email username, password (or app password), and IMAP server address.
Run the Server
Start the MCP IMAP Server with the configured environment variables.
Connect to the AI Assistant
Configure the MCP connection in your AI assistant (such as Claude Desktop) to point to the running IMAP server.

Usage Examples

Daily Email Summary
Let the AI assistant summarize all important emails received in the past 24 hours for you every morning to quickly understand what needs attention.
Search for Emails Related to a Specific Project
When you need to find all emails related to a specific project, let the AI quickly search and organize relevant information.
Track Customer Communication
Track all email exchanges with a specific customer to understand the communication history.

Frequently Asked Questions

Why does Gmail require an app password?
Is this server secure?
Which email services are supported?
Can I send emails?
How to update the server version?

Related Resources

GitHub Repository
Source code, issue tracking, and latest releases
Docker Image
Official Docker container image
MCP Protocol Documentation
Official documentation of the Model Context Protocol
Google App Password Setup
Create an app - specific password for Gmail

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.8K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
9.9K
5 points
P
Praisonai
PraisonAI is a production-ready multi-AI agent framework with self-reflection capabilities, designed to create AI agents to automate the solution of various problems from simple tasks to complex challenges. It simplifies the construction and management of multi-agent LLM systems by integrating PraisonAI agents, AG2, and CrewAI into a low-code solution, emphasizing simplicity, customization, and effective human-machine collaboration.
Python
9.5K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
10.8K
4 points
M
MCP Agent Mail
MCP Agent Mail is a mail - based coordination layer designed for AI programming agents, providing identity management, message sending and receiving, file reservation, and search functions, supporting asynchronous collaboration and conflict avoidance among multiple agents.
Python
11.8K
5 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
21.7K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
10.3K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
21.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.8K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
36.2K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
25.1K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
33.1K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
65.9K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.3K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
98.0K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase