Skip to main content
Glama
Code2Hack18

MCP Email Server

by Code2Hack18

MCP Email Server

A simple Model Context Protocol (MCP) server that allows AI clients such as Cursor to send emails using the Resend email service.

Features

  • Send emails to one or multiple recipients

  • Supports subject and HTML body

  • Uses environment variables for secure configuration

  • Works with Cursor and other MCP-compatible clients

Related MCP server: Resend MCP

Requirements

  • Node.js 20+

  • Resend account

  • Resend API key

  • Verified sender/domain in Resend

  • Cursor or another MCP-compatible MCP client

Setup

  1. Install the project dependencies.

  2. Create a .env file in the project root.

  3. Add your Resend API key and verified sender email.

  4. Start the MCP server.

  5. Add the server to your MCP client's configuration.

Environment Variables

RESEND_API_KEY=your_resend_api_key
RESEND_FROM_EMAIL=your_verified_sender

Never commit .env to Git.

Cursor MCP Configuration

Use absolute paths for both the .env file and the MCP entry file.

{
  "mcpServers": {
    "email-server": {
      "command": "node",
      "args": [
        "--env-file=/ABSOLUTE/PATH/TO/.env",
        "/ABSOLUTE/PATH/TO/app.js"
      ]
    }
  }
}

Replace the paths with the locations on your own machine.

Available Tool

send-mail

Sends an email to one or more recipients.

Parameters:

  • to — Recipient email address(es)

  • subject — Email subject

  • body — Email body

Security

  • Keep API keys in .env.

  • Never commit .env to Git.

  • Use a verified sender/domain with Resend.

  • Do not expose API keys in MCP configuration.

Tech Stack

  • Node.js

  • MCP

  • Resend

  • Zod

  • Cursor

License

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    A simple MCP server that enables users to send emails using Resend's API, integrating with tools like Cursor and Claude Desktop for seamless email composition and delivery.
    91
    10,907
    559
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables sending emails (including mass emailing), querying, updating, and canceling delayed emails via the Resend API.

View all related MCP servers

Related MCP Connectors

  • Email for AI agents — send, receive as a webhook, manage domains, templates, routing.

  • Email for AI agents: send mail, manage contacts, automations & webhooks. Zero-DNS first send.

  • Give an AI agent its own inbox — receive email as a webhook, send over a verified domain.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Code2Hack18/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server