Skip to content

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

refactor: remove unused resource and resource template initialization (#1002)

Ralph Khreish0451ebcc32cd
diff --git a/.changeset/puny-friends-give.md b/.changeset/puny-friends-give.md
new file mode 100644
index 00000000..5ae15339
--- /dev/null
+++ b/.changeset/puny-friends-give.md
@@ -0,0 +1,5 @@
+---
+"task-master-ai": patch
+---
+
+Fix MCP server error when retrieving tools and resources
diff --git a/mcp-server/src/index.js b/mcp-server/src/index.js
index 4ebefe7c..81f91ade 100644
--- a/mcp-server/src/index.js
+++ b/mcp-server/src/index.js
@@ -32,10 +32,6 @@ class TaskMasterMCPServer {
this.server = new FastMCP(this.options);
this.initialized = false;
- this.server.addResource({});
-
- this.server.addResourceTemplate({});
-
// Bind methods
this.init = this.init.bind(this);
this.start = this.start.bind(this);