resend-mcp-server
Allows sending emails via the Resend API, enabling automated email sending such as daily account payable reports.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@resend-mcp-serverSend email to finance@shiftmc.com.br subject 'Weekly Summary' body 'Please review'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Resend MCP Server — Shift Mobilidade
Servidor MCP remoto (HTTPS) que dá ao Claude a ferramenta send_email, enviando pela API do Resend. Use nas automações (ex.: Relatório Diário de Contas a Pagar) para que o envio funcione mesmo com a sua máquina desligada.
O que tem aqui
server.js— servidor MCP (Streamable HTTP) com a ferramentasend_email.package.json,Dockerfile,.env.example,.gitignore.
Related MCP server: Resend MCP
Pré-requisitos no Resend
Domínio verificado: em Resend → Domains, adicione
shiftmobilidade.com.bre crie os registros DNS (SPF, DKIM) até ficar Verified.API key nova com permissão Sending access (rotacione a antiga que foi exposta).
Remetente: ex.
automacoes@shiftmobilidade.com.br.
Variáveis de ambiente
Veja .env.example. Em produção, configure no painel do host (não use arquivo .env):
RESEND_API_KEY(segredo)SENDER_EMAIL_ADDRESSMCP_AUTH_TOKEN(segredo — protege o endpoint)ALLOWED_RECIPIENT_DOMAINS(opcional, recomendado)
Rodar local (teste)
cd resend-mcp-server
npm install
cp .env.example .env # preencha os valores
node --env-file=.env server.js
# Servidor em http://localhost:3000 (endpoint MCP: POST /mcp)Deploy
Render (simples)
Suba esta pasta num repositório Git.
Render → New → Web Service → conecte o repo.
Runtime: Docker (usa o
Dockerfile).Em Environment, adicione as variáveis acima.
Deploy. A URL pública fica tipo
https://resend-mcp-shift.onrender.com.
Google Cloud Run
gcloud run deploy resend-mcp \
--source . \
--region southamerica-east1 \
--allow-unauthenticated \
--set-env-vars SENDER_EMAIL_ADDRESS=automacoes@shiftmobilidade.com.br,ALLOWED_RECIPIENT_DOMAINS=shiftmc.com.br,shiftmobilidade.com.br \
--set-secrets RESEND_API_KEY=resend-api-key:latest,MCP_AUTH_TOKEN=mcp-auth-token:latest(crie os secrets no Secret Manager antes).
Railway
New Project → Deploy from repo → adicione as variáveis → Railway expõe uma URL HTTPS.
Adicionar como conector no Claude (Cowork)
Configurações → Conectores → Adicionar conector personalizado.
URL:
https://SEU-HOST/mcpCabeçalho de autenticação:
Authorization: Bearer <MCP_AUTH_TOKEN>Salvar. A ferramenta
send_emailfica disponível e a automação passa a enviar pelo Resend.
Teste rápido do endpoint (lista de ferramentas)
curl -s https://SEU-HOST/mcp \
-H "Authorization: Bearer <MCP_AUTH_TOKEN>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Deve retornar a ferramenta send_email.
Segurança
MCP_AUTH_TOKENimpede que terceiros usem seu endpoint de envio.ALLOWED_RECIPIENT_DOMAINSevita uso indevido para enviar a domínios externos.Guarde
RESEND_API_KEYeMCP_AUTH_TOKENno secret manager do host; nunca em Git.Logue os envios (id do Resend, destinatários, assunto) para auditoria.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect any mailbox to Claude, ChatGPT & AI: read, send, reply, schedule & search emails.
Email for AI agents — send, receive as a webhook, manage domains, templates, routing.
Send transactional emails for AI agents via SMTP. Templates included.
Related MCP Servers
- AlicenseBqualityDmaintenanceA tool integration that enables Claude to compose and send emails through the Resend API, supporting features like scheduled delivery and file attachments.117,286 npm7MIT
- AlicenseNot gradedqualityDmaintenanceEnables sending emails through the Resend service API. Provides a simple email sending tool that integrates with MCP-compatible clients.4 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables sending emails and managing email delivery through Resend's API, allowing users to compose and send emails using natural language.1MIT
- FlicenseBqualityDmaintenanceEnables Claude to read unread emails and create draft responses using the Gmail API.2-