loopctl-mcp-server 1.5.0 → 1.6.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/index.js +7 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -159,11 +159,12 @@ async function listProjects() {
|
|
|
159
159
|
return toContent(result);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
async function createProject({ name, slug, repo_url, description, tech_stack }) {
|
|
162
|
+
async function createProject({ name, slug, repo_url, description, tech_stack, mission }) {
|
|
163
163
|
const body = { name, slug };
|
|
164
164
|
if (repo_url) body.repo_url = repo_url;
|
|
165
165
|
if (description) body.description = description;
|
|
166
166
|
if (tech_stack) body.tech_stack = tech_stack;
|
|
167
|
+
if (mission) body.mission = mission;
|
|
167
168
|
const result = await apiCall("POST", "/api/v1/projects", body, process.env.LOOPCTL_ORCH_KEY);
|
|
168
169
|
return toContent(result);
|
|
169
170
|
}
|
|
@@ -637,6 +638,11 @@ const TOOLS = [
|
|
|
637
638
|
repo_url: { type: "string", description: "GitHub repo URL." },
|
|
638
639
|
description: { type: "string", description: "Project description." },
|
|
639
640
|
tech_stack: { type: "string", description: "Tech stack summary." },
|
|
641
|
+
mission: {
|
|
642
|
+
type: "string",
|
|
643
|
+
description:
|
|
644
|
+
"Optional project mission/goal statement that cascades into story context. Surfaces in get_story responses as project_mission so agents see the why without a second fetch. Max 2000 chars.",
|
|
645
|
+
},
|
|
640
646
|
},
|
|
641
647
|
required: ["name", "slug"],
|
|
642
648
|
},
|