Skip to main content
Glama

LaunchDarkly MCP Server

Official
by launchdarkly
env.ts869 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { dlv } from "./dlv.js"; import * as z from "zod"; export interface Env { LAUNCHDARKLY_API_KEY?: string | undefined; LAUNCHDARKLY_DEBUG?: boolean | undefined; } export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({ LAUNCHDARKLY_API_KEY: z.string().optional(), LAUNCHDARKLY_DEBUG: z.coerce.boolean().optional(), }); let envMemo: Env | undefined = undefined; /** * Reads and validates environment variables. */ export function env(): Env { if (envMemo) { return envMemo; } envMemo = envSchema.parse( dlv(globalThis, "process.env") ?? dlv(globalThis, "Deno.env") ?? {}, ); return envMemo; } /** * Clears the cached env object. Useful for testing with a fresh environment. */ export function resetEnv() { envMemo = undefined; }

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/launchdarkly/mcp-server'

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