- Explore MCP Servers
- MCP_dev_email_server
Mcp Dev Email Server
What is Mcp Dev Email Server
MCP_dev_email_server is an email service built on the MCP framework, designed to facilitate sending and managing emails through a configurable SMTP server.
Use cases
Use cases include sending transactional emails, managing email campaigns, integrating email functionalities into applications, and logging email activities for auditing purposes.
How to use
To use MCP_dev_email_server, install dependencies with ‘pip install -e .’, configure the .env file with your SMTP and database details, create the necessary database table using the provided SQL command, and run the service using ‘sse_run’.
Key features
Key features include customizable SMTP settings, email record management with a database, support for attachments, and a simple command-line interface for running the service.
Where to use
MCP_dev_email_server can be used in various fields such as web applications, automated email notifications, and any system requiring email communication capabilities.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Dev Email Server
MCP_dev_email_server is an email service built on the MCP framework, designed to facilitate sending and managing emails through a configurable SMTP server.
Use cases
Use cases include sending transactional emails, managing email campaigns, integrating email functionalities into applications, and logging email activities for auditing purposes.
How to use
To use MCP_dev_email_server, install dependencies with ‘pip install -e .’, configure the .env file with your SMTP and database details, create the necessary database table using the provided SQL command, and run the service using ‘sse_run’.
Key features
Key features include customizable SMTP settings, email record management with a database, support for attachments, and a simple command-line interface for running the service.
Where to use
MCP_dev_email_server can be used in various fields such as web applications, automated email notifications, and any system requiring email communication capabilities.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
邮件mcp服务使用方法
下载依赖
pip install -e .
然后打开.env文件
# 邮件服务器地址 SMTP_HOST=123 # 服务器接口地址 SMTP_PORT=123 #发件账号 EMAIL_USER=123 #授权码 EMAIL_PASSWORD=123 #数据库 DB_HOST=localhost DB_PORT=11801 DB_USER=root DB_PASSWORD=123456 DB_DATABASE=email_db DB_CHARSET=utf8mb4 #邮箱相关配置 SMTP_HOST=smtp.qq.com SMTP_PORT=465 [email protected] #填写邮件授权码 EMAIL_PASSWORD=
按照你自己的信息填写好
按照如下的sql语句建表
CREATE TABLE IF NOT EXISTS email_record (
id VARCHAR(36) PRIMARY KEY,
`to` TEXT NOT NULL,
subject TEXT,
body TEXT,
status ENUM('draft','sent','failed') DEFAULT 'draft',
attachments TEXT,
created_at DATETIME,
updated_at DATETIME
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
邮件授权码请去你自己的qq邮箱中进行申请
全部配置完毕,终端输入
sse_run
则会在9000端口运行mcp服务,服务配置为 localhost:9000/see,
配置到你的mcpclient中即可
使用终端输入
stdio_run
则会在本地运行stdio的mcp服务,
采用类似如下的json配置即可成功,不过不推荐这种方式
此项目基于原先的mcp规范开发,地址
https://github.com/huangyixin447/MCP_dev_Test01
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










