@leanmcp/cli 0.2.2 → 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/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -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": "^3.
|
|
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";
|