MCP Email Service
@NetworkNerd1337
RCS Quikmail is a Model Context Protocol (MCP) server for sending email using natural language. RCS Quikmail uses post-quantum encryption to secure the client-server message exchange.
概览
What is MCP Email Service?
MCP Email Service is a secure Model Context Protocol (MCP) server and client application for sending emails. It integrates post‑quantum cryptography (CRYSTALS‑Kyber, Falcon, SPHINCS+), AES‑256‑GCM encryption, and spaCy‑based natural language processing (NLP) to parse email requests. Designed for Ubuntu Linux, it provides quantum‑resistant communication and robust email handling.
How to use MCP Email Service?
After setting up environment dependencies and configuring server/config.yaml (with SMTP credentials) and client/config.yaml, run ./run.sh to start the server and client. The client accepts natural language input such as “Send an email to [email protected] with subject Hello and message This is a test.” and forwards it to the server for secure sending. Type quit to exit.
Key features of MCP Email Service
- Uses CRYSTALS‑Kyber for quantum‑resistant key exchange.
- Falcon and SPHINCS+ for digital signatures.
- AES‑256‑GCM for authenticated message encryption.
- spaCy NLP (
en_core_web_sm) for parsing email requests. - Real SMTP integration (e.g., Gmail) for email delivery.
- Asynchronous communication built with
asyncio.
Use cases of MCP Email Service
- Sending emails with natural language commands from a client.
- Secure email transmission with post‑quantum cryptography.
- Automated email workflows requiring quantum‑ready security.
- Integration into MCP‑based applications needing email capabilities.
FAQ from MCP Email Service
What post‑quantum algorithms does it use?
It uses CRYSTALS‑Kyber (ML‑KEM) for key exchange, Falcon for primary digital signatures, and SPHINCS+ as a backup signature algorithm.
What are the system requirements?
Ubuntu Linux 22.04 or later, Python 3.8+, an internet connection, Git, and a valid SMTP account (e.g., Gmail with an App Password).
How does natural language processing work?
spaCy’s en_core_web_sm model parses user input to extract recipient, subject, and message fields, then sends the email via the MCP server.
Where are email credentials stored?
In the server/config.yaml file. It should be protected (e.g., chmod 600) as it contains sensitive SMTP credentials.
What transport does the server use?
The MCP server uses a TCP socket configured via server/config.yaml (default host 0.0.0.0, port 8765). The client connects to the same address. No additional authentication is described beyond configuration security.