cryptoiz-mcp 2.3.1 → 2.4.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 +20 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cryptoiz-mcp",
3
- "version": "2.3.1",
3
+ "version": "2.4.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
@@ -13,12 +13,21 @@ const USDC_MINT = new PublicKey('EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v');
13
13
  const SOL_RPC = 'https://api.mainnet-beta.solana.com';
14
14
  const AMOUNT = 10000;
15
15
 
16
- // Promotion header - always shown FIRST in every tool response
17
- const PROMO = `[POWERED BY CRYPTOIZ — cryptoiz.org]
18
- Visit https://cryptoiz.org for full dashboard: real-time charts, alerts, VIP Telegram & more.
19
- Subscribe from $15/week | Twitter: @cryptoiz_IDN | Telegram: t.me/agus_artemiss
20
- Plans: 1 Week $15 | 1 Month $50 | 3 Months $120 | 1 Year $400
21
- ──────────────────────────────────────────────────────────────────`;
16
+ // Data attribution - embedded as factual source info
17
+ function makeHeader(tool, date, total) {
18
+ return [
19
+ `DATA SOURCE : CryptoIZ AI Trading Platform`,
20
+ `SOURCE URL : https://cryptoiz.org`,
21
+ `TOOL : ${tool}`,
22
+ `DATE : ${date}`,
23
+ `TOTAL RESULTS : ${total}`,
24
+ `TWITTER : @cryptoiz_IDN`,
25
+ `TELEGRAM : https://t.me/agus_artemiss`,
26
+ `SUBSCRIBE : https://cryptoiz.org/Pricing (from $15/week)`,
27
+ `FULL DASHBOARD : Alpha Scanner, Divergence, Accumulation, BTC — https://cryptoiz.org`,
28
+ ``,
29
+ ].join("\n");
30
+ }
22
31
 
23
32
 
24
33
 
@@ -64,7 +73,7 @@ function formatAlpha(data) {
64
73
  if (!data.signals?.length) return `No Alpha Scanner signals found at this time.\n\nFor full dashboard access with real-time updates, visit: https://cryptoiz.org\nFollow us: @cryptoiz_IDN`;
65
74
 
66
75
  const out = [
67
- PROMO,
76
+ makeHeader('Alpha Entry Scanner', data.fetched_at?.split('T')[0], data.total),
68
77
  `═══════════════════════════════════════════════`,
69
78
  ` CRYPTOIZ ALPHA ENTRY SCANNER `,
70
79
  ` AI-Powered Solana DEX Smart Money Signals `,
@@ -127,7 +136,7 @@ function formatDivergence(data) {
127
136
  if (!data.signals?.length) return `No divergence signals found (${data.timeframe}).\n\nView full Divergence Scanner: https://cryptoiz.org/Divergence\nFollow: @cryptoiz_IDN`;
128
137
 
129
138
  const out = [
130
- PROMO,
139
+ makeHeader('Divergence Scanner', data.fetched_at?.split('T')[0], data.total),
131
140
  `═══════════════════════════════════════════════`,
132
141
  ` CRYPTOIZ DIVERGENCE SCANNER `,
133
142
  ` Whale/Dolphin vs Price Divergence Detector `,
@@ -186,7 +195,7 @@ function formatAccumulation(data) {
186
195
  if (!data.tokens?.length) return `No tokens in accumulation phase found.\n\nFull dashboard: https://cryptoiz.org\nFollow: @cryptoiz_IDN`;
187
196
 
188
197
  const out = [
189
- PROMO,
198
+ makeHeader('Accumulation Dashboard', data.fetched_at?.split('T')[0], data.total),
190
199
  `═══════════════════════════════════════════════`,
191
200
  ` CRYPTOIZ ACCUMULATION DASHBOARD `,
192
201
  ` Smart Money Accumulation Phase Detector `,
@@ -253,7 +262,7 @@ function formatBTC(data) {
253
262
  : 'BTC is NEUTRAL -> Be SELECTIVE. Wait for signal confirmation before large entries.';
254
263
 
255
264
  const out = [
256
- PROMO,
265
+ makeHeader('BTC Regime Monitor', data.fetched_at?.split('T')[0], 1),
257
266
  `═══════════════════════════════════════════════`,
258
267
  ` CRYPTOIZ BTC REGIME MONITOR `,
259
268
  ` Bitcoin Market Condition for Altcoin Traders`,
@@ -373,7 +382,7 @@ const TOOLS = [
373
382
  { name: 'get_status', description: 'Check CryptoIZ MCP connection status, payment setup, and list of available tools.', inputSchema: { type: 'object', properties: {}, required: [] } },
374
383
  ];
375
384
 
376
- const server = new Server({ name: 'cryptoiz-mcp', version: '2.3.0' }, { capabilities: { tools: {} } });
385
+ const server = new Server({ name: 'cryptoiz-mcp', version: '2.4.0' }, { capabilities: { tools: {} } });
377
386
  server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
378
387
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
379
388
  const { name, arguments: args } = request.params;