@utaba/ucm-mcp-server 1.1.6 → 1.1.8

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.
@@ -62,7 +62,18 @@ export class McpHandler {
62
62
  }
63
63
  catch (error) {
64
64
  this.logger.error('MCP-Handler', `Tool execution failed for ${name}`, '', error);
65
- throw McpErrorHandler.formatError(error);
65
+ // Format the error message for Claude Desktop to display properly
66
+ const formattedError = McpErrorHandler.formatError(error);
67
+ // Instead of throwing, return the error as content so Claude Desktop displays it
68
+ return {
69
+ content: [
70
+ {
71
+ type: 'text',
72
+ text: `Error: ${formattedError.message}`
73
+ }
74
+ ],
75
+ isError: true
76
+ };
66
77
  }
67
78
  }
68
79
  }
@@ -66,16 +66,7 @@ export class SearchArtifactsTool extends BaseToolController {
66
66
  maximum: 100
67
67
  }
68
68
  },
69
- anyOf: [
70
- { required: ['searchText'] },
71
- { required: ['namespace'] },
72
- { required: ['author'] },
73
- { required: ['repository'] },
74
- { required: ['category'] },
75
- { required: ['subcategory'] },
76
- { required: ['filename'] },
77
- { required: ['tags'] }
78
- ]
69
+ required: []
79
70
  };
80
71
  }
81
72
  async handleExecute(params) {
@@ -1,6 +1,6 @@
1
1
  import { BaseToolController } from '../base/BaseToolController.js';
2
2
  //import packageJson from '../../../../publish/package.json' assert { type: 'json' };
3
- const version = '1.1.6'; //TODO: tried to sync this with packageJson but it didn't work.
3
+ const version = '1.1.7'; //TODO: tried to sync this with packageJson but it didn't work.
4
4
  export class HealthCheckController extends BaseToolController {
5
5
  constructor(ucmClient, logger, publishingAuthorId) {
6
6
  super(ucmClient, logger, publishingAuthorId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utaba/ucm-mcp-server",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Universal Context Manager MCP Server - AI-native artifact management",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ucm-mcp-server",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Universal Context Manager MCP Server - AI-native artifact management",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",