diff options
Diffstat (limited to 'packages/server/src/config/config.ts')
| -rw-r--r-- | packages/server/src/config/config.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/server/src/config/config.ts b/packages/server/src/config/config.ts index 0a9bc2bf..625b9b93 100644 --- a/packages/server/src/config/config.ts +++ b/packages/server/src/config/config.ts @@ -24,10 +24,14 @@ import { WebSearchTool } from '../tools/web-search.js'; export class MCPServerConfig { constructor( - readonly command: string, + // For stdio transport + readonly command?: string, readonly args?: string[], readonly env?: Record<string, string>, readonly cwd?: string, + // For sse transport + readonly url?: string, + // Common readonly timeout?: number, ) {} } |
