Skip to main content
Glama
createResendClient.ts405 B
import { Resend } from 'resend'; export const createResendClient = () => { const apiKey = process.env.RESEND_API_KEY; const emailHost = process.env.EMAIL_HOST; if (!apiKey) { throw new Error('RESEND_API_KEY environment variable is not set'); } if (!emailHost) { throw new Error('EMAIL_HOST environment variable is not set'); } return { resend: new Resend(apiKey), emailHost }; };

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/pidanmeng/resend-mcp'

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