From 1847b5893565cf935d113c7931ebb940a4f9c5d8 Mon Sep 17 00:00:00 2001 From: Terrence Date: Sat, 2 May 2026 15:56:47 +0800 Subject: [PATCH] fix(mcp): remove unnecessary guard for self.assets.set_download_url tool registration The guard around the registration of the self.assets.set_download_url tool has been removed, ensuring it is always available for configuration. This change addresses issues on 32MB flash devices where the tool was previously skipped due to partition validation checks. Fixes #1962 --- main/mcp_server.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/main/mcp_server.cc b/main/mcp_server.cc index bc96f08..a8b7624 100644 --- a/main/mcp_server.cc +++ b/main/mcp_server.cc @@ -295,7 +295,6 @@ void McpServer::AddUserOnlyTools() { settings.SetString("download_url", url); return true; }); - } } void McpServer::AddTool(McpTool* tool) {