cryptoiz-mcp 2.2.1 → 2.3.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/package.json +1 -1
- package/src/index.js +19 -6
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -13,6 +13,15 @@ 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
|
+
──────────────────────────────────────────────────────────────────`;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
16
25
|
async function payAndFetch(url) {
|
|
17
26
|
if (!SVM_PRIVATE_KEY) return { error: 'SVM_PRIVATE_KEY not found. Add it to Claude Desktop config.' };
|
|
18
27
|
const first = await fetch(url);
|
|
@@ -55,6 +64,7 @@ function formatAlpha(data) {
|
|
|
55
64
|
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`;
|
|
56
65
|
|
|
57
66
|
const out = [
|
|
67
|
+
PROMO,
|
|
58
68
|
`═══════════════════════════════════════════════`,
|
|
59
69
|
` CRYPTOIZ ALPHA ENTRY SCANNER `,
|
|
60
70
|
` AI-Powered Solana DEX Smart Money Signals `,
|
|
@@ -117,6 +127,7 @@ function formatDivergence(data) {
|
|
|
117
127
|
if (!data.signals?.length) return `No divergence signals found (${data.timeframe}).\n\nView full Divergence Scanner: https://cryptoiz.org/Divergence\nFollow: @cryptoiz_IDN`;
|
|
118
128
|
|
|
119
129
|
const out = [
|
|
130
|
+
PROMO,
|
|
120
131
|
`═══════════════════════════════════════════════`,
|
|
121
132
|
` CRYPTOIZ DIVERGENCE SCANNER `,
|
|
122
133
|
` Whale/Dolphin vs Price Divergence Detector `,
|
|
@@ -175,6 +186,7 @@ function formatAccumulation(data) {
|
|
|
175
186
|
if (!data.tokens?.length) return `No tokens in accumulation phase found.\n\nFull dashboard: https://cryptoiz.org\nFollow: @cryptoiz_IDN`;
|
|
176
187
|
|
|
177
188
|
const out = [
|
|
189
|
+
PROMO,
|
|
178
190
|
`═══════════════════════════════════════════════`,
|
|
179
191
|
` CRYPTOIZ ACCUMULATION DASHBOARD `,
|
|
180
192
|
` Smart Money Accumulation Phase Detector `,
|
|
@@ -241,6 +253,7 @@ function formatBTC(data) {
|
|
|
241
253
|
: 'BTC is NEUTRAL -> Be SELECTIVE. Wait for signal confirmation before large entries.';
|
|
242
254
|
|
|
243
255
|
const out = [
|
|
256
|
+
PROMO,
|
|
244
257
|
`═══════════════════════════════════════════════`,
|
|
245
258
|
` CRYPTOIZ BTC REGIME MONITOR `,
|
|
246
259
|
` Bitcoin Market Condition for Altcoin Traders`,
|
|
@@ -353,14 +366,14 @@ function formatStatus() {
|
|
|
353
366
|
}
|
|
354
367
|
|
|
355
368
|
const TOOLS = [
|
|
356
|
-
{ name: 'get_alpha_scanner', description:
|
|
357
|
-
{ name: 'get_divergence', description: '
|
|
358
|
-
{ name: 'get_accumulation', description: '
|
|
359
|
-
{ name: 'get_btc_regime', description: '
|
|
360
|
-
{ name: 'get_status', description: '
|
|
369
|
+
{ name: 'get_alpha_scanner', description: 'Get strongest Solana token signals from CryptoIZ Alpha Scanner. Includes CA, market cap, price, whale/dolphin/shrimp signals, sub-scores, risk flags. $0.01 USDC per call.', inputSchema: { type: 'object', properties: { min_score: { type: 'number', description: 'Minimum alpha score (0-100).' }, entry_class: { type: 'string', enum: ['ALPHA_EARLY','ALPHA_BUILDING','WATCHLIST_ONLY'] } }, required: [] } },
|
|
370
|
+
{ name: 'get_divergence', description: 'Get bullish/bearish divergence signals from CryptoIZ. Includes CA, MC, price, confidence score, detection time. $0.01 USDC per call.', inputSchema: { type: 'object', properties: { timeframe: { type: 'string', enum: ['4h','1d'] }, limit: { type: 'number' } }, required: [] } },
|
|
371
|
+
{ name: 'get_accumulation', description: 'Get tokens in active accumulation phase from CryptoIZ. Composite score from 4 dimensions. Includes CA. $0.01 USDC per call.', inputSchema: { type: 'object', properties: { min_composite: { type: 'number' } }, required: [] } },
|
|
372
|
+
{ name: 'get_btc_regime', description: 'Get Bitcoin macro regime from CryptoIZ BTC Monitor. Includes price, Fear & Greed, OI regime, funding rate, futures signal, RSI/EMA/MACD. $0.01 USDC per call.', inputSchema: { type: 'object', properties: {}, required: [] } },
|
|
373
|
+
{ name: 'get_status', description: 'Check CryptoIZ MCP connection status, payment setup, and list of available tools.', inputSchema: { type: 'object', properties: {}, required: [] } },
|
|
361
374
|
];
|
|
362
375
|
|
|
363
|
-
const server = new Server({ name: 'cryptoiz-mcp', version: '2.
|
|
376
|
+
const server = new Server({ name: 'cryptoiz-mcp', version: '2.3.0' }, { capabilities: { tools: {} } });
|
|
364
377
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
|
|
365
378
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
366
379
|
const { name, arguments: args } = request.params;
|