mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 19:44:30 -07:00
feat: consolidate remote MCP servers to use url in config (#13762)
This commit is contained in:
@@ -190,6 +190,12 @@ export class MCPServerConfig {
|
||||
readonly headers?: Record<string, string>,
|
||||
// For websocket transport
|
||||
readonly tcp?: string,
|
||||
// Transport type (optional, for use with 'url' field)
|
||||
// When set to 'http', uses StreamableHTTPClientTransport
|
||||
// When set to 'sse', uses SSEClientTransport
|
||||
// When omitted, auto-detects transport type
|
||||
// Note: 'httpUrl' is deprecated in favor of 'url' + 'type'
|
||||
readonly type?: 'sse' | 'http',
|
||||
// Common
|
||||
readonly timeout?: number,
|
||||
readonly trust?: boolean,
|
||||
|
||||
Reference in New Issue
Block a user