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

* refactor: remove unused resource and resource template initialization

* chore: implement requested changes
This commit is contained in:
Ralph Khreish
2025-07-18 01:03:41 +03:00
committed by GitHub
parent 75a36ea99a
commit 6d0654cb41
2 changed files with 5 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
"task-master-ai": patch
---
Fix MCP server error when retrieving tools and resources

View File

@@ -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);