From d295c20f774fe98c95439dd502593ad3a7679656 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Mon, 25 Aug 2025 16:13:32 -0700 Subject: [PATCH] feat: show disabled message for MCP if disabled by admin --- gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx b/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx index 98fa7b56c..f20dbb53b 100644 --- a/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx @@ -253,7 +253,7 @@ function MCPSection() { })); }, [servers, selectedProfile]); - if (true) { + if (disableMcp) { return (
@@ -262,6 +262,7 @@ function MCPSection() {
); } + return (