ring-skills-mcp 1.2.0 → 1.2.2
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 +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -298,15 +298,16 @@ server.tool("list_skills", "Fetch company Skills list. You can search for specif
|
|
|
298
298
|
const groupsList = matchedGroups
|
|
299
299
|
.map((group, index) => {
|
|
300
300
|
const icon = group.icon || "📦";
|
|
301
|
+
const id = group.id || "";
|
|
301
302
|
const name = group.name || "Unnamed Group";
|
|
302
303
|
const description = group.description || "No description";
|
|
303
304
|
const creator = group.creatorName ? `Creator: ${group.creatorName}` : "";
|
|
304
305
|
const stats = `Views: ${group.viewCount || 0}, Clones: ${group.cloneCount || 0}`;
|
|
305
306
|
// List skills in the group
|
|
306
307
|
const skillsInGroup = group.skills && group.skills.length > 0
|
|
307
|
-
? group.skills.map(s => ` - ${s.icon || "•"} **${s.title}**: ${s.summary || "No description"}`).join("\n")
|
|
308
|
+
? group.skills.map(s => ` - ${s.icon || "•"} **${s.title}**: ${s.summary || "No description"} [${s.id}]`).join("\n")
|
|
308
309
|
: " No skills";
|
|
309
|
-
return `${index + 1}. ${icon} **${name}
|
|
310
|
+
return `${index + 1}. ${icon} **${name}** [${id}]\n ${description}\n ${creator} | ${stats}\n **Skills in this group:**\n${skillsInGroup}`;
|
|
310
311
|
})
|
|
311
312
|
.join("\n\n");
|
|
312
313
|
outputParts.push(`## 🗂️ Skill Groups (${matchedGroups.length} found)\n\n${groupsList}`);
|
|
@@ -390,8 +391,8 @@ server.tool("install_skill", "Install skill to local project by gitUrl. Uses npx
|
|
|
390
391
|
}
|
|
391
392
|
});
|
|
392
393
|
// Register tool: Install Skill Group
|
|
393
|
-
server.tool("install_skill_group", "Install
|
|
394
|
-
groupId: z.string().describe("The ID of the skill group to install (e.g., '697190fc88f4e586fb1a7114')"),
|
|
394
|
+
server.tool("install_skill_group", "Install ALL skills from a skill group to local project at once. When user wants to install an entire skill group (shown in list_skills results with group ID), use this tool instead of install_skill. This will fetch the group details by ID and install all skills that have gitUrl.", {
|
|
395
|
+
groupId: z.string().describe("The ID of the skill group to install. You can get this ID from list_skills results (e.g., '697190fc88f4e586fb1a7114')"),
|
|
395
396
|
host: z
|
|
396
397
|
.string()
|
|
397
398
|
.optional()
|