@crush-protocol/mcp-client 0.1.5 → 0.1.7

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 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
@@ -106,10 +106,10 @@ Add to `~/.cursor/mcp.json`:
106
106
 
107
107
  ## Environment Variables
108
108
 
109
- | Variable | Description |
110
- | ---------------------- | -------------------------------------------------------------------- |
111
- | `CRUSH_MCP_SERVER_URL` | MCP server URL (default: `https://crush-mcp-ats.dev.xexlab.com/mcp`) |
112
- | `CRUSH_MCP_TOKEN` | MCP auth token (`mcp_xxx`) |
109
+ | Variable | Description |
110
+ | ---------------------- | -------------------------------------------------------------- |
111
+ | `CRUSH_MCP_SERVER_URL` | MCP server URL (default: `https://mcp.crush-protocol.com/mcp`) |
112
+ | `CRUSH_MCP_TOKEN` | MCP auth token (`mcp_xxx`) |
113
113
 
114
114
  ---
115
115
 
package/dist/cli.js CHANGED
@@ -32,7 +32,7 @@ const requireString = (value, message) => {
32
32
  const createRemoteClient = (flags) => {
33
33
  const serverUrl = typeof flags.url === "string"
34
34
  ? flags.url
35
- : (process.env.CRUSH_MCP_SERVER_URL ?? "https://crush-mcp-ats.dev.xexlab.com/mcp");
35
+ : (process.env.CRUSH_MCP_SERVER_URL ?? "https://mcp.crush-protocol.com/mcp");
36
36
  const token = typeof flags.token === "string"
37
37
  ? flags.token
38
38
  : requireString(process.env.CRUSH_MCP_TOKEN, "Missing token. Use --token or CRUSH_MCP_TOKEN");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crush-protocol/mcp-client",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Crush MCP npm client package (remote Streamable HTTP + optional ClickHouse direct)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -18,17 +18,11 @@
18
18
  "default": "./dist/index.js"
19
19
  }
20
20
  },
21
- "scripts": {
22
- "build": "tsc -p tsconfig.json",
23
- "dev": "tsx src/cli.ts",
24
- "test:e2e": "dotenv -e .env.e2e vitest run src/__tests__/e2e.test.ts",
25
- "prepublishOnly": "pnpm run build"
26
- },
27
21
  "dependencies": {
28
- "@crush-protocol/mcp-contracts": "workspace:*",
29
22
  "@modelcontextprotocol/sdk": "^1.26.0",
30
23
  "dotenv": "^17.2.1",
31
- "zod": "^3.25.76"
24
+ "zod": "^3.25.76",
25
+ "@crush-protocol/mcp-contracts": "0.1.0"
32
26
  },
33
27
  "devDependencies": {
34
28
  "@types/node": "^24.3.0",
@@ -39,5 +33,10 @@
39
33
  },
40
34
  "engines": {
41
35
  "node": ">=20"
36
+ },
37
+ "scripts": {
38
+ "build": "tsc -p tsconfig.json",
39
+ "dev": "tsx src/cli.ts",
40
+ "test:e2e": "dotenv -e .env.e2e vitest run src/__tests__/e2e.test.ts"
42
41
  }
43
- }
42
+ }