Skip to content

An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.

fix: updateTask enableSilentMode is not defined (#517)

Ralph Khreishe96734a6cc6f
diff --git a/.changeset/tricky-wombats-spend.md b/.changeset/tricky-wombats-spend.md
new file mode 100644
index 00000000..2b961c9c
--- /dev/null
+++ b/.changeset/tricky-wombats-spend.md
@@ -0,0 +1,5 @@
+---
+'task-master-ai': patch
+---
+
+Fix bug when updating tasks on the MCP server (#412)
diff --git a/mcp-server/src/core/direct-functions/update-tasks.js b/mcp-server/src/core/direct-functions/update-tasks.js
index 3e485ae4..0b83a5dd 100644
--- a/mcp-server/src/core/direct-functions/update-tasks.js
+++ b/mcp-server/src/core/direct-functions/update-tasks.js
@@ -6,6 +6,10 @@
import path from 'path';
import { updateTasks } from '../../../../scripts/modules/task-manager.js';
import { createLogWrapper } from '../../tools/utils.js';
+import {
+ enableSilentMode,
+ disableSilentMode
+} from '../../../../scripts/modules/utils.js';
/**
* Direct function wrapper for updating tasks based on new context.