@skillvault/mcp-92e7d0ae 1.0.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.
Files changed (2) hide show
  1. package/index.js +56 -0
  2. package/package.json +18 -0
package/index.js ADDED
@@ -0,0 +1,56 @@
1
+ #!/usr/bin/env node
2
+ import { Server } from '@modelcontextprotocol/sdk/server/index.js';
3
+ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
4
+ import {
5
+ CallToolRequestSchema,
6
+ ListToolsRequestSchema,
7
+ } from '@modelcontextprotocol/sdk/types.js';
8
+
9
+ const server = new Server(
10
+ { name: "ㄴㅇㄴㅇ", version: '1.0.0' },
11
+ { capabilities: { tools: {} } }
12
+ );
13
+
14
+ const SKILL_CONTENT = "ㄴㅇㄴ";
15
+
16
+ server.setRequestHandler(ListToolsRequestSchema, async () => ({
17
+ tools: [
18
+ {
19
+ name: "run_skill",
20
+ description: "[개발] ㄴㅇㄴㅇ - ㄴㅇ",
21
+ inputSchema: {
22
+ type: 'object',
23
+ properties: {
24
+ input: {
25
+ type: 'string',
26
+ description: '스킬에 전달할 입력값 (선택)',
27
+ },
28
+ },
29
+ },
30
+ },
31
+ ],
32
+ }));
33
+
34
+ server.setRequestHandler(CallToolRequestSchema, async (request) => {
35
+ if (request.params.name === "run_skill") {
36
+ const userInput = request.params.arguments?.input ?? '';
37
+ return {
38
+ content: [
39
+ {
40
+ type: 'text',
41
+ text: userInput
42
+ ? SKILL_CONTENT + '\n\n--- User Input ---\n' + userInput
43
+ : SKILL_CONTENT,
44
+ },
45
+ ],
46
+ };
47
+ }
48
+
49
+ return {
50
+ content: [{ type: 'text', text: 'Unknown tool' }],
51
+ isError: true,
52
+ };
53
+ });
54
+
55
+ const transport = new StdioServerTransport();
56
+ await server.connect(transport);
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@skillvault/mcp-92e7d0ae",
3
+ "version": "1.0.0",
4
+ "description": "ㄴㅇㄴ",
5
+ "type": "module",
6
+ "bin": {
7
+ "mcp-92e7d0ae": "./index.js"
8
+ },
9
+ "dependencies": {
10
+ "@modelcontextprotocol/sdk": "^1.0.0"
11
+ },
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "mcp",
15
+ "skillvault",
16
+ "ai-skill"
17
+ ]
18
+ }