systematics-mcp 1.1.1 → 1.2.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.
- package/dist/index.js +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -404,6 +404,18 @@ server.tool("update_deliverable", "Update a deliverable", {
|
|
|
404
404
|
const data = await client.patch(`/api/projects/${projectId}/deliverables/${deliverableId}`, updates);
|
|
405
405
|
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
406
406
|
});
|
|
407
|
+
// ── Project Members ───────────────────────────────────────────────────────
|
|
408
|
+
server.tool("add_project_member", "Add a user as a team member on a project", {
|
|
409
|
+
projectId: z.string().describe("Project UUID"),
|
|
410
|
+
userId: z.string().describe("User UUID to add"),
|
|
411
|
+
role: z.enum(["member", "lead"]).optional().describe("Member role (default: member)"),
|
|
412
|
+
}, async ({ projectId, userId, role }) => {
|
|
413
|
+
const client = getApi();
|
|
414
|
+
if (!client)
|
|
415
|
+
return authRequiredResponse();
|
|
416
|
+
const data = await client.post(`/api/projects/${projectId}/members`, { userId, role: role || "member" });
|
|
417
|
+
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
|
418
|
+
});
|
|
407
419
|
// ── Applications (Pipeline) ───────────────────────────────────────────────
|
|
408
420
|
server.tool("list_applications", "List all applications in the pipeline", {}, async () => {
|
|
409
421
|
const client = getApi();
|