@skillsmith/mcp-server 0.3.20 → 0.4.1

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.
Files changed (41) hide show
  1. package/README.md +61 -3
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/src/__tests__/LocalIndexer.test.js +136 -0
  4. package/dist/src/__tests__/LocalIndexer.test.js.map +1 -1
  5. package/dist/src/__tests__/middleware/quota-wiring.test.d.ts +17 -0
  6. package/dist/src/__tests__/middleware/quota-wiring.test.d.ts.map +1 -0
  7. package/dist/src/__tests__/middleware/quota-wiring.test.js +80 -0
  8. package/dist/src/__tests__/middleware/quota-wiring.test.js.map +1 -0
  9. package/dist/src/context/project-detector.d.ts.map +1 -1
  10. package/dist/src/context/project-detector.js +6 -1
  11. package/dist/src/context/project-detector.js.map +1 -1
  12. package/dist/src/index.js +24 -2
  13. package/dist/src/index.js.map +1 -1
  14. package/dist/src/indexer/FrontmatterParser.d.ts +4 -0
  15. package/dist/src/indexer/FrontmatterParser.d.ts.map +1 -1
  16. package/dist/src/indexer/FrontmatterParser.js +73 -30
  17. package/dist/src/indexer/FrontmatterParser.js.map +1 -1
  18. package/dist/src/tools/install.js +1 -1
  19. package/dist/src/tools/install.js.map +1 -1
  20. package/dist/src/tools/suggest.d.ts +1 -6
  21. package/dist/src/tools/suggest.d.ts.map +1 -1
  22. package/dist/src/tools/suggest.js +4 -49
  23. package/dist/src/tools/suggest.js.map +1 -1
  24. package/dist/src/tools/validate.helpers.js +1 -1
  25. package/dist/src/tools/validate.helpers.js.map +1 -1
  26. package/dist/tests/e2e/compare.e2e.test.js +1 -1
  27. package/dist/tests/e2e/compare.e2e.test.js.map +1 -1
  28. package/dist/tests/e2e/conflict-resolution.e2e.test.js +1 -1
  29. package/dist/tests/e2e/conflict-resolution.e2e.test.js.map +1 -1
  30. package/dist/tests/e2e/install-flow.e2e.test.js +1 -1
  31. package/dist/tests/e2e/install-flow.e2e.test.js.map +1 -1
  32. package/dist/tests/e2e/recommend.e2e.test.js +1 -1
  33. package/dist/tests/e2e/recommend.e2e.test.js.map +1 -1
  34. package/dist/tests/e2e/skill-flow.e2e.test.js +4 -6
  35. package/dist/tests/e2e/skill-flow.e2e.test.js.map +1 -1
  36. package/dist/tests/e2e/suggest.e2e.test.js +31 -37
  37. package/dist/tests/e2e/suggest.e2e.test.js.map +1 -1
  38. package/dist/tests/performance/search-performance.test.js +6 -8
  39. package/dist/tests/performance/search-performance.test.js.map +1 -1
  40. package/package.json +11 -3
  41. package/server.json +13 -3
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  MCP (Model Context Protocol) server for agent skill discovery, installation, and management.
4
4
 
5
+ ## What's New in v0.4.0
6
+
7
+ - **Quota-based throttling** (SMI-2679): `skill_suggest` now counts against your monthly API quota instead of an undocumented per-session rate limit. Community (1,000/mo), Individual (10,000/mo), Team (100,000/mo), Enterprise (unlimited). See [www.skillsmith.app/pricing](https://www.skillsmith.app/pricing).
8
+ - **Graceful license degradation**: If the enterprise license check is unavailable, `skill_suggest` falls back to community-tier defaults rather than returning a hard error.
9
+ - **5,575 tests passing** across all packages.
10
+
5
11
  ## What's New in v0.3.18
6
12
 
7
13
  - **Async Initialization** (SMI-2205): Server initializes asynchronously for faster startup
@@ -14,7 +20,7 @@ MCP (Model Context Protocol) server for agent skill discovery, installation, and
14
20
  The MCP server checks for updates on startup and notifies you when a newer version is available:
15
21
 
16
22
  ```
17
- [skillsmith] Update available: 0.3.17 → 0.3.18
23
+ [skillsmith] Update available: 0.3.20 → 0.4.0
18
24
  Restart your MCP client to use the latest version.
19
25
  ```
20
26
 
@@ -43,6 +49,44 @@ Add this MCP server to my settings.json:
43
49
  }
