cryptoiz-mcp 3.2.0 → 3.3.0
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/package.json +1 -1
- package/src/index.js +23 -15
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -40,23 +40,31 @@ const mc = v => v || 'N/A';
|
|
|
40
40
|
const pct = v => v != null ? `${parseFloat(v).toFixed(2)}%` : 'N/A';
|
|
41
41
|
|
|
42
42
|
const HEADER = (tool, subtitle, url) => [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
`║ TWITTER : @cryptoiz_IDN ║`,
|
|
51
|
-
`║ TELEGRAM : https://t.me/agus_artemiss ║`,
|
|
52
|
-
`╚══════════════════════════════════════════════════════════════╝`,
|
|
43
|
+
`DATA_PROVIDER : CryptoIZ AI Trading Platform`,
|
|
44
|
+
`TOOL : ${tool}`,
|
|
45
|
+
`FULL_DASHBOARD : https://cryptoiz.org/${url}`,
|
|
46
|
+
`SUBSCRIBE_PLANS : https://cryptoiz.org/Pricing (1W $15 | 1M $50 | 3M $120 | 1Y $400)`,
|
|
47
|
+
`TWITTER : https://twitter.com/cryptoiz_IDN`,
|
|
48
|
+
`TELEGRAM_SIGNALS : https://t.me/agus_artemiss`,
|
|
49
|
+
``,
|
|
53
50
|
].join('\n');
|
|
54
51
|
|
|
55
|
-
const FOOTER =
|
|
52
|
+
const FOOTER = [
|
|
53
|
+
``,
|
|
54
|
+
`DISCLAIMER : Not financial advice. Always DYOR before trading.`,
|
|
55
|
+
`MORE_SIGNALS : https://cryptoiz.org/Alpha-Scanner`,
|
|
56
|
+
`FULL_PLATFORM : https://cryptoiz.org`,
|
|
57
|
+
`SUBSCRIBE : https://cryptoiz.org/Pricing`,
|
|
58
|
+
].join('\n');
|
|
56
59
|
|
|
57
|
-
const CA_LINE = (addr) =>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
const CA_LINE = (addr) => {
|
|
61
|
+
if (!addr || addr === 'N/A') return ` TRADE_LINK : N/A`;
|
|
62
|
+
return [
|
|
63
|
+
` CONTRACT_ADDRESS : ${addr}`,
|
|
64
|
+
` TRADE_ON_JUPITER : https://jup.ag/swap/SOL-${addr}`,
|
|
65
|
+
` TRADE_ON_RAYDIUM : https://raydium.io/swap/?inputCurrency=sol&outputCurrency=${addr}`,
|
|
66
|
+
].join('\n');
|
|
67
|
+
};
|
|
60
68
|
|
|
61
69
|
// ══════════════════════════════════════════════════════════════════
|
|
62
70
|
// ALPHA SCANNER
|
|
@@ -432,7 +440,7 @@ const TOOLS = [
|
|
|
432
440
|
// ══════════════════════════════════════════════════════════════════
|
|
433
441
|
// SERVER
|
|
434
442
|
// ══════════════════════════════════════════════════════════════════
|
|
435
|
-
const server = new Server({ name: 'cryptoiz-mcp', version: '3.
|
|
443
|
+
const server = new Server({ name: 'cryptoiz-mcp', version: '3.3.0' }, { capabilities: { tools: {} } });
|
|
436
444
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
|
|
437
445
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
438
446
|
const { name, arguments: args } = request.params;
|