local-skills-mcp 0.3.0 → 0.4.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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
4
4
 
5
+ ## 0.4.0 (2025-11-10)
6
+
7
+ - feat: add skill descriptions to ListTools output ([2451bcb](https://github.com/kdpa-llc/local-skills-mcp/commit/2451bcb)), closes [#50](https://github.com/kdpa-llc/local-skills-mcp/issues/50)
8
+
5
9
  ## 0.3.0 (2025-11-10)
6
10
 
7
11
  - feat: automate version syncing with generated server.json ([ad12154](https://github.com/kdpa-llc/local-skills-mcp/commit/ad12154))
package/dist/index.js CHANGED
@@ -132,7 +132,24 @@ export class LocalSkillsServer {
132
132
  "Invoke with the skill name to receive detailed instructions that enhance your problem-solving approach with structured, expert-level guidance.";
133
133
  // Package built-in skills ensure there are always skills available
134
134
  if (skillNames.length > 0) {
135
- getSkillDescription += `\n\nAvailable skills: ${skillNames.join(", ")}`;
135
+ // Fetch metadata for each skill to get descriptions
136
+ const skillsWithDescriptions = [];
137
+ for (const skillName of skillNames) {
138
+ try {
139
+ const metadata = await this.skillLoader.getSkillMetadata(skillName);
140
+ // Truncate description if too long (max 100 chars)
141
+ let description = metadata.description;
142
+ if (description.length > 100) {
143
+ description = description.substring(0, 97) + "...";
144
+ }
145
+ skillsWithDescriptions.push(`- ${skillName}: ${description}`);
146
+ }
147
+ catch {
148
+ // If metadata fails to load, just show the skill name
149
+ skillsWithDescriptions.push(`- ${skillName}`);
150
+ }
151
+ }
152
+ getSkillDescription += `\n\nAvailable skills:\n${skillsWithDescriptions.join("\n")}`;
136
153
  }
137
154
  const tools = [
138
155
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-skills-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Universal MCP server enabling any LLM or AI agent to utilize expert skills from your local filesystem. Reduces context consumption through lazy loading - only skill names visible initially, full content loads on-demand. Works with Claude, Cline, custom agents, and any MCP-compatible client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",