44
50
  ```
45
51
 
52
+ ## Platform Configuration
53
+
54
+ Skillsmith works with any MCP-compatible AI agent platform. Add the following to your platform's MCP config file:
55
+
56
+ **Claude Code** (`~/.claude/settings.json`):
57
+
58
+ ```json
59
+ {
60
+ "mcpServers": {
61
+ "skillsmith": {
62
+ "command": "npx",
63
+ "args": ["-y", "@skillsmith/mcp-server"],
64
+ "env": {
65
+ "SKILLSMITH_API_KEY": "sk_live_your_key_here"
66
+ }
67
+ }
68
+ }
69
+ }
70
+ ```
71
+
72
+ **OpenClaw / Cursor / Codex / Antigravity / GitHub Copilot / other MCP clients** (`openclaw.json` or equivalent):
73
+
74
+ ```json
75
+ {
76
+ "mcpServers": {
77
+ "skillsmith": {
78
+ "command": "npx",
79
+ "args": ["-y", "@skillsmith/mcp-server"],
80
+ "env": {
81
+ "SKILLSMITH_API_KEY": "sk_live_your_key_here"
82
+ }
83
+ }
84
+ }
85
+ }
86
+ ```
87
+
88
+ Get your API key at https://skillsmith.app/account (free Community tier available).
89
+
46
90
  After adding to your MCP client settings and restarting, try asking:
47
91
 
48
92
  ```
@@ -54,7 +98,7 @@ After adding to your MCP client settings and restarting, try asking:
54
98
 
55
99
  ## Live Skill Registry
56
100
 
57
- The Skillsmith API provides access to **14,000+ skills** that are:
101
+ The Skillsmith API provides access to **14,000+ curated skills** from 20,000+ on GitHub that are:
58
102
 
59
103
  - **Indexed daily** from GitHub repositories
60
104
  - **Security screened hourly** for vulnerabilities and malicious patterns
@@ -142,7 +186,7 @@ All tiers include:
142
186
  | `skill_recommend` | Get contextual skill recommendations | `"Recommend skills for React"` |
143
187
  | `skill_validate` | Validate a skill's structure | `"Validate the commit skill"` |
144
188
  | `skill_compare` | Compare skills side-by-side | `"Compare jest-helper and vitest-helper"` |
145
- | `skill_suggest` | Suggest skills based on context | `"Suggest skills for my project"` |
189
+ | `skill_suggest` | Suggest skills based on project context (counts against monthly quota) | `"Suggest skills for my project"` |
146
190
 
147
191
  ## Tool Parameters
148
192
 
@@ -207,6 +251,20 @@ Compare multiple skills side-by-side.
207
251
  |-----------|------|----------|-------------|
208
252
  | `skill_ids` | string[] | Yes | Array of skill IDs to compare (2-5) |
209
253
 
254
+ ### skill_suggest
255
+
256
+ Proactively suggest relevant skills based on current project context. Counts against your monthly API quota.
257
+
258
+ | Parameter | Type | Required | Description |
259
+ |-----------|------|----------|-------------|
260
+ | `project_path` | string | Yes | Absolute path to the project directory |
261
+ | `current_file` | string | No | File currently being edited |
262
+ | `recent_commands` | string[] | No | Recent terminal commands (last 5) |
263
+ | `error_message` | string | No | Recent error message, if any |
264
+ | `installed_skills` | string[] | No | Currently installed skill IDs (for filtering) |
265
+ | `limit` | number | No | Max suggestions to return (default 3, max 10) |
266
+ | `session_id` | string | No | Session identifier (optional, for informational purposes) |
267
+
210
268
  ## Trust Tiers
211
269
 
212
270
  | Tier | Description |