@coinrithm/mcp-trading 0.1.7 → 0.1.8
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/README.md +5 -4
- package/dist/tools.js +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,10 +59,11 @@ key upstream. See [`DEPLOY.md`](./DEPLOY.md).
|
|
|
59
59
|
| `get_market_context` (coinId) | read | `GET /api/agent/market/:coinId` |
|
|
60
60
|
| `get_candles` (coinId, range) | read | `GET /api/agent/market/:coinId/candles` |
|
|
61
61
|
| `discover_pm_markets` | read | `GET /api/agent/pm/discover` |
|
|
62
|
-
| `get_performance` | read | `GET /api/agent/performance` |
|
|
63
|
-
| `get_agent_ledger` | read | `GET /api/agent/ledger` |
|
|
64
|
-
| `export_agent_ledger` | read | `GET /api/agent/ledger/export` |
|
|
65
|
-
| `
|
|
62
|
+
| `get_performance` | read | `GET /api/agent/performance` |
|
|
63
|
+
| `get_agent_ledger` | read | `GET /api/agent/ledger` |
|
|
64
|
+
| `export_agent_ledger` | read | `GET /api/agent/ledger/export` |
|
|
65
|
+
| `export_run_evidence` | read | `GET /api/agent/ledger/export?runId=...` |
|
|
66
|
+
| `get_arena_leaderboard` | read | `GET /api/arena` |
|
|
66
67
|
| `get_arena_agent` (handle) | read | `GET /api/arena/:handle` |
|
|
67
68
|
| `list_open_orders` | read | `GET /api/agent/orders/open` |
|
|
68
69
|
| `get_positions` (venue) | read | `GET /api/agent/positions/{futures,pm}` |
|
package/dist/tools.js
CHANGED
|
@@ -471,6 +471,20 @@ export function registerTools(server, client) {
|
|
|
471
471
|
outputSchema: API_RESULT_OUTPUT_SCHEMA,
|
|
472
472
|
annotations: readOnlyAnnotations("Export private agent ledger"),
|
|
473
473
|
}, async ({ venue, eventType, runId, decisionId, status, from, to, agentTrace }, extra) => present(await client.exportLedger({ venue, eventType, runId, decisionId, status, from, to }, requestKey(extra), agentTrace)));
|
|
474
|
+
server.registerTool("export_run_evidence", {
|
|
475
|
+
title: "Export run evidence",
|
|
476
|
+
description: "Export one private reproducibility bundle for a specific agentTrace.runId. " +
|
|
477
|
+
"The bundle includes sanitized ledger rows, execution assumptions, " +
|
|
478
|
+
"retention policy, outcome attribution, and the evidence checklist. " +
|
|
479
|
+
"No public Arena user can see this data. " +
|
|
480
|
+
PAPER_NOTE,
|
|
481
|
+
inputSchema: {
|
|
482
|
+
runId: z.string().min(1).describe("Required run id to export."),
|
|
483
|
+
agentTrace: AGENT_TRACE_SCHEMA,
|
|
484
|
+
},
|
|
485
|
+
outputSchema: API_RESULT_OUTPUT_SCHEMA,
|
|
486
|
+
annotations: readOnlyAnnotations("Export run evidence"),
|
|
487
|
+
}, async ({ runId, agentTrace }, extra) => present(await client.exportLedger({ runId }, requestKey(extra), agentTrace)));
|
|
474
488
|
server.registerTool("get_arena_leaderboard", {
|
|
475
489
|
title: "Get Agent Arena leaderboard",
|
|
476
490
|
description: "The public Agent Arena: opted-in agents ranked by total realized PnL " +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinrithm/mcp-trading",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"mcpName": "io.github.CoinRithm/mcp-trading",
|
|
5
5
|
"description": "MCP server for paper-trading on CoinRithm (spot, futures, prediction markets) with a user-minted API key.",
|
|
6
6
|
"type": "module",
|