Skip to content

Commit 5f2057f

Browse files
committed
small mistake
Signed-off-by: Lukas Schaefer <[email protected]>
1 parent 8ed6bec commit 5f2057f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ex_app/lib/all_tools/mcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
async def get_tools(nc: Nextcloud):
15-
mcp_json = nc.appconfig_ex.get_value("mcp_config", {})
15+
mcp_json = nc.appconfig_ex.get_value("mcp_config", "{}")
1616
try:
1717
mcp_config = json.loads(mcp_json)
1818
except JSONDecodeError:

ex_app/lib/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async def lifespan(app: FastAPI):
7777
SettingsField(
7878
id="mcp_config",
7979
title=_("MCP Config"),
80-
description=_("JSON configuration for the MCP. For an example look at https://langchain-ai.github.io/langgraph/agents/mcp/ but make sure to only use http transport MCPs."),
80+
description=_("JSON configuration for the MCP. For an example look at https://langchain-ai.github.io/langgraph/agents/mcp/ but make sure to only use streamable_http MCPs."),
8181
type=SettingsFieldType.TEXT,
8282
default="",
8383
placeholder="{\"weather\": {\"url\": \"https://weather.internet/mcp\",\"transport\": \"streamable_http\"}}",

0 commit comments

Comments
 (0)