From d9444b0f2b563caffc8780198faf1692becb2941 Mon Sep 17 00:00:00 2001 From: Dreamwxz <82244600+Dreamwxz@users.noreply.github.com> Date: Tue, 5 May 2026 19:03:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Pydantic=20=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/official_configs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/official_configs.py b/src/config/official_configs.py index fb96da9a..9a8cb00e 100644 --- a/src/config/official_configs.py +++ b/src/config/official_configs.py @@ -2425,14 +2425,14 @@ class MCPServerItemConfig(ConfigBase): ) """是否启用当前 MCP 服务器""" - transport: Literal["stdio", "streamable_http"] = Field( + transport: Literal["stdio", "streamable_http", "sse"] = Field( default="stdio", json_schema_extra={ "x-widget": "select", "x-icon": "shuffle", }, ) - """传输方式,可选 `stdio` 或 `streamable_http`""" + """传输方式,可选 `stdio`、`streamable_http` 或 `sse`""" command: str = Field( default="",