@mtaap/mcp 0.2.10 → 0.2.11
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 +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1047,10 +1047,11 @@ var MCPApiClient = class {
|
|
|
1047
1047
|
/**
|
|
1048
1048
|
* List accessible projects
|
|
1049
1049
|
*/
|
|
1050
|
-
async listProjects(workspaceType
|
|
1050
|
+
async listProjects(workspaceType) {
|
|
1051
|
+
const type = workspaceType || "ALL";
|
|
1051
1052
|
return this.request(
|
|
1052
1053
|
"GET",
|
|
1053
|
-
`/api/mcp/projects?workspaceType=${encodeURIComponent(
|
|
1054
|
+
`/api/mcp/projects?workspaceType=${encodeURIComponent(type)}`
|
|
1054
1055
|
);
|
|
1055
1056
|
}
|
|
1056
1057
|
/**
|