mcp-server-tld 1.0.0 → 1.0.1
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/bin/cli.js +1 -24
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1,25 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* CLI entry point for mcp-server-TLD
|
|
5
|
-
*
|
|
6
|
-
* Usage:
|
|
7
|
-
* npx mcp-server-TLD # stdio mode (default)
|
|
8
|
-
* npx mcp-server-TLD --http # HTTP/SSE mode
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const args = process.argv.slice(2);
|
|
12
|
-
|
|
13
|
-
if (args.includes("--http") || args.includes("-h")) {
|
|
14
|
-
import("../build/server/http-server.js").catch((err) => {
|
|
15
|
-
console.error("Failed to start HTTP server:", err.message);
|
|
16
|
-
console.error("Did you run `npm run build` first?");
|
|
17
|
-
process.exit(1);
|
|
18
|
-
});
|
|
19
|
-
} else {
|
|
20
|
-
import("../build/index.js").catch((err) => {
|
|
21
|
-
console.error("Failed to start stdio server:", err.message);
|
|
22
|
-
console.error("Did you run `npm run build` first?");
|
|
23
|
-
process.exit(1);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
2
|
+
import "../build/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-server-tld",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP server for JustLend DAO (TLD) on TRON blockchain. Supports supply, borrow, repay, withdraw, market data, general TRON chain utilities, and AI-guided DeFi prompts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "src/index.ts",
|