@withone/mcp 2.3.0 → 2.3.1

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.
@@ -5,7 +5,7 @@ import { OneClient, stripReservedHeaders, describeError, answeredByPlatform } fr
5
5
  import { ToolError } from './tool-error.js';
6
6
  // A passthrough call must never let the caller override One's own routing/auth
7
7
  // headers (the scoping bypass), and a failed call must never log the secret.
8
- const SECRET = 'sk_test_REALSECRET_abc123';
8
+ const SECRET = 'test-one-secret-not-a-real-key';
9
9
  const ACTION = { _id: 'conn_mod_def::ALLOWED_ACTION', method: 'GET', path: '/v1/things', tags: [] };
10
10
  const exec = (extra) => ({
11
11
  platform: 'test',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withone/mcp",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "A Model Context Protocol Server for One",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,24 +14,16 @@
14
14
  "test": "node scripts/run-tests.mjs",
15
15
  "prepare": "npm run build",
16
16
  "watch": "tsc --watch",
17
- "inspector": "npx @modelcontextprotocol/inspector build/index.js",
18
- "http": "npm run build && node build/index.js",
19
- "http:dev": "npm run build && nodemon build/index.js"
17
+ "inspector": "npx @modelcontextprotocol/inspector build/index.js"
20
18
  },
21
19
  "dependencies": {
22
20
  "@modelcontextprotocol/sdk": "^1.12.1",
23
- "@vercel/mcp-adapter": "^0.9.1",
24
- "axios": "^1.10.0",
25
- "cors": "^2.8.5",
26
- "express": "^5.1.0",
21
+ "axios": "^1.20.0",
27
22
  "form-data": "^4.0.3",
28
23
  "zod": "^3.23.0"
29
24
  },
30
25
  "devDependencies": {
31
- "@types/cors": "^2.8.19",
32
- "@types/express": "^5.0.3",
33
26
  "@types/node": "^22.0.0",
34
- "nodemon": "^3.1.10",
35
27
  "tsx": "^4.23.13",
36
28
  "typescript": "^5.6.0"
37
29
  },