@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 +58 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.js +58 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,8 +36,62 @@ module.exports = __toCommonJS(src_exports);
|
|
|
36
36
|
var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
|
|
37
37
|
var import_stdio = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
38
38
|
|
|
39
|
+
// package.json
|
|
40
|
+
var package_default = {
|
|
41
|
+
name: "@mtaap/mcp",
|
|
42
|
+
version: "0.2.11",
|
|
43
|
+
description: "Model Context Protocol (MCP) server for AI agents to interact with Collab - the multi-tenant collaborative agent development platform",
|
|
44
|
+
mcpName: "collab",
|
|
45
|
+
scripts: {
|
|
46
|
+
build: "tsup"
|
|
47
|
+
},
|
|
48
|
+
main: "./dist/index.js",
|
|
49
|
+
types: "./dist/index.d.ts",
|
|
50
|
+
bin: {
|
|
51
|
+
"collab-mcp": "./dist/cli.js"
|
|
52
|
+
},
|
|
53
|
+
publishConfig: {
|
|
54
|
+
access: "public"
|
|
55
|
+
},
|
|
56
|
+
exports: {
|
|
57
|
+
".": {
|
|
58
|
+
types: "./dist/index.d.ts",
|
|
59
|
+
require: "./dist/index.js"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
files: [
|
|
63
|
+
"dist"
|
|
64
|
+
],
|
|
65
|
+
keywords: [
|
|
66
|
+
"mcp",
|
|
67
|
+
"model-context-protocol",
|
|
68
|
+
"ai",
|
|
69
|
+
"agent",
|
|
70
|
+
"collaboration",
|
|
71
|
+
"task-management",
|
|
72
|
+
"claude",
|
|
73
|
+
"anthropic"
|
|
74
|
+
],
|
|
75
|
+
license: "Proprietary",
|
|
76
|
+
author: "MTAAP Contributors",
|
|
77
|
+
engines: {
|
|
78
|
+
node: ">=18.18.0"
|
|
79
|
+
},
|
|
80
|
+
dependencies: {
|
|
81
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
82
|
+
zod: "^4.3.5"
|
|
83
|
+
},
|
|
84
|
+
devDependencies: {
|
|
85
|
+
"@mtaap/config-typescript": "workspace:*",
|
|
86
|
+
"@mtaap/core": "workspace:*",
|
|
87
|
+
"@types/node": "^22.0.0",
|
|
88
|
+
tsup: "^8.5.1",
|
|
89
|
+
typescript: "^5.4.0"
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
|
|
39
93
|
// src/version.ts
|
|
40
|
-
var VERSION =
|
|
94
|
+
var VERSION = package_default.version;
|
|
41
95
|
|
|
42
96
|
// src/index.ts
|
|
43
97
|
var import_zod3 = require("zod");
|
|
@@ -1056,10 +1110,11 @@ var MCPApiClient = class {
|
|
|
1056
1110
|
/**
|
|
1057
1111
|
* List accessible projects
|
|
1058
1112
|
*/
|
|
1059
|
-
async listProjects(workspaceType
|
|
1113
|
+
async listProjects(workspaceType) {
|
|
1114
|
+
const type = workspaceType || "ALL";
|
|
1060
1115
|
return this.request(
|
|
1061
1116
|
"GET",
|
|
1062
|
-
`/api/mcp/projects?workspaceType=${encodeURIComponent(
|
|
1117
|
+
`/api/mcp/projects?workspaceType=${encodeURIComponent(type)}`
|
|
1063
1118
|
);
|
|
1064
1119
|
}
|
|
1065
1120
|
/**
|