@mcp-tool-kit/shared 0.0.9 → 0.0.10
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 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,21 +47,21 @@ Create an MCP server that provides tools, resources, and prompts for MCP clients
|
|
|
47
47
|
The generated server project will have the following structure:
|
|
48
48
|
|
|
49
49
|
├── src/
|
|
50
|
-
│ ├── tools/
|
|
51
|
-
│ │ ├── index.ts
|
|
50
|
+
│ ├── tools/ # MCP tools implementation
|
|
51
|
+
│ │ ├── index.ts # Tools registration
|
|
52
52
|
│ │ └── register*.ts # Individual tool implementations
|
|
53
|
-
│ ├── resources/
|
|
54
|
-
│ │ └── index.ts
|
|
55
|
-
│ ├── prompts/
|
|
56
|
-
│ │ └── index.ts
|
|
57
|
-
│ ├── services/
|
|
58
|
-
│ │ ├── stdio.ts
|
|
59
|
-
│ │ └── web.ts
|
|
60
|
-
│ └── index.ts
|
|
61
|
-
├── tests/
|
|
62
|
-
├── scripts/
|
|
63
|
-
├── .github/
|
|
64
|
-
├── .husky/
|
|
53
|
+
│ ├── resources/ # MCP resources implementation
|
|
54
|
+
│ │ └── index.ts # Resources registration
|
|
55
|
+
│ ├── prompts/ # MCP prompts implementation
|
|
56
|
+
│ │ └── index.ts # Prompts registration
|
|
57
|
+
│ ├── services/ # Server implementations
|
|
58
|
+
│ │ ├── stdio.ts # STDIO transport implementation
|
|
59
|
+
│ │ └── web.ts # Streamable HTTP and SSE transport implementation
|
|
60
|
+
│ └── index.ts # Entry point
|
|
61
|
+
├── tests/ # Test files (optional)
|
|
62
|
+
├── scripts/ # Build and development scripts
|
|
63
|
+
├── .github/ # GitHub Actions workflows (optional)
|
|
64
|
+
├── .husky/ # Git hooks (optional)
|
|
65
65
|
└── package.json
|
|
66
66
|
```
|
|
67
67
|
|