@hasna/project 0.1.12 → 0.1.13
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/mcp/index.js
CHANGED
|
@@ -47555,6 +47555,24 @@ function getPkgVersion() {
|
|
|
47555
47555
|
return "0.0.0";
|
|
47556
47556
|
}
|
|
47557
47557
|
}
|
|
47558
|
+
function printHelp() {
|
|
47559
|
+
console.log(`Usage: project-mcp [options]
|
|
47560
|
+
|
|
47561
|
+
MCP server for project management tools (stdio transport)
|
|
47562
|
+
|
|
47563
|
+
Options:
|
|
47564
|
+
-V, --version output the version number
|
|
47565
|
+
-h, --help display help for command`);
|
|
47566
|
+
}
|
|
47567
|
+
var args = process.argv.slice(2);
|
|
47568
|
+
if (args.includes("--help") || args.includes("-h")) {
|
|
47569
|
+
printHelp();
|
|
47570
|
+
process.exit(0);
|
|
47571
|
+
}
|
|
47572
|
+
if (args.includes("--version") || args.includes("-V")) {
|
|
47573
|
+
console.log(getPkgVersion());
|
|
47574
|
+
process.exit(0);
|
|
47575
|
+
}
|
|
47558
47576
|
var server = new McpServer({
|
|
47559
47577
|
name: "project",
|
|
47560
47578
|
version: getPkgVersion()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/mcp/index.test.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED