@leanmcp/cli 0.5.9 → 0.5.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/dist/index.js +0 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3702,26 +3702,6 @@ await createHTTPServer({
|
|
|
3702
3702
|
cors: true,
|
|
3703
3703
|
logging: true${dashboardLine}
|
|
3704
3704
|
});
|
|
3705
|
-
|
|
3706
|
-
console.log("\\n${projectName} MCP Server is running!");
|
|
3707
|
-
console.log("\\nTry these commands to test your server:");
|
|
3708
|
-
console.log("");
|
|
3709
|
-
console.log("# Test calculation tool (schema validation)");
|
|
3710
|
-
console.log('curl -X POST http://localhost:3001/mcp \\\\');
|
|
3711
|
-
console.log(' -H "Content-Type: application/json" \\\\');
|
|
3712
|
-
console.log(' -d '{"method": "tools/call", "params": {"name": "calculate", "arguments": {"a": 10, "b": 5, "operation": "add"}}}'');
|
|
3713
|
-
console.log("");
|
|
3714
|
-
console.log("# Test echo tool");
|
|
3715
|
-
console.log('curl -X POST http://localhost:3001/mcp \\\\');
|
|
3716
|
-
console.log(' -H "Content-Type: application/json" \\\\');
|
|
3717
|
-
console.log(' -d '{"method": "tools/call", "params": {"name": "echo", "arguments": {"message": "Hello LeanMCP!"}}}'');
|
|
3718
|
-
console.log("");
|
|
3719
|
-
console.log("# Get server information (resource)");
|
|
3720
|
-
console.log('curl -X POST http://localhost:3001/mcp \\\\');
|
|
3721
|
-
console.log(' -H "Content-Type: application/json" \\\\');
|
|
3722
|
-
console.log(' -d '{"method": "resources/read", "params": {"uri": "server://info"}}'');
|
|
3723
|
-
console.log("");
|
|
3724
|
-
console.log("Ready to customize - add your own tools, resources, and prompts!");
|
|
3725
3705
|
`, "getMainTsTemplate");
|
|
3726
3706
|
|
|
3727
3707
|
// src/templates/service_index_v1.ts
|