feat: initTimeout for Slow Starting MCP Servers (#6383)

* feat: make mcp server connect timeout configurable with initTimeout

* style: add missing semicolon to connection.ts
This commit is contained in:
Per Weijnitz 2025-03-19 06:47:02 +01:00 committed by GitHub
parent efb616d600
commit 19446cb864
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ import { extractEnvVariable } from './utils';
const BaseOptionsSchema = z.object({
iconPath: z.string().optional(),
timeout: z.number().optional(),
initTimeout: z.number().optional(),
});
export const StdioOptionsSchema = BaseOptionsSchema.extend({