From c9ac202bcd71e67bba568455556c1616bca0cb4d Mon Sep 17 00:00:00 2001 From: Dominik Fretz Date: Wed, 27 Aug 2025 10:00:20 +1000 Subject: [PATCH] Update mcp_server_cli.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- mcp_server_cli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mcp_server_cli.py b/mcp_server_cli.py index 28028d5..7981fc1 100755 --- a/mcp_server_cli.py +++ b/mcp_server_cli.py @@ -894,7 +894,11 @@ class MCPServer: description = arguments.get("description") assignee_ids = arguments.get("assignee_ids") completion_subscriber_ids = arguments.get("completion_subscriber_ids") - notify = bool(arguments.get("notify", False)) + notify_arg = arguments.get("notify", False) + if isinstance(notify_arg, str): + notify = notify_arg.strip().lower() in ("1", "true", "yes", "on") + else: + notify = bool(notify_arg) due_on = arguments.get("due_on") starts_on = arguments.get("starts_on")