iso27001-mcp 0.7.4 → 0.7.8
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/README.md +13 -14
- package/dist/index.js +6 -3
- package/package.json +6 -3
- /package/dist/seed/policy-templates/{policy-templates/acceptable_use.md → acceptable_use.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/access_control.md → access_control.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/asset_management.md → asset_management.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/business_continuity.md → business_continuity.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/cryptography.md → cryptography.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/data_classification.md → data_classification.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/incident_response.md → incident_response.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/information_security.md → information_security.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/physical_security.md → physical_security.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/risk_management.md → risk_management.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/secure_development.md → secure_development.md} +0 -0
- /package/dist/seed/policy-templates/{policy-templates/supplier_security.md → supplier_security.md} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# iso27001-mcp
|
|
2
2
|
|
|
3
|
-
[](https://socket.dev/npm/package/iso27001-mcp/overview/0.7.8)
|
|
4
|
+
[](https://npmjs.com/package/iso27001-mcp)
|
|
5
|
+
[](https://sushegaad.github.io/MCP-server-for-ISO27001/)
|
|
6
|
+
|
|
7
|
+
**[▶ Live Interactive Demo](https://sushegaad.github.io/MCP-server-for-ISO27001/)**
|
|
4
8
|
|
|
5
9
|
A stateful [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server that gives Claude a complete ISO 27001:2022 Information Security Management System (ISMS). Ask Claude to run gap assessments, manage risks, generate policies, track evidence, and run audits — all backed by an encrypted SQLite database on your own machine.
|
|
6
10
|
|
|
@@ -44,13 +48,15 @@ Get the server connected to Claude Desktop in five minutes.
|
|
|
44
48
|
- **Node.js ≥ 20.11.0** — use [nvm](https://github.com/nvm-sh/nvm) or [Volta](https://volta.sh)
|
|
45
49
|
|
|
46
50
|
```bash
|
|
47
|
-
node --version #
|
|
51
|
+
node --version # must be v20.x LTS — do not publish from Node 22/24
|
|
48
52
|
```
|
|
49
53
|
|
|
54
|
+
> ⚠️ **Always publish from Node 20.** The native `better-sqlite3-multiple-ciphers` module is compiled against a specific Node ABI. Publishing from Node 24 produces a binary that may fail to load for users on Node 20.
|
|
55
|
+
|
|
50
56
|
- **Build tools** — needed by the encrypted SQLite native module:
|
|
51
57
|
- **macOS:** `xcode-select --install`
|
|
52
58
|
- **Ubuntu/Debian:** `sudo apt-get install build-essential python3`
|
|
53
|
-
- **Windows:**
|
|
59
|
+
- **Windows:** Install [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/) → "Build Tools for Visual Studio" → check "Desktop development with C++"
|
|
54
60
|
|
|
55
61
|
### Step 1 — Install from npm
|
|
56
62
|
|
|
@@ -71,18 +77,11 @@ openssl rand -hex 32 # → copy as DB_ENCRYPTION_KEY
|
|
|
71
77
|
|
|
72
78
|
### Step 3 — Generate an API key
|
|
73
79
|
|
|
74
|
-
|
|
75
|
-
iso27001-mcp keygen --label "Me" --role admin \
|
|
76
|
-
HMAC_SECRET=<your_hmac_secret> \
|
|
77
|
-
DB_ENCRYPTION_KEY=<your_db_key> \
|
|
78
|
-
DB_PATH=$HOME/.iso27001/isms.db
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Or set the env vars in your shell first:
|
|
80
|
+
Set the environment variables first, then run keygen:
|
|
82
81
|
|
|
83
82
|
```bash
|
|
84
|
-
export HMAC_SECRET
|
|
85
|
-
export DB_ENCRYPTION_KEY
|
|
83
|
+
export HMAC_SECRET=<your_hmac_secret>
|
|
84
|
+
export DB_ENCRYPTION_KEY=<your_db_key>
|
|
86
85
|
export DB_PATH=$HOME/.iso27001/isms.db
|
|
87
86
|
|
|
88
87
|
iso27001-mcp keygen --label "Me" --role admin
|
|
@@ -227,7 +226,7 @@ Every tool call is logged in a tamper-evident audit trail. Admins can query it a
|
|
|
227
226
|
- **Build tools** for the native SQLite module:
|
|
228
227
|
- macOS: `xcode-select --install`
|
|
229
228
|
- Ubuntu/Debian: `sudo apt-get install build-essential python3`
|
|
230
|
-
- Windows:
|
|
229
|
+
- Windows: Install [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/) → "Build Tools for Visual Studio" → check "Desktop development with C++"
|
|
231
230
|
|
|
232
231
|
### Step 1 — Install
|
|
233
232
|
|
package/dist/index.js
CHANGED
|
@@ -24773,7 +24773,7 @@ var require_package = __commonJS({
|
|
|
24773
24773
|
"package.json"(exports2, module2) {
|
|
24774
24774
|
module2.exports = {
|
|
24775
24775
|
name: "iso27001-mcp",
|
|
24776
|
-
version: "0.7.
|
|
24776
|
+
version: "0.7.8",
|
|
24777
24777
|
description: "Stateful ISO 27001:2022 ISMS management for Claude \u2014 gap analysis, risk register, policies, audits, and evidence tracking via the Model Context Protocol",
|
|
24778
24778
|
license: "MIT",
|
|
24779
24779
|
repository: {
|
|
@@ -24813,10 +24813,10 @@ var require_package = __commonJS({
|
|
|
24813
24813
|
],
|
|
24814
24814
|
scripts: {
|
|
24815
24815
|
build: "tsup",
|
|
24816
|
-
postbuild: "cp -r src/seed/policy-templates dist/seed/policy-templates",
|
|
24816
|
+
postbuild: "rm -rf dist/seed && mkdir -p dist/seed && cp -r src/seed/policy-templates dist/seed/policy-templates",
|
|
24817
24817
|
prepack: "npm run build",
|
|
24818
24818
|
prepublishOnly: "npm run typecheck && npm test && npm run build",
|
|
24819
|
-
postinstall: `node -e "require('better-sqlite3-multiple-ciphers')" 2>/dev/null || echo "\\n\u26A0\uFE0F iso27001-mcp: Native SQLite module failed to load. You may need build tools installed.\\n macOS: xcode-select --install\\n Ubuntu/Debian: sudo apt-get install build-essential python3\\n Windows:
|
|
24819
|
+
postinstall: `node -e "require('better-sqlite3-multiple-ciphers')" 2>/dev/null || echo "\\n\u26A0\uFE0F iso27001-mcp: Native SQLite module failed to load. You may need build tools installed.\\n macOS: xcode-select --install\\n Ubuntu/Debian: sudo apt-get install build-essential python3\\n Windows: https://visualstudio.microsoft.com/downloads/ \u2192 Build Tools for Visual Studio \u2192 Desktop development with C++\\n See: https://github.com/Sushegaad/MCP-Server-for-ISO27001#prerequisites\\n"`,
|
|
24820
24820
|
typecheck: "tsc --noEmit",
|
|
24821
24821
|
lint: "eslint src --ext .ts",
|
|
24822
24822
|
test: "vitest run --coverage",
|
|
@@ -24835,6 +24835,9 @@ var require_package = __commonJS({
|
|
|
24835
24835
|
express: "4.22.1",
|
|
24836
24836
|
"express-rate-limit": "7.5.1"
|
|
24837
24837
|
},
|
|
24838
|
+
overrides: {
|
|
24839
|
+
"fast-uri": ">=3.1.2"
|
|
24840
|
+
},
|
|
24838
24841
|
devDependencies: {
|
|
24839
24842
|
"@types/better-sqlite3": "7.6.13",
|
|
24840
24843
|
"@types/express": "4.17.25",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iso27001-mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.8",
|
|
4
4
|
"description": "Stateful ISO 27001:2022 ISMS management for Claude — gap analysis, risk register, policies, audits, and evidence tracking via the Model Context Protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsup",
|
|
43
|
-
"postbuild": "cp -r src/seed/policy-templates dist/seed/policy-templates",
|
|
43
|
+
"postbuild": "rm -rf dist/seed && mkdir -p dist/seed && cp -r src/seed/policy-templates dist/seed/policy-templates",
|
|
44
44
|
"prepack": "npm run build",
|
|
45
45
|
"prepublishOnly": "npm run typecheck && npm test && npm run build",
|
|
46
|
-
"postinstall": "node -e \"require('better-sqlite3-multiple-ciphers')\" 2>/dev/null || echo \"\\n⚠️ iso27001-mcp: Native SQLite module failed to load. You may need build tools installed.\\n macOS: xcode-select --install\\n Ubuntu/Debian: sudo apt-get install build-essential python3\\n Windows:
|
|
46
|
+
"postinstall": "node -e \"require('better-sqlite3-multiple-ciphers')\" 2>/dev/null || echo \"\\n⚠️ iso27001-mcp: Native SQLite module failed to load. You may need build tools installed.\\n macOS: xcode-select --install\\n Ubuntu/Debian: sudo apt-get install build-essential python3\\n Windows: https://visualstudio.microsoft.com/downloads/ → Build Tools for Visual Studio → Desktop development with C++\\n See: https://github.com/Sushegaad/MCP-Server-for-ISO27001#prerequisites\\n\"",
|
|
47
47
|
"typecheck": "tsc --noEmit",
|
|
48
48
|
"lint": "eslint src --ext .ts",
|
|
49
49
|
"test": "vitest run --coverage",
|
|
@@ -62,6 +62,9 @@
|
|
|
62
62
|
"express": "4.22.1",
|
|
63
63
|
"express-rate-limit": "7.5.1"
|
|
64
64
|
},
|
|
65
|
+
"overrides": {
|
|
66
|
+
"fast-uri": ">=3.1.2"
|
|
67
|
+
},
|
|
65
68
|
"devDependencies": {
|
|
66
69
|
"@types/better-sqlite3": "7.6.13",
|
|
67
70
|
"@types/express": "4.17.25",
|
/package/dist/seed/policy-templates/{policy-templates/acceptable_use.md → acceptable_use.md}
RENAMED
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/access_control.md → access_control.md}
RENAMED
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/asset_management.md → asset_management.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/incident_response.md → incident_response.md}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/physical_security.md → physical_security.md}
RENAMED
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/risk_management.md → risk_management.md}
RENAMED
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/secure_development.md → secure_development.md}
RENAMED
|
File without changes
|
/package/dist/seed/policy-templates/{policy-templates/supplier_security.md → supplier_security.md}
RENAMED
|
File without changes
|