@skillsmith/mcp-server 0.4.4 → 0.4.6
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 +20 -0
- package/README.md +69 -31
- package/dist/.tsbuildinfo +1 -1
- package/dist/src/index.js +4 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/tool-dispatch.d.ts.map +1 -1
- package/dist/src/tool-dispatch.js +3 -0
- package/dist/src/tool-dispatch.js.map +1 -1
- package/dist/src/tools/index.d.ts +2 -0
- package/dist/src/tools/index.d.ts.map +1 -1
- package/dist/src/tools/index.js +2 -0
- package/dist/src/tools/index.js.map +1 -1
- package/dist/src/tools/install.d.ts +10 -0
- package/dist/src/tools/install.d.ts.map +1 -1
- package/dist/src/tools/install.helpers.d.ts +6 -0
- package/dist/src/tools/install.helpers.d.ts.map +1 -1
- package/dist/src/tools/install.helpers.js +23 -2
- package/dist/src/tools/install.helpers.js.map +1 -1
- package/dist/src/tools/install.js +64 -370
- package/dist/src/tools/install.js.map +1 -1
- package/dist/src/tools/install.types.d.ts +3 -1
- package/dist/src/tools/install.types.d.ts.map +1 -1
- package/dist/src/tools/merge.test.d.ts +9 -0
- package/dist/src/tools/merge.test.d.ts.map +1 -0
- package/dist/src/tools/merge.test.js +161 -0
- package/dist/src/tools/merge.test.js.map +1 -0
- package/dist/src/tools/outdated.test.js +1 -1
- package/dist/src/tools/outdated.test.js.map +1 -1
- package/dist/src/tools/recommend.types.d.ts +2 -2
- package/dist/src/tools/skill-audit.test.js +1 -1
- package/dist/src/tools/skill-audit.test.js.map +1 -1
- package/dist/src/tools/skill-diff.d.ts +2 -2
- package/dist/src/tools/skill-rescan.d.ts +107 -0
- package/dist/src/tools/skill-rescan.d.ts.map +1 -0
- package/dist/src/tools/skill-rescan.js +194 -0
- package/dist/src/tools/skill-rescan.js.map +1 -0
- package/dist/src/tools/skill-rescan.test.d.ts +6 -0
- package/dist/src/tools/skill-rescan.test.d.ts.map +1 -0
- package/dist/src/tools/skill-rescan.test.js +238 -0
- package/dist/src/tools/skill-rescan.test.js.map +1 -0
- package/dist/src/tools/uninstall.d.ts +8 -58
- package/dist/src/tools/uninstall.d.ts.map +1 -1
- package/dist/src/tools/uninstall.js +29 -199
- package/dist/src/tools/uninstall.js.map +1 -1
- package/dist/tests/integration/install.integration.test.js +16 -1
- package/dist/tests/integration/install.integration.test.js.map +1 -1
- package/dist/tests/unit/install-helpers.test.js +41 -1
- package/dist/tests/unit/install-helpers.test.js.map +1 -1
- package/dist/tests/unit/skill-pack-audit.test.js +2 -1
- package/dist/tests/unit/skill-pack-audit.test.js.map +1 -1
- package/package.json +7 -4
- package/server.json +3 -3
- package/dist/vitest.config.d.ts +0 -6
- package/dist/vitest.config.d.ts.map +0 -1
- package/dist/vitest.config.js +0 -13
- package/dist/vitest.config.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@skillsmith/mcp-server` are documented here.
|
|
4
|
+
|
|
5
|
+
## v0.4.3
|
|
6
|
+
|
|
7
|
+
- **Co-install recommendations**: `get_skill` responses now include an `also_installed` array — skills frequently installed alongside this one, surfaced once ≥5 co-installs are observed. Also shown on skill detail pages at [www.skillsmith.app/skills](https://www.skillsmith.app/skills).
|
|
8
|
+
- **Repository and homepage links**: `search` and `get_skill` responses now include `repository_url` and `homepage_url` when declared by the skill author.
|
|
9
|
+
- **Compatibility tags**: Skills can declare `compatibility` frontmatter (LLMs, IDEs, platforms). Tags surface in search results and skill detail pages.
|
|
10
|
+
|
|
11
|
+
## v0.4.0
|
|
12
|
+
|
|
13
|
+
- **Quota-based throttling**: `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).
|
|
14
|
+
- **Graceful license degradation**: If the enterprise license check is unavailable, `skill_suggest` falls back to community-tier defaults rather than returning a hard error.
|
|
15
|
+
|
|
16
|
+
## v0.3.18
|
|
17
|
+
|
|
18
|
+
- **Async Initialization**: Server initializes asynchronously for faster startup
|
|
19
|
+
- **WASM Fallback**: Automatic fallback to sql.js when native SQLite unavailable
|
|
20
|
+
- **Robust Context Loading**: Graceful handling of initialization edge cases
|
package/README.md
CHANGED
|
@@ -1,33 +1,24 @@
|
|
|
1
1
|
# @skillsmith/mcp-server
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## What's New in v0.4.3
|
|
6
|
-
|
|
7
|
-
- **Co-install recommendations** (SMI-2761): `get_skill` responses now include an `also_installed` array — skills frequently installed alongside this one, surfaced once ≥5 co-installs are observed. Also shown on skill detail pages at [www.skillsmith.app/skills](https://www.skillsmith.app/skills).
|
|
8
|
-
- **Repository and homepage links** (SMI-2759): `search` and `get_skill` responses now include `repository_url` and `homepage_url` when declared by the skill author.
|
|
9
|
-
- **Compatibility tags** (SMI-2760): Skills can declare `compatibility` frontmatter (LLMs, IDEs, platforms). Tags surface in search results and skill detail pages.
|
|
10
|
-
- **6,054 tests passing** across all packages.
|
|
3
|
+
> **Important:** The bare `skillsmith` package on npm is **not** this project. Install `@skillsmith/mcp-server` for the MCP server or [`@skillsmith/cli`](https://www.npmjs.com/package/@skillsmith/cli) for CLI usage.
|
|
11
4
|
|
|
12
|
-
|
|
5
|
+
MCP (Model Context Protocol) server for agent skill discovery, installation, and management.
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
- **Graceful license degradation**: If the enterprise license check is unavailable, `skill_suggest` falls back to community-tier defaults rather than returning a hard error.
|
|
16
|
-
- **5,575 tests passing** across all packages.
|
|
7
|
+
## What's New in v0.4.5
|
|
17
8
|
|
|
18
|
-
|
|
9
|
+
- **Dependency intelligence**: `skill_validate` warns on deprecated dependencies and undeclared MCP server references. `install_skill`, `get_skill`, and `uninstall_skill` now surface dependency data.
|
|
10
|
+
- **`skill_outdated` tool**: Check installed skills for staleness and dependency satisfaction status.
|
|
11
|
+
- **Encrypted skill detection**: `install_skill` detects git-crypt encrypted skills and returns a clear error instead of misleading validation messages.
|
|
12
|
+
- **v0.4.5 fix**: Resolved missing dependency export that broke v0.4.4 installations.
|
|
19
13
|
|
|
20
|
-
|
|
21
|
-
- **WASM Fallback** (SMI-2206): Automatic fallback to sql.js when native SQLite unavailable
|
|
22
|
-
- **Robust Context Loading** (SMI-2207): Graceful handling of initialization edge cases
|
|
23
|
-
- **612 tests passing** with comprehensive coverage
|
|
14
|
+
See [CHANGELOG.md](./CHANGELOG.md) for previous releases.
|
|
24
15
|
|
|
25
16
|
## Auto-Update Notifications
|
|
26
17
|
|
|
27
18
|
The MCP server checks for updates on startup and notifies you when a newer version is available:
|
|
28
19
|
|
|
29
20
|
```
|
|
30
|
-
[skillsmith] Update available: 0.
|
|
21
|
+
[skillsmith] Update available: 0.4.4 → 0.4.5
|
|
31
22
|
Restart your MCP client to use the latest version.
|
|
32
23
|
```
|
|
33
24
|
|
|
@@ -114,7 +105,7 @@ The Skillsmith API provides access to **14,000+ curated skills** from 20,000+ on
|
|
|
114
105
|
|
|
115
106
|
Skills are served from `api.skillsmith.app` and cached locally for 24 hours.
|
|
116
107
|
|
|
117
|
-
> **Note (v0.3.8):** Fixed critical bug where the MCP server defaulted to offline mode for all users. Search now correctly connects to the production API.
|
|
108
|
+
> **Note (v0.3.8):** Fixed critical bug where the MCP server defaulted to offline mode for all users. Search now correctly connects to the production API.
|
|
118
109
|
|
|
119
110
|
### Why Configure an API Key?
|
|
120
111
|
|
|
@@ -126,7 +117,7 @@ Without an API key, you're limited to **10 total requests** (trial mode). With a
|
|
|
126
117
|
- Usage tracking on your dashboard
|
|
127
118
|
- Priority during high-traffic periods
|
|
128
119
|
|
|
129
|
-
### API Key Configuration
|
|
120
|
+
### API Key Configuration
|
|
130
121
|
|
|
131
122
|
**Step 1:** Get your API key from https://skillsmith.app/account
|
|
132
123
|
|
|
@@ -156,7 +147,7 @@ Without an API key, you're limited to **10 total requests** (trial mode). With a
|
|
|
156
147
|
> | Windows PowerShell | `!$env:SKILLSMITH_API_KEY='your-key-here'` |
|
|
157
148
|
> | Windows CMD | `!set SKILLSMITH_API_KEY=your-key-here` |
|
|
158
149
|
>
|
|
159
|
-
> The `!` prefix in Claude Code runs the command without exposing the output.
|
|
150
|
+
> The `!` prefix in Claude Code runs the command without exposing the output.
|
|
160
151
|
|
|
161
152
|
### Rate Limits by Tier
|
|
162
153
|
|
|
@@ -184,16 +175,24 @@ All tiers include:
|
|
|
184
175
|
|
|
185
176
|
## Available Tools
|
|
186
177
|
|
|
187
|
-
| Tool | Description |
|
|
188
|
-
|
|
189
|
-
| `search` | Search for skills with filters |
|
|
190
|
-
| `get_skill` | Get detailed skill information |
|
|
191
|
-
| `install_skill` | Install a skill to ~/.claude/skills |
|
|
192
|
-
| `uninstall_skill` | Remove an installed skill |
|
|
193
|
-
| `skill_recommend` | Get contextual skill recommendations |
|
|
194
|
-
| `skill_validate` | Validate a skill's structure |
|
|
195
|
-
| `skill_compare` | Compare skills side-by-side |
|
|
196
|
-
| `skill_suggest` | Suggest skills based on project context (counts against monthly quota) |
|
|
178
|
+
| Tool | Description | Tier |
|
|
179
|
+
|------|-------------|------|
|
|
180
|
+
| `search` | Search for skills with filters | Community |
|
|
181
|
+
| `get_skill` | Get detailed skill information | Community |
|
|
182
|
+
| `install_skill` | Install a skill to ~/.claude/skills | Community |
|
|
183
|
+
| `uninstall_skill` | Remove an installed skill | Community |
|
|
184
|
+
| `skill_recommend` | Get contextual skill recommendations | Community |
|
|
185
|
+
| `skill_validate` | Validate a skill's structure | Community |
|
|
186
|
+
| `skill_compare` | Compare skills side-by-side | Community |
|
|
187
|
+
| `skill_suggest` | Suggest skills based on project context (counts against monthly quota) | Community |
|
|
188
|
+
| `skill_outdated` | Check installed skills for staleness and dependency status | Community |
|
|
189
|
+
| `index_local` | Index skills from a local directory | Community |
|
|
190
|
+
| `skill_publish` | Prepare a skill for publishing | Community |
|
|
191
|
+
| `skill_rescan` | Re-scan an installed skill's content | Community |
|
|
192
|
+
| `skill_updates` | Check registry for newer skill versions | Individual+ |
|
|
193
|
+
| `skill_diff` | Section-level diff between skill versions | Individual+ |
|
|
194
|
+
| `skill_pack_audit` | Audit all skills in a directory | Individual+ |
|
|
195
|
+
| `skill_audit` | Check skills for security advisories | Team+ |
|
|
197
196
|
|
|
198
197
|
## Tool Parameters
|
|
199
198
|
|
|
@@ -276,6 +275,45 @@ Proactively suggest relevant skills based on current project context. Counts aga
|
|
|
276
275
|
| `limit` | number | No | Max suggestions to return (default 3, max 10) |
|
|
277
276
|
| `session_id` | string | No | Session identifier (optional, for informational purposes) |
|
|
278
277
|
|
|
278
|
+
### skill_outdated
|
|
279
|
+
|
|
280
|
+
Check installed skills for available updates and dependency satisfaction status.
|
|
281
|
+
|
|
282
|
+
| Parameter | Type | Required | Description |
|
|
283
|
+
|-----------|------|----------|-------------|
|
|
284
|
+
| `include_deps` | boolean | No | Include dependency satisfaction status (default: true) |
|
|
285
|
+
|
|
286
|
+
### skill_diff
|
|
287
|
+
|
|
288
|
+
Show a section-level diff between two versions of a skill. Returns added, removed, and modified headings along with a change type (major/minor/patch) and update recommendation. Requires Individual tier or higher.
|
|
289
|
+
|
|
290
|
+
| Parameter | Type | Required | Description |
|
|
291
|
+
|-----------|------|----------|-------------|
|
|
292
|
+
| `skillId` | string | Yes | Registry skill identifier (e.g. `author/skill-name`) |
|
|
293
|
+
| `oldContent` | string | Yes | Previous SKILL.md content |
|
|
294
|
+
| `newContent` | string | Yes | Updated SKILL.md content |
|
|
295
|
+
| `oldRiskScore` | number | No | Risk score of the old version (0–100) |
|
|
296
|
+
| `newRiskScore` | number | No | Risk score of the new version (0–100) |
|
|
297
|
+
| `hasLocalModifications` | boolean | No | Whether the installed skill has local edits (default: false) |
|
|
298
|
+
| `trustTier` | string | No | Registry trust tier: `verified`, `community`, `experimental` (default: community) |
|
|
299
|
+
|
|
300
|
+
### skill_audit
|
|
301
|
+
|
|
302
|
+
Check installed skills for known security advisories. Requires Team tier or higher. The advisory system is in early access.
|
|
303
|
+
|
|
304
|
+
| Parameter | Type | Required | Description |
|
|
305
|
+
|-----------|------|----------|-------------|
|
|
306
|
+
| `skillIds` | string[] | No | Specific skill IDs to audit (omit to return all skills with active advisories) |
|
|
307
|
+
|
|
308
|
+
### index_local
|
|
309
|
+
|
|
310
|
+
Index local skills from `~/.claude/skills/` directory.
|
|
311
|
+
|
|
312
|
+
| Parameter | Type | Required | Description |
|
|
313
|
+
|-----------|------|----------|-------------|
|
|
314
|
+
| `force` | boolean | No | Force re-indexing even if cache is valid (default: false) |
|
|
315
|
+
| `skillsDir` | string | No | Custom skills directory path (defaults to `~/.claude/skills/`) |
|
|
316
|
+
|
|
279
317
|
## Trust Tiers
|
|
280
318
|
|
|
281
319
|
| Tier | Description |
|