resend-mcp-server
Enables Claude to send emails via the Resend API using the send_email tool.
README
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.
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/mcp - Cabeç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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.