-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.96 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.96 KB
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
70
71
72
73
74
{
"name": "@codewheel/mcp-http-security",
"version": "1.0.0",
"description": "Secure HTTP transport for MCP servers with API key authentication, IP/origin allowlisting, and middleware support",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:cjs-package",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:cjs-package": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src tests",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build && npm run test"
},
"keywords": [
"mcp",
"model-context-protocol",
"security",
"authentication",
"api-key",
"middleware",
"ip-allowlist",
"origin-validation"
],
"author": "Code Wheel",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/code-wheel/mcp-http-security-ts.git"
},
"bugs": {
"url": "https://github.com/code-wheel/mcp-http-security-ts/issues"
},
"homepage": "https://github.com/code-wheel/mcp-http-security-ts#readme",
"devDependencies": {
"@types/node": "^20.0.0",
"@vitest/coverage-v8": "^2.0.0",
"typescript": "^5.0.0",
"vitest": "^2.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@modelcontextprotocol/sdk": ">=1.0.0"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
"optional": true
}
}
}