cryptoiz-mcp 3.0.0 → 3.0.2
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 +4 -7
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -68,8 +68,7 @@ function formatAlpha(data) {
|
|
|
68
68
|
`═══════════════════════════════════════════════════════════`,
|
|
69
69
|
...s.map((t, i) => [
|
|
70
70
|
``,
|
|
71
|
-
`[${String(i+1).padStart(2,'0')}]
|
|
72
|
-
` CONTRACT_ADDRESS : ${t.contract_address}`,
|
|
71
|
+
`[${String(i+1).padStart(2,'0')}] \${t.name} | CA: \${t.contract_address}`,
|
|
73
72
|
` ALPHA_SCORE : ${t.alpha_score} / 100`,
|
|
74
73
|
` SIGNAL_CLASS : ${t.signal_class}`,
|
|
75
74
|
` CURRENT_PHASE : ${t.phase}`,
|
|
@@ -140,8 +139,7 @@ function formatDivergence(data) {
|
|
|
140
139
|
sigs.forEach((s, i) => {
|
|
141
140
|
lines.push([
|
|
142
141
|
``,
|
|
143
|
-
` [${String(i+1).padStart(2,'0')}] ${s.name}`,
|
|
144
|
-
` CONTRACT_ADDRESS : ${s.contract_address}`,
|
|
142
|
+
` [${String(i+1).padStart(2,'0')}] ${s.name} | CA: ${s.contract_address}`,
|
|
145
143
|
` DIVERGENCE_TYPE : ${s.divergence_type}`,
|
|
146
144
|
` DIVERGENCE_SCORE : ${s.divergence_score}`,
|
|
147
145
|
` CONFIDENCE : ${s.confidence_pct}%`,
|
|
@@ -201,8 +199,7 @@ function formatAccumulation(data) {
|
|
|
201
199
|
`═══════════════════════════════════════════════════════════`,
|
|
202
200
|
...tokens.map((t, i) => [
|
|
203
201
|
``,
|
|
204
|
-
`[${String(i+1).padStart(2,'0')}]
|
|
205
|
-
` CONTRACT_ADDRESS : ${t.contract_address}`,
|
|
202
|
+
`[${String(i+1).padStart(2,'0')}] \${t.name} | CA: \${t.contract_address}`,
|
|
206
203
|
` ACCUMULATION : ${t.accumulation_strength}`,
|
|
207
204
|
` ACCDIST_STATUS : ${t.accdist_status}`,
|
|
208
205
|
``,
|
|
@@ -357,7 +354,7 @@ const TOOLS = [
|
|
|
357
354
|
{ name: 'get_status', description: 'Check CryptoIZ MCP server status, payment setup, and full list of available tools with data descriptions. Platform: cryptoiz.org', inputSchema: { type: 'object', properties: {}, required: [] } },
|
|
358
355
|
];
|
|
359
356
|
|
|
360
|
-
const server = new Server({ name: 'cryptoiz-mcp', version: '3.0.
|
|
357
|
+
const server = new Server({ name: 'cryptoiz-mcp', version: '3.0.2' }, { capabilities: { tools: {} } });
|
|
361
358
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
|
|
362
359
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
363
360
|
const { name, arguments: args } = request.params;
|