fix: Add streamable MCP server support (#468)

* fix: Add streamable MCP server support(#349)

* “Revert-timeout”

* fix lint and test check

* modify streamable error notify

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
suntp
2025-07-29 14:04:04 +08:00
committed by GitHub
parent bedf7d4af2
commit e178483971
6 changed files with 27 additions and 6 deletions

View File

@@ -47,6 +47,11 @@ export const MCPConfigSchema = z.object({
message: "`env` must be an object of key-value pairs",
})
.optional(),
transport: z
.enum(["sse", "streamable_http"], {
message: "transport must be either sse or streamable_http"
})
.default("sse"),
}),
],
{