by ZilongXue
ClaudePost is a Model Context Protocol (MCP) server that integrates with Claude Desktop to provide a seamless email management interface. It allows users to interact with their emails (search, read, compose, send) using natural language conversations directly within Claude.
ClaudePost is a Model Context Protocol (MCP) server that integrates with Claude Desktop to provide a seamless email management interface. It allows users to interact with their emails (search, read, compose, send) using natural language conversations directly within Claude.
To use ClaudePost, you need Python 3.12+, a Gmail account (or other email provider), and the Claude Desktop application. Setup involves cloning the repository, installing dependencies with uv
, configuring a .env
file with your email credentials (using an app-specific password for Gmail for security), and finally, configuring Claude Desktop by adding a specific mcpServers
entry in its claude_desktop_config.json
file. Once configured, the server runs automatically when Claude Desktop is launched, and you can interact with your emails through natural language commands within Claude.
ClaudePost is ideal for individuals who want to manage their emails efficiently using natural language. Specific use cases include:
Q: What are the prerequisites for using ClaudePost? A: Python 3.12 or higher, a Gmail account (or other email provider), and the Claude Desktop application. For Gmail, two-factor authentication and an app-specific password are required.
Q: How does ClaudePost handle security? A: It emphasizes using app-specific passwords instead of your main account password, especially for Gmail users, and handles email securely with TLS.
Q: Do I need to manually run the ClaudePost server? A: No, the server runs automatically through Claude Desktop. It starts when Claude launches and stops when Claude is closed.
Q: Can I send emails directly without confirmation? A: For security reasons, Claude will always show you the email details for confirmation before actually sending an email.
Q: Where can I find logs for debugging?
A: The application logs detailed information to email_client.log
for debugging and error messages.
A Model Context Protocol (MCP) server that provides a seamless email management interface through Claude. This integration allows you to handle emails directly through natural language conversations with Claude, supporting features like searching, reading, and sending emails securely.
Install uv:
# MacOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Remember to restart your terminal after installation
Clone and set up the project:
# Clone the repository
git clone https://github.com/ZilongXue/claude-post.git
cd claude-post
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv pip install -e .
Create a .env
file in the project root:
EMAIL_ADDRESS=your.email@gmail.com
EMAIL_PASSWORD=your-app-specific-password
IMAP_SERVER=imap.gmail.com
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
Configure Claude Desktop:
First, make sure you have Claude for Desktop installed. You can install the latest version here. If you already have Claude for Desktop, make sure it's updated to the latest version.
Open your Claude Desktop configuration file:
# MacOS
~/Library/Application Support/Claude/claude_desktop_config.json
# Create the file if it doesn't exist
mkdir -p ~/Library/Application\ Support/Claude
touch ~/Library/Application\ Support/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"email": {
"command": "/Users/username/.local/bin/uv",
"args": [
"--directory",
"/path/to/claude-post/src/email_client",
"run",
"email-client"
]
}
}
}
Replace /Users/username
and /path/to/claude-post
with your actual paths.
After updating the configuration, restart Claude Desktop for the changes to take effect.
The server runs automatically through Claude Desktop:
You can interact with your emails using natural language commands. Here are some examples:
Note: For security reasons, Claude will always show you the email details for confirmation before actually sending.
claude-post/
βββ pyproject.toml
βββ README.md
βββ LICENSE
βββ .env # Not included in repo
βββ .python-version # Python version specification
βββ src/
βββ email_client/
βββ __init__.py
βββ __main__.py
βββ server.py # Main implementation
.env
fileThe application logs detailed information to email_client.log
. Check this file for debugging information and error messages.
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by elie222
An AIβpowered email assistant that automates inbox management, enabling users to reach inbox zero fast by handling replies, labeling, archiving, unsubscribing, and providing analytics through a plainβtext prompt configuration.
by makenotion
Provides a remote Model Context Protocol server for the Notion API, enabling OAuthβbased installation and optimized toolsets for AI agents with minimal token usage.
by sooperset
MCP Atlassian is a Model Context Protocol (MCP) server that integrates AI assistants with Atlassian products like Confluence and Jira. It enables AI to automate tasks, search for information, and manage content within Atlassian ecosystems.
by ggozad
Interact with Ollama models through an intuitive terminal UI, supporting persistent chats, system prompts, model parameters, and MCP tools integration.
by nbonamy
A desktop AI assistant that bridges dozens of LLM, image, video, speech, and search providers, offering chat, generative media, RAG, shortcuts, and extensible plugins directly from the OS.
by GongRzhe
Provides tools for creating, editing, and enhancing PowerPoint presentations through a comprehensive set of MCP operations powered by python-pptx.
by GongRzhe
Creates, reads, and manipulates Microsoft Word documents through a standardized interface for AI assistants, enabling rich editing, formatting, and analysis capabilities.
by GongRzhe
Gmail-MCP-Server is a Model Context Protocol (MCP) server that integrates Gmail functionalities into AI assistants like Claude Desktop. It enables natural language interaction for email management, supporting features like sending, reading, and organizing emails.
by nspady
google-calendar-mcp is a Model Context Protocol (MCP) server that integrates Google Calendar with AI assistants. It enables AI assistants to manage Google Calendar events, including creating, updating, deleting, and searching for events.