@leanmcp/cli 0.2.1 → 0.2.3
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 +22 -4
- package/dist/{index.js → index.mjs} +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,14 +14,15 @@ Command-line tool for creating LeanMCP projects with production-ready templates.
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
### Global Installation (Recommended)
|
|
18
|
-
|
|
19
17
|
```bash
|
|
18
|
+
# npm
|
|
20
19
|
npm install -g @leanmcp/cli
|
|
21
|
-
```
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
# GitHub Packages
|
|
22
|
+
npm install -g @leanmcp/cli --registry=https://npm.pkg.github.com
|
|
23
|
+
```
|
|
24
24
|
|
|
25
|
+
Or use without installing:
|
|
25
26
|
```bash
|
|
26
27
|
npx @leanmcp/cli create my-mcp-server
|
|
27
28
|
```
|
|
@@ -393,6 +394,23 @@ Adds a new service to an existing project:
|
|
|
393
394
|
- Includes example Tool, Prompt, and Resource implementations
|
|
394
395
|
- Uses schema validation with `@SchemaConstraint` decorators
|
|
395
396
|
|
|
397
|
+
## 🌟 Showcase Your MCP Server
|
|
398
|
+
|
|
399
|
+
Built something cool with LeanMCP? We'd love to feature it!
|
|
400
|
+
|
|
401
|
+
### How to Get Featured
|
|
402
|
+
|
|
403
|
+
1. **Build** an awesome MCP server using LeanMCP
|
|
404
|
+
2. **Share** your project on GitHub
|
|
405
|
+
3. **Submit** for showcase:
|
|
406
|
+
- Open an issue: [Request Showcase](https://github.com/LeanMCP/leanmcp-sdk/issues/new?title=[Showcase]%20Your%20Project%20Name)
|
|
407
|
+
- Include:
|
|
408
|
+
- Project name and description
|
|
409
|
+
- GitHub repository link
|
|
410
|
+
- What makes it unique
|
|
411
|
+
- Screenshots or demo
|
|
412
|
+
|
|
413
|
+
|
|
396
414
|
## License
|
|
397
415
|
|
|
398
416
|
MIT
|
|
@@ -48,7 +48,7 @@ program.command("create <projectName>").description("Create a new LeanMCP projec
|
|
|
48
48
|
author: "",
|
|
49
49
|
license: "MIT",
|
|
50
50
|
dependencies: {
|
|
51
|
-
"@leanmcp/core": "^0.2
|
|
51
|
+
"@leanmcp/core": "^0.3.2",
|
|
52
52
|
"dotenv": "^16.5.0"
|
|
53
53
|
},
|
|
54
54
|
devDependencies: {
|
|
@@ -114,8 +114,6 @@ await createHTTPServer(serverFactory, {
|
|
|
114
114
|
});
|
|
115
115
|
|
|
116
116
|
console.log(\`\\n${projectName} MCP Server\`);
|
|
117
|
-
console.log(\`HTTP endpoint: http://localhost:\${PORT}/mcp\`);
|
|
118
|
-
console.log(\`Health check: http://localhost:\${PORT}/health\`);
|
|
119
117
|
`;
|
|
120
118
|
await fs.writeFile(path.join(targetDir, "main.ts"), mainTs);
|
|
121
119
|
const exampleServiceTs = `import { Tool, Resource, Prompt, SchemaConstraint, Optional } from "@leanmcp/core";
|