feat(extensions): support Unix domain socket transport for StreamableHttp MCP (#7860)
This commit is contained in:
@@ -5132,6 +5132,11 @@
|
||||
"type": "string",
|
||||
"description": "The name used to identify this extension"
|
||||
},
|
||||
"socket": {
|
||||
"type": "string",
|
||||
"description": "Optional Unix domain socket path for HTTP-over-UDS transport.\nWhen set, the HTTP connection is routed through this socket while\n`uri` is used for the Host header and path.\nUse `@name` for Linux abstract sockets.",
|
||||
"nullable": true
|
||||
},
|
||||
"timeout": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
|
||||
@@ -405,6 +405,13 @@ export type ExtensionConfig = {
|
||||
* The name used to identify this extension
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Optional Unix domain socket path for HTTP-over-UDS transport.
|
||||
* When set, the HTTP connection is routed through this socket while
|
||||
* `uri` is used for the Host header and path.
|
||||
* Use `@name` for Linux abstract sockets.
|
||||
*/
|
||||
socket?: string | null;
|
||||
timeout?: number | null;
|
||||
type: 'streamable_http';
|
||||
uri: string;
|
||||
|
||||
Reference in New Issue
Block a user