convez.ai
MCP Server
RjRaju143

mail_mcp_server

RjRaju143/mail_mcp_server

Ver no GitHub
InicialPluginScore · de 0 a 100

Instalação

$npx convez-ai RjRaju143/mail_mcp_server

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
1
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

README

A tradução para o português deste README ainda está na fila.

Mail MCP Server

A Model Context Protocol (MCP) server for email functionality built with TypeScript and Express.

Features

  • Send emails via SMTP
  • Retrieve email history
  • Delete emails
  • Get latest email
  • MCP protocol integration

Dependencies

Setup

npm install

Configuration

Create a .env file with your email settings:

EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-app-password
EMAIL_FROM=your-email@gmail.com

Usage

Development

npm run dev

Build

npm run build

Start

npm start

Test

npm test

How to Use

Add this server to your MCP client configuration. The server provides the following tools:

  • send_email - Send an email to a recipient
  • get_emails - Retrieve email history with optional limit
  • delete_email - Delete an email by ID
  • get_latest_email - Get the most recent email

MCP Configuration

Add this to your MCP client configuration file:

{
  "mcpServers": {
    "mail-server": {
      "command": "npx",
      "args": ["tsx", "/path/to/mail-mcp-server/dist/index.js"],
      "env": {
        "EMAIL_HOST": "smtp.gmail.com",
        "EMAIL_PORT": "587",
        "EMAIL_USER": "your-email@gmail.com",
        "EMAIL_PASS": "your-app-password",
        "EMAIL_FROM": "your-email@gmail.com"
      }
    }
  }
}
Ver o original no GitHub

Relacionados