From 37f512a4048ce8917a10f23e4b948d5f9e676cf1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 9 Oct 2025 07:01:06 +0200 Subject: [PATCH] Add 'silent' log level to config schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Support MCP_LOG_LEVEL=silent for stdio mode - Fixes ZodError: Invalid enum value - Allows complete logging suppression for MCP protocol 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index a20956f..2d7bca6 100644 --- a/src/config.ts +++ b/src/config.ts @@ -7,7 +7,7 @@ const ConfigSchema = z.object({ mcp: z.object({ host: z.string().default('127.0.0.1'), port: z.number().default(19017), - logLevel: z.enum(['debug', 'info', 'warn', 'error']).default('info'), + logLevel: z.enum(['debug', 'info', 'warn', 'error', 'silent']).default('info'), }), nats: z.object({ url: z.string().default('nats://localhost:4222'),