@mtaap/mcp 0.2.10 → 0.2.12

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/dist/cli.js CHANGED
@@ -27,8 +27,62 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
28
28
  var import_stdio = require("@modelcontextprotocol/sdk/server/stdio.js");
29
29
 
30
+ // package.json
31
+ var package_default = {
32
+ name: "@mtaap/mcp",
33
+ version: "0.2.11",
34
+ description: "Model Context Protocol (MCP) server for AI agents to interact with Collab - the multi-tenant collaborative agent development platform",
35
+ mcpName: "collab",
36
+ scripts: {
37
+ build: "tsup"
38
+ },
39
+ main: "./dist/index.js",
40
+ types: "./dist/index.d.ts",
41
+ bin: {
42
+ "collab-mcp": "./dist/cli.js"
43
+ },
44
+ publishConfig: {
45
+ access: "public"
46
+ },
47
+ exports: {
48
+ ".": {
49
+ types: "./dist/index.d.ts",
50
+ require: "./dist/index.js"
51
+ }
52
+ },
53
+ files: [
54
+ "dist"
55
+ ],
56
+ keywords: [
57
+ "mcp",
58
+ "model-context-protocol",
59
+ "ai",
60
+ "agent",
61
+ "collaboration",
62
+ "task-management",
63
+ "claude",
64
+ "anthropic"
65
+ ],
66
+ license: "Proprietary",
67
+ author: "MTAAP Contributors",
68
+ engines: {
69
+ node: ">=18.18.0"
70
+ },
71
+ dependencies: {
72
+ "@modelcontextprotocol/sdk": "^1.0.0",
73
+ zod: "^4.3.5"
74
+ },
75
+ devDependencies: {
76
+ "@mtaap/config-typescript": "workspace:*",
77
+ "@mtaap/core": "workspace:*",
78
+ "@types/node": "^22.0.0",
79
+ tsup: "^8.5.1",
80
+ typescript: "^5.4.0"
81
+ }
82
+ };
83
+
30
84
  // src/version.ts
31
- var VERSION = "0.2.7";
85
+ var VERSION = package_default.version;
32
86
 
33
87
  // src/index.ts
34
88
  var import_zod3 = require("zod");
@@ -1047,10 +1101,11 @@ var MCPApiClient = class {
1047
1101
  /**
1048
1102
  * List accessible projects
1049
1103
  */
1050
- async listProjects(workspaceType = "ALL") {
1104
+ async listProjects(workspaceType) {
1105
+ const type = workspaceType || "ALL";
1051
1106
  return this.request(
1052
1107
  "GET",
1053
- `/api/mcp/projects?workspaceType=${encodeURIComponent(workspaceType)}`
1108
+ `/api/mcp/projects?workspaceType=${encodeURIComponent(type)}`
1054
1109
  );
1055
1110
  }
1056
1111
  /**