cryptoiz-mcp 2.0.0 → 2.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/package.json +1 -1
- package/src/index.js +7 -4
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -93,9 +93,12 @@ function formatAlpha(data) {
|
|
|
93
93
|
`CRYPTOIZ ALPHA SCANNER | ${data.fetched_at?.split('T')[0]}`,
|
|
94
94
|
`Total: ${data.total} sinyal | Powered by cryptoiz.org`,
|
|
95
95
|
'',
|
|
96
|
-
...data.signals.map((s, i) =>
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
...data.signals.map((s, i) => {
|
|
97
|
+
const mc = s.market_cap ? `MC: $${(s.market_cap/1000).toFixed(0)}K` : '';
|
|
98
|
+
const price = s.price_usd ? `Price: $${parseFloat(s.price_usd).toFixed(6)}` : '';
|
|
99
|
+
const addr = s.token_address ? `\n Address: ${s.token_address}` : '';
|
|
100
|
+
return `${i+1}. ${s.name} — Score: ${s.alpha_score} | ${s.entry_class}\n Phase: ${s.phase_label} | Whale: ${s.whale_delta > 0 ? '+' : ''}${s.whale_delta} | Dolphin: ${s.dolphin_delta > 0 ? '+' : ''}${s.dolphin_delta} | ${mc} | ${price}${addr}`;
|
|
101
|
+
}),
|
|
99
102
|
'',
|
|
100
103
|
'📊 cryptoiz.org | @cryptoiz_IDN',
|
|
101
104
|
];
|
|
@@ -201,7 +204,7 @@ const TOOLS = [
|
|
|
201
204
|
// ─── Server ───────────────────────────────────────────────────────────────────
|
|
202
205
|
|
|
203
206
|
const server = new Server(
|
|
204
|
-
{ name: 'cryptoiz-mcp', version: '2.0.
|
|
207
|
+
{ name: 'cryptoiz-mcp', version: '2.0.1' },
|
|
205
208
|
{ capabilities: { tools: {} } }
|
|
206
209
|
);
|
|
207
210
|
|