@crush-protocol/mcp-client 0.4.13 → 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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +101 -15
  3. package/dist/cli.js +0 -0
  4. 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: `npx -y @crush-protocol/mcp-client setup --cursor`
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
  [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=crush-protocol&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjcnVzaC1wcm90b2NvbC9tY3AtY2xpZW50Il19)
49
71
 
50
72
  ```json
@@ -58,24 +80,40 @@ This writes MCP config for all supported hosts at once. To target a single host:
58
80
  }
59
81
  ```
60
82
 
61
- [![Docs](https://img.shields.io/badge/docs-Cursor-2962FF?style=flat&logo=cursor&logoColor=white)](https://docs.cursor.com/context/model-context-protocol)
83
+ [![Docs](https://img.shields.io/badge/docs-Cursor-2962FF?style=flat)](https://docs.cursor.com/context/model-context-protocol)
62
84
 
63
85
  </details>
64
86
 
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
  ```
71
101
 
72
- [![Docs](https://img.shields.io/badge/docs-Claude_Code-cc9b7a?style=flat&logo=anthropic&logoColor=white)](https://docs.anthropic.com/en/docs/claude-code/mcp)
102
+ [![Docs](https://img.shields.io/badge/docs-Claude_Code-cc9b7a?style=flat)](https://docs.anthropic.com/en/docs/claude-code/mcp)
73
103
 
74
104
  </details>
75
105
 
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`):
@@ -87,13 +125,21 @@ args = ["-y", "@crush-protocol/mcp-client"]
87
125
  startup_timeout_ms = 20000
88
126
  ```
89
127
 
90
- [![Docs](https://img.shields.io/badge/docs-Codex-412991?style=flat&logo=openai&logoColor=white)](https://developers.openai.com/codex/mcp)
128
+ [![Docs](https://img.shields.io/badge/docs-Codex-412991?style=flat)](https://developers.openai.com/codex/mcp)
91
129
 
92
130
  </details>
93
131
 
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
@@ -107,13 +153,21 @@ Add to `~/.gemini/settings.json`:
107
153
  }
108
154
  ```
109
155
 
110
- [![Docs](https://img.shields.io/badge/docs-Gemini_CLI-4285F4?style=flat&logo=google&logoColor=white)](https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html)
156
+ [![Docs](https://img.shields.io/badge/docs-Gemini_CLI-4285F4?style=flat)](https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html)
111
157
 
112
158
  </details>
113
159
 
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
@@ -128,13 +182,21 @@ Add to `.vscode/mcp.json`:
128
182
  }
129
183
  ```
130
184
 
131
- [![Docs](https://img.shields.io/badge/docs-VS_Code-007ACC?style=flat&logo=visualstudiocode&logoColor=white)](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
185
+ [![Docs](https://img.shields.io/badge/docs-VS_Code-007ACC?style=flat)](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
132
186
 
133
187
  </details>
134
188
 
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": {
@@ -146,13 +208,21 @@ Add to `.vscode/mcp.json`:
146
208
  }
147
209
  ```
148
210
 
149
- [![Docs](https://img.shields.io/badge/docs-Windsurf-00C4B4?style=flat&logo=codeium&logoColor=white)](https://docs.windsurf.com/windsurf/cascade/mcp)
211
+ [![Docs](https://img.shields.io/badge/docs-Windsurf-00C4B4?style=flat)](https://docs.windsurf.com/windsurf/cascade/mcp)
150
212
 
151
213
  </details>
152
214
 
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
@@ -166,13 +236,21 @@ Edit `claude_desktop_config.json`:
166
236
  }
167
237
  ```
168
238
 
169
- [![Docs](https://img.shields.io/badge/docs-Claude_Desktop-cc9b7a?style=flat&logo=anthropic&logoColor=white)](https://modelcontextprotocol.io/quickstart/user)
239
+ [![Docs](https://img.shields.io/badge/docs-Claude_Desktop-cc9b7a?style=flat)](https://modelcontextprotocol.io/quickstart/user)
170
240
 
171
241
  </details>
172
242
 
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": {
@@ -207,7 +293,7 @@ Add to `~/.config/opencode/opencode.json`:
207
293
  }
208
294
  ```
209
295
 
210
- [![Docs](https://img.shields.io/badge/docs-Warp-01A4FF?style=flat&logo=warp&logoColor=white)](https://docs.warp.dev/knowledge-and-collaboration/mcp#adding-an-mcp-server)
296
+ [![Docs](https://img.shields.io/badge/docs-Warp-01A4FF?style=flat)](https://docs.warp.dev/knowledge-and-collaboration/mcp#adding-an-mcp-server)
211
297
 
212
298
  </details>
213
299
 
@@ -225,7 +311,7 @@ Add to `~/.config/opencode/opencode.json`:
225
311
  }
226
312
  ```
227
313
 
228
- [![Docs](https://img.shields.io/badge/docs-Kiro-FF9900?style=flat&logo=amazonaws&logoColor=white)](https://kiro.dev/docs/mcp/configuration/)
314
+ [![Docs](https://img.shields.io/badge/docs-Kiro-FF9900?style=flat)](https://kiro.dev/docs/mcp/configuration/)
229
315
 
230
316
  </details>
231
317
 
@@ -319,7 +405,7 @@ Hamburger menu → Settings → Tools → `+ Add MCP` → Command: `npx -y @crus
319
405
  }
320
406
  ```
321
407
 
322
- [![Docs](https://img.shields.io/badge/docs-Copilot-24292f?style=flat&logo=github&logoColor=white)](https://docs.github.com/en/enterprise-cloud@latest/copilot/how-tos/agents/copilot-coding-agent/extending-copilot-coding-agent-with-mcp)
408
+ [![Docs](https://img.shields.io/badge/docs-Copilot-24292f?style=flat)](https://docs.github.com/en/enterprise-cloud@latest/copilot/how-tos/agents/copilot-coding-agent/extending-copilot-coding-agent-with-mcp)
323
409
 
324
410
  </details>
325
411
 
@@ -340,7 +426,7 @@ Add to `~/.copilot/mcp-config.json`:
340
426
  }
341
427
  ```
342
428
 
343
- [![Docs](https://img.shields.io/badge/docs-Copilot_CLI-24292f?style=flat&logo=github&logoColor=white)](https://docs.github.com/copilot)
429
+ [![Docs](https://img.shields.io/badge/docs-Copilot_CLI-24292f?style=flat)](https://docs.github.com/copilot)
344
430
 
345
431
  </details>
346
432
 
@@ -358,7 +444,7 @@ Add to `~/.copilot/mcp-config.json`:
358
444
  }
359
445
  ```
360
446
 
361
- [![Docs](https://img.shields.io/badge/docs-Amazon_Q-7c3aed?style=flat&logo=amazonaws&logoColor=white)](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp-configuration.html)
447
+ [![Docs](https://img.shields.io/badge/docs-Amazon_Q-7c3aed?style=flat)](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp-configuration.html)
362
448
 
363
449
  </details>
364
450
 
@@ -410,7 +496,7 @@ Settings → Tools → AI Assistant → Model Context Protocol (MCP) → `+ Add`
410
496
  }
411
497
  ```
412
498
 
413
- [![Docs](https://img.shields.io/badge/docs-JetBrains-e11d48?style=flat&logo=jetbrains&logoColor=white)](https://www.jetbrains.com/help/ai-assistant/configure-an-mcp-server.html)
499
+ [![Docs](https://img.shields.io/badge/docs-JetBrains-e11d48?style=flat)](https://www.jetbrains.com/help/ai-assistant/configure-an-mcp-server.html)
414
500
 
415
501
  </details>
416
502
 
@@ -471,7 +557,7 @@ Program → Install → Edit `mcp.json`:
471
557
  }
472
558
  ```
473
559
 
474
- [![Docs](https://img.shields.io/badge/docs-VS_2022-6d28d9?style=flat&logo=visualstudio&logoColor=white)](https://learn.microsoft.com/visualstudio/ide/mcp-servers?view=vs-2022)
560
+ [![Docs](https://img.shields.io/badge/docs-VS_2022-6d28d9?style=flat)](https://learn.microsoft.com/visualstudio/ide/mcp-servers?view=vs-2022)
475
561
 
476
562
  </details>
477
563
 
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,69 +1,68 @@
1
1
  {
2
- "name": "@crush-protocol/mcp-client",
3
- "version": "0.4.13",
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
- "scripts": {
47
- "build": "rm -rf dist && tsc -p tsconfig.json",
48
- "dev": "tsx src/cli.ts",
49
- "test": "vitest run",
50
- "test:e2e": "dotenv -e .env.e2e vitest run src/__tests__/e2e.test.ts",
51
- "prepublishOnly": "pnpm run build"
52
- },
53
- "dependencies": {
54
- "@crush-protocol/mcp-contracts": "workspace:*",
55
- "@modelcontextprotocol/sdk": "^1.26.0",
56
- "dotenv": "^17.2.1",
57
- "zod": "^3.25.76"
58
- },
59
- "devDependencies": {
60
- "@types/node": "^24.3.0",
61
- "dotenv-cli": "^8.0.0",
62
- "tsx": "^4.20.4",
63
- "typescript": "^5.9.2",
64
- "vitest": "^3.2.4"
65
- },
66
- "engines": {
67
- "node": ">=20"
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
+ }