@utaba/ucm-mcp-server 5.3.1 → 6.0.0

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.
@@ -1,6 +1,6 @@
1
1
  import { McpError, McpErrorCode } from '../utils/McpErrorHandler.js';
2
2
  // Import utility tools
3
- import { HealthCheckController } from '../tools/utility/HealthCheckController.js';
3
+ // import { HealthCheckController } from '../tools/utility/HealthCheckController.js'; // commented out — use ucm_connect instead
4
4
  import { QuickstartTool } from '../tools/utility/QuickstartTool.js';
5
5
  import { AuthorIndexTool } from '../tools/utility/AuthorIndexTool.js';
6
6
  import { AuthorRecentsTool } from '../tools/utility/AuthorRecentsTool.js';
@@ -54,7 +54,7 @@ export class ToolRegistry {
54
54
  registerTools() {
55
55
  // Register utility tools
56
56
  this.registerTool(new QuickstartTool(this.ucmClient, this.logger, this.authorId));
57
- this.registerTool(new HealthCheckController(this.ucmClient, this.logger, this.authorId));
57
+ // this.registerTool(new HealthCheckController(this.ucmClient, this.logger, this.authorId)); // commented out — use ucm_connect instead
58
58
  this.registerTool(new AuthorIndexTool(this.ucmClient, this.logger, this.authorId));
59
59
  this.registerTool(new AuthorRecentsTool(this.ucmClient, this.logger, this.authorId));
60
60
  this.registerTool(new ListRepositoriesTool(this.ucmClient, this.logger, this.authorId));
@@ -8,8 +8,8 @@ export class CreateRepositoryTool extends BaseToolController {
8
8
  return 'ucm_create_repository';
9
9
  }
10
10
  get description() {
11
- const authorInfo = this.publishingAuthorId ? ` Your author default author id is '${this.publishingAuthorId}'.` : '';
12
- return `Create a new repository for a specific author. Repository names must be unique within the author namespace and follow UCM naming conventions. (3-200 characters, start with letter, alphanumeric and hyphens only, no consecutive hyphens).${authorInfo}`;
11
+ const authorInfo = this.publishingAuthorId ? ` Your default workspace id is '${this.publishingAuthorId}'.` : '';
12
+ return `Create a new repository for a specific workspace. Repository names must be unique within the workspace and follow UCM naming conventions. (3-200 characters, start with letter, alphanumeric and hyphens only, no consecutive hyphens).${authorInfo}`;
13
13
  }
14
14
  get inputSchema() {
15
15
  return {
@@ -17,7 +17,7 @@ export class CreateRepositoryTool extends BaseToolController {
17
17
  properties: {
18
18
  author: {
19
19
  type: 'string',
20
- description: this.publishingAuthorId ? `Author identifier: ${this.publishingAuthorId}` : 'Author identifier (e.g., "utaba", "1064600359")',
20
+ description: this.publishingAuthorId ? `Workspace identifier: ${this.publishingAuthorId}` : 'Workspace identifier (e.g., "utaba", "1064600359")',
21
21
  minLength: 1,
22
22
  maxLength: 50
23
23
  },
@@ -18,7 +18,7 @@ export class DeleteRepositoryGuidanceTool extends BaseToolController {
18
18
  properties: {
19
19
  author: {
20
20
  type: 'string',
21
- description: this.publishingAuthorId ? `Author identifier: ${this.publishingAuthorId}` : 'Author identifier (e.g., "utaba", "1064600359")',
21
+ description: this.publishingAuthorId ? `Workspace identifier: ${this.publishingAuthorId}` : 'Workspace identifier (e.g., "utaba", "1064600359")',
22
22
  minLength: 1,
23
23
  maxLength: 50
24
24
  },
@@ -8,7 +8,7 @@ export class GetRepositoryTool extends BaseToolController {
8
8
  return 'ucm_get_repository';
9
9
  }
10
10
  get description() {
11
- const authorInfo = this.publishingAuthorId ? ` Your author id is '${this.publishingAuthorId}'.` : '';
11
+ const authorInfo = this.publishingAuthorId ? ` Your workspace id is '${this.publishingAuthorId}'.` : '';
12
12
  return `Get detailed information about a specific repository, including metadata, statistics, and available categories. Returns repository details along with its content structure.${authorInfo}`;
13
13
  }
14
14
  get inputSchema() {
@@ -17,7 +17,7 @@ export class GetRepositoryTool extends BaseToolController {
17
17
  properties: {
18
18
  author: {
19
19
  type: 'string',
20
- description: this.publishingAuthorId ? `Author identifier: ${this.publishingAuthorId}` : 'Author identifier (e.g., "utaba", "1064600359")',
20
+ description: this.publishingAuthorId ? `Workspace identifier: ${this.publishingAuthorId}` : 'Workspace identifier (e.g., "utaba", "1064600359")',
21
21
  minLength: 1,
22
22
  maxLength: 50
23
23
  },
@@ -8,7 +8,7 @@ export class UpdateRepositoryTool extends BaseToolController {
8
8
  return 'ucm_update_repository';
9
9
  }
10
10
  get description() {
11
- const authorInfo = this.publishingAuthorId ? ` Your default author id is '${this.publishingAuthorId}'.` : '';
11
+ const authorInfo = this.publishingAuthorId ? ` Your default workspace id is '${this.publishingAuthorId}'.` : '';
12
12
  return `Update repository metadata including display name and description.${authorInfo}`;
13
13
  }
14
14
  get inputSchema() {
@@ -17,7 +17,7 @@ export class UpdateRepositoryTool extends BaseToolController {
17
17
  properties: {
18
18
  author: {
19
19
  type: 'string',
20
- description: this.publishingAuthorId ? `Author identifier: ${this.publishingAuthorId}` : 'Author identifier (e.g., "utaba", "1064600359")',
20
+ description: this.publishingAuthorId ? `Workspace identifier: ${this.publishingAuthorId}` : 'Workspace identifier (e.g., "utaba", "1064600359")',
21
21
  minLength: 1,
22
22
  maxLength: 50
23
23
  },
@@ -110,7 +110,8 @@ export class SharePointReadFileTool extends BaseToolController {
110
110
  hasMore: result.hasMore,
111
111
  content: result.content,
112
112
  conversionNotes: result.conversionNotes,
113
- convertedAt: result.convertedAt
113
+ convertedAt: result.convertedAt,
114
+ viewInBrowserUrl: result.viewInBrowserUrl
114
115
  };
115
116
  // Add nextOffset if there's more content
116
117
  if (result.hasMore && result.nextOffset !== undefined) {
@@ -7,7 +7,7 @@ export class AuthorIndexTool extends BaseToolController {
7
7
  return 'ucm_get_author_index';
8
8
  }
9
9
  get description() {
10
- return `Discover a dynamic markdown index guide for AI assistants working with an author\'s content. Your author id is '${this.publishingAuthorId}'`;
10
+ return `Discover a dynamic markdown index guide for AI assistants working with a workspace\'s content. Your workspace id is '${this.publishingAuthorId}'`;
11
11
  }
12
12
  get inputSchema() {
13
13
  return {
@@ -15,7 +15,7 @@ export class AuthorIndexTool extends BaseToolController {
15
15
  properties: {
16
16
  author: {
17
17
  type: 'string',
18
- description: `Author identifier: ${this.publishingAuthorId || '1234567890'}`
18
+ description: `Workspace identifier: ${this.publishingAuthorId || '1234567890'}`
19
19
  }
20
20
  },
21
21
  required: ['author']
@@ -7,7 +7,7 @@ export class AuthorRecentsTool extends BaseToolController {
7
7
  return 'ucm_get_author_recents';
8
8
  }
9
9
  get description() {
10
- return `Generate author activity tracking showing the 20 most recently modified artifacts within an author context. Your author id is '${this.publishingAuthorId}'`;
10
+ return `Generate workspace activity tracking showing the 20 most recently modified artifacts within a workspace. Your workspace id is '${this.publishingAuthorId}'`;
11
11
  }
12
12
  get inputSchema() {
13
13
  return {
@@ -15,7 +15,7 @@ export class AuthorRecentsTool extends BaseToolController {
15
15
  properties: {
16
16
  author: {
17
17
  type: 'string',
18
- description: `Author identifier: ${this.publishingAuthorId || '1234567890'}`
18
+ description: `Workspace identifier: ${this.publishingAuthorId || '1234567890'}`
19
19
  }
20
20
  },
21
21
  required: ['author']
@@ -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 = '5.3.1'; //TODO: tried to sync this with packageJson but it didn't work.
3
+ const version = '6.0.0'; //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);
@@ -7,7 +7,7 @@ export class ListRepositoriesTool extends BaseToolController {
7
7
  return 'ucm_list_repositories';
8
8
  }
9
9
  get description() {
10
- return 'List all repositories for a specific author with pagination and statistics';
10
+ return 'List all repositories for a specific workspace with pagination and statistics';
11
11
  }
12
12
  get inputSchema() {
13
13
  return {
@@ -15,7 +15,7 @@ export class ListRepositoriesTool extends BaseToolController {
15
15
  properties: {
16
16
  author: {
17
17
  type: 'string',
18
- description: `Author identifier (e.g., "${this.publishingAuthorId || '1234567890'}")`,
18
+ description: `Workspace identifier (e.g., "${this.publishingAuthorId || '1234567890'}")`,
19
19
  minLength: 1,
20
20
  maxLength: 50
21
21
  },
@@ -7,7 +7,7 @@ export class QuickstartTool extends BaseToolController {
7
7
  return 'ucm_connect';
8
8
  }
9
9
  get description() {
10
- return 'CRITICAL MANDATORY READING QUICKSTART: READ THIS FIRST before using any other tools as it will guide you to understand how to use the UCM system and MCP tools effectively';
10
+ return 'Connect to UCM and initialise operational context for the conversation. Call this tool FIRST at the start of every conversation it loads your personalized account information, author IDs, repositories, policies, and connected services. Required for conversation initialisation before using any other UCM tools.';
11
11
  }
12
12
  get inputSchema() {
13
13
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utaba/ucm-mcp-server",
3
- "version": "5.3.1",
3
+ "version": "6.0.0",
4
4
  "description": "Universal Context Manager MCP Server - AI Productivity Platform",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ucm-mcp-server",
3
- "version": "5.3.1",
3
+ "version": "6.0.0",
4
4
  "description": "Universal Context Manager MCP Server - AI Productivity Platform",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",