coinopai-mcp 1.2.10 → 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.
Files changed (3) hide show
  1. package/README.md +12 -0
  2. package/index.js +66 -0
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -59,6 +59,10 @@ Trust the process less. Verify the record more.
59
59
 
60
60
  The agent calls a tool → the MCP server receives an `HTTP 402` → automatically signs a USDC micropayment → retries with the payment header → data returned. Configure once, pay automatically from the configured low-balance wallet.
61
61
 
62
+ Current package: `coinopai-mcp@1.2.10`.
63
+
64
+ Settlement note: the MCP pins `@x402/core` and `@x402/evm` to `2.11.0` and signs EIP-3009 authorizations with a chain-aware timestamp. This avoids the Base RPC/facilitator clock-skew failure mode where a payment can be rejected as "authorization is not yet valid" or "valid before expired". Successful object responses include x402 settlement metadata under `_payment`, including the on-chain transaction hash when available.
65
+
62
66
  ---
63
67
 
64
68
  ## The Auditable Loop ($0.27/cycle)
@@ -147,6 +151,8 @@ Directional values are supporting context, not guarantees, human recommendations
147
151
 
148
152
  Audit verdicts include `GOOD_DECISION`, `BAD_DIRECTION`, `NOISE`, `NO_ACTION_TAKEN`, and `PENDING`. Kronos gets some right, gets some wrong, and exposes both through the same record.
149
153
 
154
+ Fresh audits can return `pending_window` until the evaluation window matures.
155
+
150
156
  ---
151
157
 
152
158
  ## Tools
@@ -213,6 +219,10 @@ Add to your Claude Desktop config (`claude_desktop_config.json`):
213
219
 
214
220
  Not currently listed on Smithery. Use the `npx` install flow shown above until a verified public listing is live.
215
221
 
222
+ ### Developer smoke-test note
223
+
224
+ When testing the published package with an MCP stdio harness, do not launch `npx coinopai-mcp@...` from inside the `coinopai-mcp` source checkout. npm can prefer the local package context and fail before the temporary bin is available. Test from another directory, or install into a temp project and launch `./node_modules/.bin/coinopai-mcp`.
225
+
216
226
  ### Registry status
217
227
 
218
228
  Prepared MCP Registry identity: `io.github.forgemeshlabs/coinopai-mcp`. Refresh the public directory submission after publishing this package so old `clawdbotworker` entries stop being canonical.
@@ -289,6 +299,8 @@ Route to an available symbol or wait 15 minutes for the next cycle.
289
299
  | Network | Base mainnet (`eip155:8453`) |
290
300
  | Token | USDC (`0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`) |
291
301
  | Facilitator | Coinbase |
302
+ | Client SDK pins | `@x402/core@2.11.0`, `@x402/evm@2.11.0` |
303
+ | Receipt metadata | Successful object responses include `_payment` |
292
304
 
293
305
  ---
294
306
 
