mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-22 07:41:23 -07:00
MCP SSE support (#511)
Matches the config format used by other MCP clients.
This commit is contained in:
@@ -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,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user