MCP cover image
See in Github
2025-03-13

Este servidor MCP proporciona funcionalidad de envío de correo electrónico utilizando el servicio SMTP de ProtonMail. Permite que tanto Claude Desktop como Cline VScode Extension envíen correos electrónicos en su nombre utilizando sus credenciales de Protonmail.

1

Github Watches

3

Github Forks

6

Github Stars

Protonmail MCP Server

This MCP server is provided by amotivv, inc., the creators of Memory Box.

License: MIT

Memory Box

This MCP server provides email sending functionality using Protonmail's SMTP service. It allows both Claude Desktop and Cline VSCode extension to send emails on your behalf using your Protonmail credentials.

Compatibility

This MCP server is compatible with:

  • Claude Desktop App: The standalone desktop application for Claude
  • Cline VSCode Extension: The Claude extension for Visual Studio Code

The same implementation works across both platforms since they both use the Model Context Protocol (MCP) standard.

Features

  • Send emails to one or multiple recipients
  • Support for CC and BCC recipients
  • Support for both plain text and HTML email content
  • Comprehensive error handling and logging

Configuration

The server requires the following environment variables to be set in the MCP settings files for both Claude Desktop and Cline:

Claude Desktop Configuration

Located at: /Users/your-username/Library/Application Support/Claude/claude_desktop_config.json

Cline VSCode Extension Configuration

Located at: /Users/your-username/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Both configuration files require the following environment variables:

  • PROTONMAIL_USERNAME: Your Protonmail email address
  • PROTONMAIL_PASSWORD: Your Protonmail SMTP password (not your regular login password)
  • PROTONMAIL_HOST: SMTP server hostname (default: smtp.protonmail.ch)
  • PROTONMAIL_PORT: SMTP server port (default: 587 for STARTTLS, 465 for SSL/TLS)
  • PROTONMAIL_SECURE: Whether to use a secure connection (default: "false" for port 587, "true" for port 465)
  • DEBUG: Enable debug logging (set to "true" to see detailed logs, "false" to hide them)

For detailed information about Protonmail's SMTP service, including how to get your SMTP password, please refer to the official Protonmail SMTP documentation.

Usage

Once configured, you can use the MCP server to send emails with the following tool:

send_email

Sends an email using your Protonmail SMTP account.

Parameters:

  • to: Recipient email address(es). Multiple addresses can be separated by commas.
  • subject: Email subject line
  • body: Email body content (can be plain text or HTML)
  • isHtml: (Optional) Whether the body contains HTML content (default: false)
  • cc: (Optional) CC recipient(s), separated by commas
  • bcc: (Optional) BCC recipient(s), separated by commas

Example:

<use_mcp_tool>
<server_name>protonmail-mcp</server_name>
<tool_name>send_email</tool_name>
<arguments>
{
  "to": "recipient@example.com",
  "subject": "Test Email from Cline",
  "body": "This is a test email sent via the Protonmail MCP server.",
  "cc": "optional-cc@example.com"
}
</arguments>
</use_mcp_tool>

Troubleshooting

If you encounter issues with the MCP server, check the following:

  1. Ensure your Protonmail SMTP credentials are correct in both configuration files
  2. Verify that the SMTP port is not blocked by your firewall
  3. Check if your Protonmail account has any sending restrictions
  4. Look for error messages in the logs:
    • Claude Desktop app logs
    • Cline VSCode extension output panel
  5. Restart the Claude Desktop app or reload the VSCode window after configuration changes

Development

To build the project:

cd protonmail-mcp
npm install
npm run build

To modify the server, edit the files in the src directory and rebuild the project.

Installation

This MCP server can be installed in both Claude Desktop and Cline VSCode extension. Here's how to add it to your environment:

Manual Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/protonmail-mcp.git
    cd protonmail-mcp
    
  2. Install dependencies and build the project:

    npm install
    npm run build
    
  3. Add the server configuration to your MCP settings files (see Configuration section above)

Using Cline to Install from GitHub

Cline can automatically clone and build MCP servers from GitHub repositories. To use this feature:

  1. Provide Cline with the GitHub repository URL
  2. Let Cline clone and build the server
  3. Provide any necessary configuration information (like SMTP credentials)

For detailed instructions on installing MCP servers from GitHub using Cline, see the Cline MCP Server Installation Documentation.

Resources

Finding More MCP Servers

You can find additional MCP servers in these repositories and directories:

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • modelcontextprotocol
  • Servidores de protocolo de contexto modelo

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

    Reviews

    4 (1)
    Avatar
    user_YFDWqoTM
    2025-04-16

    I've been using protonmail-mcp and it has significantly enhanced my email experience. The seamless integration with ProtonMail and user-friendly interface make managing emails a breeze. Kudos to amotivv for creating such an efficient tool. Highly recommended for anyone looking to optimize their email communication. Check it out on GitHub!