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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +4 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cryptoiz-mcp",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
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
@@ -68,8 +68,7 @@ function formatAlpha(data) {
68
68
  `═══════════════════════════════════════════════════════════`,
69
69
  ...s.map((t, i) => [
70
70
  ``,
71
- `[${String(i+1).padStart(2,'0')}] ${t.name}`,
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')}] ${t.name}`,
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.0' }, { capabilities: { tools: {} } });
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;