mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-29 00:56:50 +00:00
fix: add missing type field to MCPServerConfig (#15465)
This commit is contained in:
@@ -1704,7 +1704,8 @@ export const SETTINGS_SCHEMA_DEFINITIONS: Record<
|
||||
},
|
||||
url: {
|
||||
type: 'string',
|
||||
description: 'SSE transport URL.',
|
||||
description:
|
||||
'URL for SSE or HTTP transport. Use with "type" field to specify transport type.',
|
||||
},
|
||||
httpUrl: {
|
||||
type: 'string',
|
||||
@@ -1719,6 +1720,12 @@ export const SETTINGS_SCHEMA_DEFINITIONS: Record<
|
||||
type: 'string',
|
||||
description: 'TCP address for websocket transport.',
|
||||
},
|
||||
type: {
|
||||
type: 'string',
|
||||
description:
|
||||
'Transport type. Use "stdio" for local command, "sse" for Server-Sent Events, or "http" for Streamable HTTP.',
|
||||
enum: ['stdio', 'sse', 'http'],
|
||||
},
|
||||
timeout: {
|
||||
type: 'number',
|
||||
description: 'Timeout in milliseconds for MCP requests.',
|
||||
|
||||
Reference in New Issue
Block a user