@coinrithm/mcp-trading 0.1.8 → 0.3.0
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/CHANGELOG.md +32 -0
- package/README.md +43 -19
- package/dist/agent/act.d.ts +4 -0
- package/dist/agent/act.js +114 -0
- package/dist/agent/capabilityGuard.d.ts +2 -0
- package/dist/agent/capabilityGuard.js +131 -0
- package/dist/agent/cli.d.ts +21 -0
- package/dist/agent/cli.js +382 -0
- package/dist/agent/client.d.ts +107 -0
- package/dist/agent/client.js +173 -0
- package/dist/agent/decision.d.ts +137 -0
- package/dist/agent/decision.js +118 -0
- package/dist/agent/decisionValidator.d.ts +16 -0
- package/dist/agent/decisionValidator.js +215 -0
- package/dist/agent/engine.d.ts +10 -0
- package/dist/agent/engine.js +16 -0
- package/dist/agent/extract.d.ts +4 -0
- package/dist/agent/extract.js +5 -0
- package/dist/agent/frontmatter.d.ts +5 -0
- package/dist/agent/frontmatter.js +19 -0
- package/dist/agent/index.d.ts +2 -0
- package/dist/agent/index.js +10 -0
- package/dist/agent/indicators.d.ts +44 -0
- package/dist/agent/indicators.js +135 -0
- package/dist/agent/manifest.d.ts +15 -0
- package/dist/agent/manifest.js +40 -0
- package/dist/agent/mergeRules.d.ts +11 -0
- package/dist/agent/mergeRules.js +82 -0
- package/dist/agent/observe.d.ts +7 -0
- package/dist/agent/observe.js +244 -0
- package/dist/agent/prompt.d.ts +3 -0
- package/dist/agent/prompt.js +76 -0
- package/dist/agent/providers.d.ts +25 -0
- package/dist/agent/providers.js +143 -0
- package/dist/agent/resolve.d.ts +11 -0
- package/dist/agent/resolve.js +499 -0
- package/dist/agent/runEvidence.d.ts +6 -0
- package/dist/agent/runEvidence.js +23 -0
- package/dist/agent/runner.d.ts +19 -0
- package/dist/agent/runner.js +280 -0
- package/dist/agent/skill.d.ts +12 -0
- package/dist/agent/skill.js +136 -0
- package/dist/agent/skillValidator.d.ts +7 -0
- package/dist/agent/skillValidator.js +123 -0
- package/dist/agent/state.d.ts +7 -0
- package/dist/agent/state.js +96 -0
- package/dist/agent/strictLint.d.ts +3 -0
- package/dist/agent/strictLint.js +165 -0
- package/dist/agent/templates.d.ts +14 -0
- package/dist/agent/templates.js +192 -0
- package/dist/agent/types.d.ts +286 -0
- package/dist/agent/types.js +88 -0
- package/dist/agent/util.d.ts +13 -0
- package/dist/agent/util.js +116 -0
- package/dist/agent/version.d.ts +11 -0
- package/dist/agent/version.js +16 -0
- package/dist/client.d.ts +162 -0
- package/dist/http.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/tools.d.ts +3 -0
- package/dist/version.d.ts +1 -0
- package/package.json +78 -67
package/dist/http.d.ts
ADDED
package/dist/index.d.ts
ADDED
package/dist/tools.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SERVER_VERSION: string;
|
package/package.json
CHANGED
|
@@ -1,67 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@coinrithm/mcp-trading",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"mcpName": "io.github.CoinRithm/mcp-trading",
|
|
5
|
-
"description": "MCP server
|
|
6
|
-
"type": "module",
|
|
7
|
-
"author": "CoinRithm",
|
|
8
|
-
"homepage": "https://coinrithm.com/agentic-trading",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/CoinRithm/coinrithm-agent-trading.git",
|
|
12
|
-
"directory": "packages/mcp-trading"
|
|
13
|
-
},
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/CoinRithm/coinrithm-agent-trading/issues"
|
|
16
|
-
},
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
19
|
-
},
|
|
20
|
-
"bin": {
|
|
21
|
-
"coinrithm-mcp": "dist/index.js"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@coinrithm/mcp-trading",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"mcpName": "io.github.CoinRithm/mcp-trading",
|
|
5
|
+
"description": "CoinRithm paper-trading toolkit: an MCP server (coinrithm-mcp) AND a self-host agent runner (coinrithm-agent) for spot, futures, and prediction markets with a user-minted API key.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"author": "CoinRithm",
|
|
8
|
+
"homepage": "https://coinrithm.com/agentic-trading",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/CoinRithm/coinrithm-agent-trading.git",
|
|
12
|
+
"directory": "packages/mcp-trading"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/CoinRithm/coinrithm-agent-trading/issues"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"bin": {
|
|
21
|
+
"coinrithm-mcp": "dist/index.js",
|
|
22
|
+
"coinrithm-agent": "dist/agent/index.js"
|
|
23
|
+
},
|
|
24
|
+
"main": "dist/index.js",
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"CHANGELOG.md"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc -p tsconfig.json",
|
|
32
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"start": "node dist/index.js",
|
|
35
|
+
"start:http": "node dist/http.js",
|
|
36
|
+
"smoke:agent": "npm run build && node scripts/agent-smoke.mjs",
|
|
37
|
+
"prepare": "npm run build"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=18"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"mcp",
|
|
44
|
+
"mcp-server",
|
|
45
|
+
"model-context-protocol",
|
|
46
|
+
"ai-agent",
|
|
47
|
+
"agent-trading",
|
|
48
|
+
"trading",
|
|
49
|
+
"paper-trading",
|
|
50
|
+
"crypto",
|
|
51
|
+
"futures",
|
|
52
|
+
"prediction-markets",
|
|
53
|
+
"polymarket",
|
|
54
|
+
"kalshi",
|
|
55
|
+
"claude",
|
|
56
|
+
"chatgpt",
|
|
57
|
+
"gemini",
|
|
58
|
+
"cursor",
|
|
59
|
+
"open-knowledge-format",
|
|
60
|
+
"okf",
|
|
61
|
+
"model-agnostic",
|
|
62
|
+
"leaderboard",
|
|
63
|
+
"coinrithm"
|
|
64
|
+
],
|
|
65
|
+
"license": "MIT",
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
68
|
+
"express": "^4.21.0",
|
|
69
|
+
"yaml": "^2.5.0",
|
|
70
|
+
"zod": "^3.23.8"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@types/express": "^4.17.21",
|
|
74
|
+
"@types/node": "^20.14.0",
|
|
75
|
+
"typescript": "^5.5.0",
|
|
76
|
+
"vitest": "^2.1.0"
|
|
77
|
+
}
|
|
78
|
+
}
|