coinopai-mcp 1.0.2 → 1.0.3

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 +6 -1
  2. package/index.js +16 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -9,12 +9,17 @@ MCP server for [CoinOpAI](https://x402.coinopai.com) — agent automation prompt
9
9
  | `search_agent_automations` | Search 819 agent automation prompts | $0.01 |
10
10
  | `get_agent_automation` | Full prompt + workflow steps by slug | $0.01 |
11
11
  | `list_automation_categories` | All 35 categories with counts | $0.005 |
12
- | `get_crypto_signals` | Latest hourly BTC/ETH/SOL/XRP/ADA signals | $0.05 |
12
+ | `get_crypto_signals` | Latest 15-min BTC/ETH/SOL/XRP/ADA signals | $0.05 |
13
13
  | `get_crypto_risk` | Current risk state + regime detection | $0.02 |
14
14
  | `get_crypto_signal_history` | Up to 168h of signal history | $0.05 |
15
+ | `check_trade_preflight` | Gate check before opening a position — allowed:true/false, cooldown, warnings | $0.05 |
16
+ | `get_crypto_decision` | Interpreted decision: CONSIDER_LONG/SHORT/NO_ACTION, confidence, regime, position guidance | $0.15 |
17
+ | `audit_trade_decision` | Evaluate a past decision against real prices — PnL%, direction accuracy, verdict | $0.07 |
15
18
 
16
19
  No API keys. No subscriptions. Pay only for what you use.
17
20
 
21
+ > **All decision outputs are probabilistic signals for experimental automated workflows only. Not financial advice. Crypto markets are volatile and can result in total loss.**
22
+
18
23
  ## Requirements
19
24
 
20
25
  - A Base wallet with USDC funded (any amount — $1 goes a long way at these prices)
package/index.js CHANGED
@@ -81,6 +81,18 @@ const TOOLS = [
81
81
  },
82
82
  required: ["symbol"]
83
83
  }
84
+ },
85
+ {
86
+ name: "audit_trade_decision",
87
+ description: "Evaluate a past Kronos decision against real market outcomes. Provide the decision_id from get_crypto_decision and an evaluation window. Returns PnL%, direction accuracy, verdict (GOOD_DECISION/BAD_DIRECTION/NOISE), and a learning signal. Costs $0.07 USDC.",
88
+ inputSchema: {
89
+ type: "object",
90
+ properties: {
91
+ decision_id: { type: "string", description: "UUID from a previous get_crypto_decision call" },
92
+ window: { type: "string", description: "Evaluation window: 1h, 4h, or 24h (default: 4h)" }
93
+ },
94
+ required: ["decision_id"]
95
+ }
84
96
  }
85
97
  ];
86
98
 
@@ -134,7 +146,7 @@ async function main() {
134
146
  }
135
147
 
136
148
  const server = new Server(
137
- { name: "coinopai-mcp", version: "1.0.2" },
149
+ { name: "coinopai-mcp", version: "1.0.3" },
138
150
  { capabilities: { tools: {} } }
139
151
  );
140
152
 
@@ -169,6 +181,9 @@ async function main() {
169
181
  case "check_trade_preflight":
170
182
  data = await call(httpClient, `/api/kronos/preflight?symbol=${encodeURIComponent(args.symbol || "BTC")}`);
171
183
  break;
184
+ case "audit_trade_decision":
185
+ data = await call(httpClient, `/api/kronos/audit?decision_id=${encodeURIComponent(args.decision_id)}&window=${encodeURIComponent(args.window || "4h")}`);
186
+ break;
172
187
  default:
173
188
  throw new Error("Unknown tool: " + name);
174
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coinopai-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for CoinOpAI — agent automation prompts and crypto signals via x402 micropayments on Base",
5
5
  "main": "index.js",
6
6
  "bin": {