Skip to main content
Glama

Flutterwave MCP Server

index.ts793 B
import {z} from 'zod'; // environment variable schema for validation const envSchema = z.object({ FLW_SECRET_KEY: z.string().min(1, 'Flutterwave Secret Key is required'), NODE_ENV: z .enum(['development', 'production', 'test']) .optional() .default('development'), }); // Parse and validate environment variables const envParse = envSchema.safeParse(process.env); if (!envParse.success) { console.error('❌ Invalid environment variables:', envParse.error.format()); throw new Error('Invalid environment variables'); } // Export validated config export const config = { flutterwave: { secretKey: envParse.data.FLW_SECRET_KEY, apiUrl: 'https://api.flutterwave.com', version: 'v3', }, server: { environment: envParse.data.NODE_ENV, }, } as const;

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/bajoski34/mcp-flutterwave'

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