@crush-protocol/mcp-client 0.4.14 → 0.4.15
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/LICENSE +21 -0
- package/README.md +87 -1
- package/dist/cli.js +0 -0
- package/package.json +67 -68
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Edwin Hernandez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -38,13 +38,35 @@ Recommended:
|
|
|
38
38
|
npx -y @crush-protocol/mcp-client setup --all
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
This writes MCP config for all supported hosts at once. To target a single host:
|
|
41
|
+
This writes MCP config for all supported hosts at once. To target a single host:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npx -y @crush-protocol/mcp-client setup --cursor
|
|
45
|
+
npx -y @crush-protocol/mcp-client setup --claude
|
|
46
|
+
npx -y @crush-protocol/mcp-client setup --codex
|
|
47
|
+
npx -y @crush-protocol/mcp-client setup --gemini
|
|
48
|
+
npx -y @crush-protocol/mcp-client setup --opencode
|
|
49
|
+
npx -y @crush-protocol/mcp-client setup --vscode
|
|
50
|
+
npx -y @crush-protocol/mcp-client setup --windsurf
|
|
51
|
+
npx -y @crush-protocol/mcp-client setup --claude-desktop
|
|
52
|
+
npx -y @crush-protocol/mcp-client setup --warp
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Cursor and VS Code also support `--scope project` for repo-local config.
|
|
42
56
|
|
|
43
57
|
### Client Configuration
|
|
44
58
|
|
|
45
59
|
<details>
|
|
46
60
|
<summary><strong>Cursor</strong></summary>
|
|
47
61
|
|
|
62
|
+
**Auto setup:**
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
npx -y @crush-protocol/mcp-client setup --cursor
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**Manual config:**
|
|
69
|
+
|
|
48
70
|
[](https://cursor.com/install-mcp?name=crush-protocol&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjcnVzaC1wcm90b2NvbC9tY3AtY2xpZW50Il19)
|
|
49
71
|
|
|
50
72
|
```json
|
|
@@ -65,6 +87,14 @@ This writes MCP config for all supported hosts at once. To target a single host:
|
|
|
65
87
|
<details>
|
|
66
88
|
<summary><strong>Claude Code</strong></summary>
|
|
67
89
|
|
|
90
|
+
**Auto setup:**
|
|
91
|
+
|
|
92
|
+
```sh
|
|
93
|
+
npx -y @crush-protocol/mcp-client setup --claude
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Manual config:**
|
|
97
|
+
|
|
68
98
|
```sh
|
|
69
99
|
claude mcp add --scope user crush-protocol -- npx -y @crush-protocol/mcp-client
|
|
70
100
|
```
|
|
@@ -76,6 +106,14 @@ claude mcp add --scope user crush-protocol -- npx -y @crush-protocol/mcp-client
|
|
|
76
106
|
<details>
|
|
77
107
|
<summary><strong>OpenAI Codex</strong></summary>
|
|
78
108
|
|
|
109
|
+
**Auto setup:**
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
npx -y @crush-protocol/mcp-client setup --codex
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
**Manual config:**
|
|
116
|
+
|
|
79
117
|
**CLI:** `codex mcp add crush-protocol -- npx -y @crush-protocol/mcp-client`
|
|
80
118
|
|
|
81
119
|
**Local** (add to `~/.codex/config.toml`):
|
|
@@ -94,6 +132,14 @@ startup_timeout_ms = 20000
|
|
|
94
132
|
<details>
|
|
95
133
|
<summary><strong>Google Gemini CLI</strong></summary>
|
|
96
134
|
|
|
135
|
+
**Auto setup:**
|
|
136
|
+
|
|
137
|
+
```sh
|
|
138
|
+
npx -y @crush-protocol/mcp-client setup --gemini
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Manual config:**
|
|
142
|
+
|
|
97
143
|
Add to `~/.gemini/settings.json`:
|
|
98
144
|
|
|
99
145
|
```json
|
|
@@ -114,6 +160,14 @@ Add to `~/.gemini/settings.json`:
|
|
|
114
160
|
<details>
|
|
115
161
|
<summary><strong>VS Code</strong></summary>
|
|
116
162
|
|
|
163
|
+
**Auto setup:**
|
|
164
|
+
|
|
165
|
+
```sh
|
|
166
|
+
npx -y @crush-protocol/mcp-client setup --vscode
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**Manual config:**
|
|
170
|
+
|
|
117
171
|
Add to `.vscode/mcp.json`:
|
|
118
172
|
|
|
119
173
|
```json
|
|
@@ -135,6 +189,14 @@ Add to `.vscode/mcp.json`:
|
|
|
135
189
|
<details>
|
|
136
190
|
<summary><strong>Windsurf</strong></summary>
|
|
137
191
|
|
|
192
|
+
**Auto setup:**
|
|
193
|
+
|
|
194
|
+
```sh
|
|
195
|
+
npx -y @crush-protocol/mcp-client setup --windsurf
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**Manual config:**
|
|
199
|
+
|
|
138
200
|
```json
|
|
139
201
|
{
|
|
140
202
|
"mcpServers": {
|
|
@@ -153,6 +215,14 @@ Add to `.vscode/mcp.json`:
|
|
|
153
215
|
<details>
|
|
154
216
|
<summary><strong>Claude Desktop</strong></summary>
|
|
155
217
|
|
|
218
|
+
**Auto setup:**
|
|
219
|
+
|
|
220
|
+
```sh
|
|
221
|
+
npx -y @crush-protocol/mcp-client setup --claude-desktop
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Manual config:**
|
|
225
|
+
|
|
156
226
|
Edit `claude_desktop_config.json`:
|
|
157
227
|
|
|
158
228
|
```json
|
|
@@ -173,6 +243,14 @@ Edit `claude_desktop_config.json`:
|
|
|
173
243
|
<details>
|
|
174
244
|
<summary><strong>OpenCode</strong></summary>
|
|
175
245
|
|
|
246
|
+
**Auto setup:**
|
|
247
|
+
|
|
248
|
+
```sh
|
|
249
|
+
npx -y @crush-protocol/mcp-client setup --opencode
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Manual config:**
|
|
253
|
+
|
|
176
254
|
Add to `~/.config/opencode/opencode.json`:
|
|
177
255
|
|
|
178
256
|
```json
|
|
@@ -195,6 +273,14 @@ Add to `~/.config/opencode/opencode.json`:
|
|
|
195
273
|
<details>
|
|
196
274
|
<summary><strong>Warp</strong></summary>
|
|
197
275
|
|
|
276
|
+
**Auto setup:**
|
|
277
|
+
|
|
278
|
+
```sh
|
|
279
|
+
npx -y @crush-protocol/mcp-client setup --warp
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
**Manual config:**
|
|
283
|
+
|
|
198
284
|
```json
|
|
199
285
|
{
|
|
200
286
|
"crush-protocol": {
|
package/dist/cli.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,69 +1,68 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
2
|
+
"name": "@crush-protocol/mcp-client",
|
|
3
|
+
"version": "0.4.15",
|
|
4
|
+
"description": "Official Crush MCP client for hosted market data, backtests, and trading workflows",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://github.com/crush-protocol/crush-mcp-server/tree/main/packages/crush-mcp-client#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/crush-protocol/crush-mcp-server.git",
|
|
11
|
+
"directory": "packages/crush-mcp-client"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/crush-protocol/crush-mcp-server/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"crush",
|
|
18
|
+
"crush-protocol",
|
|
19
|
+
"mcp",
|
|
20
|
+
"model-context-protocol",
|
|
21
|
+
"trading",
|
|
22
|
+
"backtest",
|
|
23
|
+
"quant",
|
|
24
|
+
"cursor",
|
|
25
|
+
"claude-code",
|
|
26
|
+
"codex"
|
|
27
|
+
],
|
|
28
|
+
"main": "dist/index.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"bin": {
|
|
31
|
+
"crush-mcp-client": "dist/cli.js"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"INSTRUCTIONS.md"
|
|
36
|
+
],
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"exports": {
|
|
41
|
+
".": {
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"default": "./dist/index.js"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
48
|
+
"dotenv": "^17.2.1",
|
|
49
|
+
"zod": "^3.25.76",
|
|
50
|
+
"@crush-protocol/mcp-contracts": "0.1.2"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/node": "^24.3.0",
|
|
54
|
+
"dotenv-cli": "^8.0.0",
|
|
55
|
+
"tsx": "^4.20.4",
|
|
56
|
+
"typescript": "^5.9.2",
|
|
57
|
+
"vitest": "^3.2.4"
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=20"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "rm -rf dist && tsc -p tsconfig.json",
|
|
64
|
+
"dev": "tsx src/cli.ts",
|
|
65
|
+
"test": "vitest run",
|
|
66
|
+
"test:e2e": "dotenv -e .env.e2e vitest run src/__tests__/e2e.test.ts"
|
|
67
|
+
}
|
|
68
|
+
}
|