Skip to main content
Glama

Brevo MCP

by apicolet
import { z } from 'zod'; // Base types export interface BrevoContact { email?: string; id?: number; emailBlacklisted?: boolean; smsBlacklisted?: boolean; listIds?: number[]; attributes?: Record<string, any>; } export interface EmailOptions { to: { email: string; name?: string }[]; subject: string; htmlContent: string; sender?: { name: string; email: string; }; } export interface ContactAttribute { name: string; category: string; type: string; value?: string; } // Zod schemas export const ContactSchema = z.object({ email: z.string().email().optional(), id: z.number().optional(), emailBlacklisted: z.boolean().optional(), smsBlacklisted: z.boolean().optional(), listIds: z.array(z.number()).optional(), attributes: z.record(z.string(), z.any()).optional() }); export const EmailOptionsSchema = z.object({ to: z.array(z.object({ email: z.string().email(), name: z.string().optional() })), subject: z.string(), htmlContent: z.string(), sender: z.object({ name: z.string(), email: z.string().email() }).optional() });

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/apicolet/brevo-mcp'

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