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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +23 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cryptoiz-mcp",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "CryptoIZ MCP Server — Solana DEX signals with x402 micropayments. Pay $0.01 USDC per call.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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
- `║ CRYPTOIZ ${tool.padEnd(49)}║`,
45
- `║ ${subtitle.padEnd(62)}║`,
46
- `╠══════════════════════════════════════════════════════════════╣`,
47
- `║ PLATFORM : https://cryptoiz.org${' '.repeat(27)}║`,
48
- `║ FULL DATA : https://cryptoiz.org/${url.padEnd(26)}║`,
49
- `║ SUBSCRIBE : https://cryptoiz.org/Pricing (from $15/week) ║`,
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 = `\n⚠ NOT FINANCIAL ADVICE. Always DYOR before trading.\nPowered by CryptoIZ AI — https://cryptoiz.org | @cryptoiz_IDN`;
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) => ` ┌─ COPY TO TRADE (paste on Jupiter/Raydium — do NOT click) ─┐
58
- ${addr}
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.2.0' }, { capabilities: { tools: {} } });
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;