From e8aabecc1acdc22f222f96077ad484cbea97a9db Mon Sep 17 00:00:00 2001 From: jade Date: Wed, 8 Jul 2026 15:32:31 +0900 Subject: [PATCH] feat: Add property-based register toggle for get_template_file_url --- .../axhub/biz/mcp/tool/service/TemplateUtilityService.java | 3 ++- axhub-tool-other/src/main/resources/application.properties | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/axhub-tool-other/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/TemplateUtilityService.java b/axhub-tool-other/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/TemplateUtilityService.java index 8200bc1..3491878 100644 --- a/axhub-tool-other/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/TemplateUtilityService.java +++ b/axhub-tool-other/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/TemplateUtilityService.java @@ -17,7 +17,8 @@ public class TemplateUtilityService extends AbstractMcpToolService { name = "get_template_file_url", description = "각종 양식(엑셀, PDF 등) 샘플 파일의 다운로드 URL을 제공합니다.", prompt = "고객 등록 엑셀 샘플 파일 다운로드 링크 줘.", - mappingId = "COM_TMPL_01" + mappingId = "COM_TMPL_01", + register = false ) public Map getTemplateFileUrl(TemplateDownloadReq data) { try { diff --git a/axhub-tool-other/src/main/resources/application.properties b/axhub-tool-other/src/main/resources/application.properties index dca90a4..4f0d492 100644 --- a/axhub-tool-other/src/main/resources/application.properties +++ b/axhub-tool-other/src/main/resources/application.properties @@ -5,3 +5,6 @@ spring.profiles.active=local # Suppress Kafka Connection Logs logging.level.org.apache.kafka=ERROR + +# MCP Function Register overrides +mcp.functions.get_template_file_url.register=true