kanban-zone-mcp-server 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kanban-zone-mcp-server",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Model Context Protocol server for the Kanban Zone public API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.kanbanzone.io/mcp",
@@ -20,7 +20,6 @@
20
20
  ],
21
21
  "main": "src/index.js",
22
22
  "bin": {
23
- "kanban-zone-mcp": "src/index.js",
24
23
  "kanban-zone-mcp-server": "src/index.js"
25
24
  },
26
25
  "files": [
package/src/constants.js CHANGED
@@ -8,7 +8,7 @@ const DEFAULT_PAGE_SIZE = 20;
8
8
  const MAX_PAGE_SIZE = 100;
9
9
 
10
10
  const SERVER_NAME = 'kanban-zone-mcp-server';
11
- const SERVER_VERSION = '0.1.2';
11
+ const SERVER_VERSION = '0.1.4';
12
12
 
13
13
  const REQUEST_TIMEOUT_MS = 30000;
14
14
 
@@ -378,7 +378,8 @@ const registerCardsTools = server => {
378
378
  response_format === ResponseFormat.JSON
379
379
  ? toJsonString(data)
380
380
  : `# Metrics for card ${id}\n${toJsonString(data)}`;
381
- return { content: [{ type: 'text', text }], structuredContent: data };
381
+ // The metrics endpoint returns an array; MCP structuredContent must be an object.
382
+ return { content: [{ type: 'text', text }], structuredContent: { metrics: data } };
382
383
  })
383
384
  );
384
385
 
@@ -117,9 +117,10 @@ const registerTasksTools = server => {
117
117
  method: 'POST',
118
118
  body: { checklistFrom, checklistTo, position },
119
119
  });
120
+ // The move endpoint returns a plain string; MCP structuredContent must be an object.
120
121
  return {
121
122
  content: [{ type: 'text', text: `Moved task ${id}.` }],
122
- structuredContent: data || { ok: true },
123
+ structuredContent: { ok: true },
123
124
  };
124
125
  })
125
126
  );