@skills-hub-ai/mcp 0.1.2 → 0.1.4
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/README.md +64 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# @skills-hub-ai/mcp
|
|
2
|
+
|
|
3
|
+
MCP server for [skills-hub.ai](https://skills-hub.ai) — serve your installed skills as prompts in Claude Code, Cursor, or any MCP-compatible tool.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
### Claude Code
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
claude mcp add skills-hub -- npx @skills-hub-ai/mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Cursor
|
|
14
|
+
|
|
15
|
+
Add to your Cursor MCP settings (`~/.cursor/mcp.json`):
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"skills-hub": {
|
|
21
|
+
"command": "npx",
|
|
22
|
+
"args": ["@skills-hub-ai/mcp"]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Manual (any MCP client)
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"command": "npx",
|
|
33
|
+
"args": ["@skills-hub-ai/mcp"]
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## How It Works
|
|
38
|
+
|
|
39
|
+
The server scans these directories for installed skills:
|
|
40
|
+
|
|
41
|
+
| Tool | Directory |
|
|
42
|
+
|------|-----------|
|
|
43
|
+
| Claude Code | `~/.claude/skills/` |
|
|
44
|
+
| Cursor | `~/.cursor/skills/` |
|
|
45
|
+
|
|
46
|
+
Each skill directory should contain a `SKILL.md` file (installed via `skills-hub install <slug>`).
|
|
47
|
+
|
|
48
|
+
Skills are exposed as **MCP prompts** — your AI tool can list and invoke them. The server caches discovered skills for 30 seconds.
|
|
49
|
+
|
|
50
|
+
## Installing Skills
|
|
51
|
+
|
|
52
|
+
Use the [CLI](https://www.npmjs.com/package/@skills-hub-ai/cli) to install skills:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx @skills-hub-ai/cli search "code review"
|
|
56
|
+
npx @skills-hub-ai/cli install <skill-name>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Links
|
|
60
|
+
|
|
61
|
+
- [Browse skills](https://skills-hub.ai/browse)
|
|
62
|
+
- [CLI](https://www.npmjs.com/package/@skills-hub-ai/cli)
|
|
63
|
+
- [Getting Started](https://skills-hub.ai/docs/getting-started)
|
|
64
|
+
- [GitHub](https://github.com/tinh2/skills-hub)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skills-hub-ai/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "MCP server for skills-hub.ai — serve installed skills as prompts in any MCP-compatible AI tool",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
31
|
-
"@skills-hub-ai/skill-parser": "0.1.
|
|
31
|
+
"@skills-hub-ai/skill-parser": "0.1.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^22.0.0",
|