package/index.js CHANGED
@@ -41,6 +41,12 @@ const BASE_RPC_URL = process.env.BASE_RPC_URL || "https://mainnet.base.org";
41
41
  const TOOLS = [
42
42
  {
43
43
  name: "search_agent_automations",
44
+ annotations: {
45
+ readOnlyHint: true,
46
+ destructiveHint: false,
47
+ idempotentHint: false,
48
+ openWorldHint: true,
49
+ },
44
50
  description: "Search 819 agent automation prompts by keyword. Returns matching automations with title, description, complexity and services. Costs $0.01 USDC.",
45
51
  inputSchema: {
46
52
  type: "object",
@@ -53,6 +59,12 @@ const TOOLS = [
53
59
  },
54
60
  {
55
61
  name: "get_agent_automation",
62
+ annotations: {
63
+ readOnlyHint: true,
64
+ destructiveHint: false,
65
+ idempotentHint: false,
66
+ openWorldHint: true,
67
+ },
56
68
  description: "Get the full agent automation prompt and workflow steps by slug. Costs $0.01 USDC.",
57
69
  inputSchema: {
58
70
  type: "object",
@@ -64,11 +76,23 @@ const TOOLS = [
64
76
  },
65
77
  {
66
78
  name: "list_automation_categories",
79
+ annotations: {
80
+ readOnlyHint: true,
81
+ destructiveHint: false,
82
+ idempotentHint: false,
83
+ openWorldHint: true,
84
+ },
67
85
  description: "List all 35 automation categories with counts. Costs $0.005 USDC.",
68
86
  inputSchema: { type: "object", properties: {} }
69
87
  },
70
88
  {
71
89
  name: "get_crypto_signals",
90
+ annotations: {
91
+ readOnlyHint: true,
92
+ destructiveHint: false,
93
+ idempotentHint: false,
94
+ openWorldHint: true,
95
+ },
72
96
  description: "Latest Kronos model context for BTC, ETH, SOL, XRP, ADA. Directional values are supporting context, not standalone trade instructions; use them with the calibrated range, risk state, and audit record. Costs $0.05 USDC.",
73
97
  inputSchema: {
74
98
  type: "object",
@@ -79,11 +103,23 @@ const TOOLS = [
79
103
  },
80
104
  {
81
105
  name: "get_crypto_risk",
106
+ annotations: {
107
+ readOnlyHint: true,
108
+ destructiveHint: false,
109
+ idempotentHint: false,
110
+ openWorldHint: true,
111
+ },
82
112
  description: "Current market risk state and cooldown context for Kronos decisions. Useful as supporting context, not a standalone trading command. Costs $0.02 USDC.",
83
113
  inputSchema: { type: "object", properties: {} }
84
114
  },
85
115
  {
86
116
  name: "get_crypto_signal_history",
117
+ annotations: {
118
+ readOnlyHint: true,
119
+ destructiveHint: false,
120
+ idempotentHint: false,
121
+ openWorldHint: true,
122
+ },
87
123
  description: "Recent Kronos context history for BTC/ETH/SOL/XRP/ADA. Use it to inspect model context and freshness before or after a decision. Costs $0.05 USDC.",
88
124
  inputSchema: {
89
125
  type: "object",
@@ -95,6 +131,12 @@ const TOOLS = [
95
131
  },
96
132
  {
97
133
  name: "get_crypto_decision",
134
+ annotations: {
135
+ readOnlyHint: false,
136
+ destructiveHint: false,
137
+ idempotentHint: false,
138
+ openWorldHint: true,
139
+ },
98
140
  description: "Create a market-intelligence journal entry from Kronos context. Returns directional_bias, confidence context, compliance metadata, regime, anomaly/calibration context, and a decision_id. Call audit_trade_decision with that ID after the evaluation window to see what happened. Costs $0.15 USDC.",
99
141
  inputSchema: {
100
142
  type: "object",
@@ -107,6 +149,12 @@ const TOOLS = [
107
149
  },
108
150
  {
109
151
  name: "check_trade_preflight",
152
+ annotations: {
153
+ readOnlyHint: true,
154
+ destructiveHint: false,
155
+ idempotentHint: false,
156
+ openWorldHint: true,
157
+ },
110
158
  description: "Step 1 of the auditable decision loop. Checks market state, cooldown, data freshness, and model context before calling get_crypto_decision. Costs $0.05 USDC.",
111
159
  inputSchema: {
112
160
  type: "object",
@@ -119,6 +167,12 @@ const TOOLS = [
119
167
  },
120
168
  {
121
169
  name: "audit_trade_decision",
170
+ annotations: {
171
+ readOnlyHint: true,
172
+ destructiveHint: false,
173
+ idempotentHint: false,
174
+ openWorldHint: true,
175
+ },
122
176
  description: "The accountability step. Verify a Kronos decision_id against later market prices. Returns whether direction held, PnL%, and a verdict: GOOD_DECISION, BAD_DIRECTION, NOISE, or NO_ACTION_TAKEN. Costs $0.07 USDC.",
123
177
  inputSchema: {
124
178
  type: "object",
@@ -132,6 +186,12 @@ const TOOLS = [
132
186
  },
133
187
  {
134
188
  name: "get_crypto_forecast",
189
+ annotations: {
190
+ readOnlyHint: true,
191
+ destructiveHint: false,
192
+ idempotentHint: false,
193
+ openWorldHint: true,
194
+ },
135
195
  description: "Conformally-calibrated price forecast: an honest 80% prediction interval (range_80, ~0.80 empirical coverage) plus point return and upside probability for BTC/ETH/SOL/XRP/ADA. Directional bias is supporting context; the calibrated range is the validated product. Costs $0.05 USDC.",
136
196
  inputSchema: {
137
197
  type: "object",
@@ -143,6 +203,12 @@ const TOOLS = [
143
203
  },
144
204
  {
145
205
  name: "review_signal_anomaly",
206
+ annotations: {
207
+ readOnlyHint: true,
208
+ destructiveHint: false,
209
+ idempotentHint: false,
210
+ openWorldHint: true,
211
+ },
146
212
  description: "Score a market signal feature set for unusual conditions before downstream analysis. Returns anomaly_score, anomaly_level, review_label, drivers, component scores, and market-intelligence disclaimers. Not financial advice and not a market activity instruction. Costs $0.07 USDC.",
147
213
  inputSchema: {
148
214
  type: "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coinopai-mcp",
3
- "version": "1.2.10",
3
+ "version": "2.0.1",
4
4
  "mcpName": "io.github.forgemeshlabs/coinopai-mcp",
5
5
  "description": "Auditable market intelligence MCP with x402 payments, calibrated forecast ranges, anomaly review, risk context, and outcome audits",
6
6
  "main": "index.js",
@@ -16,7 +16,7 @@
16
16
  "start": "node index.js"
17
17
  },
18
18
  "engines": {
19
- "node": ">=18"
19
+ "node": ">=20"
20
20
  },
21
21
  "keywords": [
22
22
  "mcp",
@@ -47,7 +47,7 @@
47
47
  "url": "https://github.com/forgemeshlabs/coinopai-mcp/issues"
48
48
  },
49
49
  "dependencies": {
50
- "@modelcontextprotocol/sdk": "^1.10.1",
50
+ "@modelcontextprotocol/sdk": "^1.30.0",
51
51
  "@x402/core": "2.11.0",
52
52
  "@x402/evm": "2.11.0",
53
53
  "viem": "^2.0.0"