mcp-server-logzio
Version:
Model Context Protocol server for Logz.io log management platform
55 lines • 1.69 kB
TypeScript
import { z } from 'zod';
/**
* Supported Logz.io regions
*/
export declare const LOGZIO_REGIONS: {
readonly us: "https://api.logz.io";
readonly 'us-west': "https://api-wa.logz.io";
readonly eu: "https://api-eu.logz.io";
readonly ca: "https://api-ca.logz.io";
readonly au: "https://api-au.logz.io";
readonly uk: "https://api-uk.logz.io";
};
export type LogzioRegion = keyof typeof LOGZIO_REGIONS;
/**
* Configuration schema for the MCP Logz.io server
*/
export declare const ConfigSchema: z.ZodPipe<z.ZodObject<{
apiKey: z.ZodString;
region: z.ZodDefault<z.ZodEnum<{
us: "us";
"us-west": "us-west";
eu: "eu";
ca: "ca";
au: "au";
uk: "uk";
}>>;
logzioUrl: z.ZodOptional<z.ZodString>;
timeout: z.ZodDefault<z.ZodNumber>;
retryAttempts: z.ZodDefault<z.ZodNumber>;
retryDelay: z.ZodDefault<z.ZodNumber>;
maxResults: z.ZodDefault<z.ZodNumber>;
}, z.core.$strip>, z.ZodTransform<{
apiKey: string;
region: "us" | "us-west" | "eu" | "ca" | "au" | "uk";
timeout: number;
retryAttempts: number;
retryDelay: number;
maxResults: number;
logzioUrl?: string | undefined;
}, {
apiKey: string;
region: "us" | "us-west" | "eu" | "ca" | "au" | "uk";
timeout: number;
retryAttempts: number;
retryDelay: number;
maxResults: number;
logzioUrl?: string | undefined;
}>>;
export type Config = z.infer<typeof ConfigSchema>;
/**
* Parse configuration from command line arguments and environment variables
* Priority: CLI args > env vars > defaults
*/
export declare function parseConfig(args: string[]): Config;
//# sourceMappingURL=config.d.ts.map