@olaservo/skill-jack-mcp 0.1.0 → 0.1.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.
- package/README.md +14 -5
- package/dist/skill-tool.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Skill Jack MCP
|
|
2
2
|
|
|
3
|
-
An MCP server that jacks [Agent Skills](https://agentskills.
|
|
3
|
+
An MCP server that jacks [Agent Skills](https://agentskills.io) directly into your LLM's brain.
|
|
4
|
+
|
|
5
|
+
> **Recommended:** For best results, use an [MCP client](https://modelcontextprotocol.io/clients) that supports server instructions. This allows the LLM to see available skills in its system prompt, enabling automatic skill discovery and activation. Without this support, the model will still be able to call these tools, but you might need to provide more explicit instructions on what skills are available and the intended activation patterns.
|
|
4
6
|
|
|
5
7
|
## Features
|
|
6
8
|
|
|
@@ -52,7 +54,7 @@ skill-jack-mcp "C:/Users/you/skills"
|
|
|
52
54
|
|
|
53
55
|
## How It Works
|
|
54
56
|
|
|
55
|
-
The server implements the [Agent Skills](https://agentskills.
|
|
57
|
+
The server implements the [Agent Skills](https://agentskills.io) progressive disclosure pattern:
|
|
56
58
|
|
|
57
59
|
1. **At startup**: Discovers skills from configured directory
|
|
58
60
|
2. **On connection**: Server instructions (with skill metadata) are sent in the initialize response
|
|
@@ -96,7 +98,7 @@ Read files within a skill's directory (`scripts/`, `references/`, `assets/`, `sn
|
|
|
96
98
|
|
|
97
99
|
This follows the Agent Skills spec's progressive disclosure pattern - resources are loaded only when needed.
|
|
98
100
|
|
|
99
|
-
**
|
|
101
|
+
**Read a single file:**
|
|
100
102
|
```json
|
|
101
103
|
{
|
|
102
104
|
"skill": "mcp-server-ts",
|
|
@@ -104,7 +106,14 @@ This follows the Agent Skills spec's progressive disclosure pattern - resources
|
|
|
104
106
|
}
|
|
105
107
|
```
|
|
106
108
|
|
|
107
|
-
**
|
|
109
|
+
**Read all files in a directory:**
|
|
110
|
+
```json
|
|
111
|
+
{
|
|
112
|
+
"skill": "algorithmic-art",
|
|
113
|
+
"path": "templates"
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
Returns all files in the directory as multiple content items.
|
|
108
117
|
|
|
109
118
|
**List available files** (pass empty path):
|
|
110
119
|
```json
|
|
@@ -213,6 +222,6 @@ npx @modelcontextprotocol/inspector@latest node dist/index.js /path/to/skills
|
|
|
213
222
|
|
|
214
223
|
## Related
|
|
215
224
|
|
|
216
|
-
- [Agent Skills Specification](https://agentskills.
|
|
225
|
+
- [Agent Skills Specification](https://agentskills.io)
|
|
217
226
|
- [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
218
227
|
- [Example MCP Clients](https://modelcontextprotocol.io/clients)
|
package/dist/skill-tool.js
CHANGED
|
@@ -87,7 +87,7 @@ const SkillResourceSchema = z.object({
|
|
|
87
87
|
skill: z.string().describe("Skill name"),
|
|
88
88
|
path: z
|
|
89
89
|
.string()
|
|
90
|
-
.describe("Relative path
|
|
90
|
+
.describe("Relative path to file or directory. Examples: 'snippets/tool.ts' (single file), 'templates' (all files in directory), '' (list available files)."),
|
|
91
91
|
});
|
|
92
92
|
// Security constants (exported for reuse in skill-resources.ts)
|
|
93
93
|
export const MAX_FILE_SIZE = 10 * 1024 * 1024; // 10MB max file size
|