AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

MCP Server For ISO27001

mcp-sushegaad-mcp-server-for-iso27001 · by Sushegaad

Model Context Protocol (MCP) server for ISO27001: A stateful Model Context Protocol (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 machine.

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add mcp-sushegaad-mcp-server-for-iso27001

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.8.4 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.8.4. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-sushegaad-mcp-server-for-iso27001)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of MCP Server For ISO27001? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

iso27001-mcp

Turn Claude into an ISO 27001 compliance assistant — controls, risk register, policies, evidence tracking, SoA generation, and full audit workflows in one local encrypted MCP server.

[](https://npmjs.com/package/iso27001-mcp) [](https://npmjs.com/package/iso27001-mcp) [](https://github.com/Sushegaad/MCP-Server-for-ISO27001/actions/workflows/ci.yml) [](LICENSE) [](https://www.iso.org/standard/27001) [](https://socket.dev/npm/package/iso27001-mcp/overview/0.9.73)

▶ Live Interactive Demo · [Guided First-Run Checklist →](QUICKSTART.md) · [Roadmap →](ROADMAP.md)

▶ Getting Started — watch on YouTube


Why this exists

ISO 27001 compliance work is typically scattered across spreadsheets, Word docs, ticketing systems, and shared drives. Security teams and consultants spend more time chasing evidence and reformatting documents than actually improving security posture.

iso27001-mcp solves this by giving Claude a live, stateful ISMS — all 93 ISO 27001:2022 controls seeded and ready, a real risk register, policy and procedure generators, evidence tracking, audit workflows, and a Statement of Applicability, backed by an encrypted local database that never leaves your machine.

The difference from generating static documents: Claude can query, reason, and update across your entire ISMS in a single conversation. Ask it to run a gap assessment, identify which open risks are linked to unimplemented controls, generate the policies that close those gaps, and produce a remediation roadmap — all without switching tools.

Who it's for: Security teams · Compliance consultants · GRC engineers · Startups preparing for ISO 27001 · Internal audit functions


What Claude can do with it

| Capability | Example prompt | |------------|----------------| | Gap assessment | "Run an ISO 27001:2022 gap assessment for a 50-person SaaS company." | | Risk register | "Create a risk register for a startup using AWS, GitHub, Slack, and Google Workspace." | | Statement of Applicability | "Generate a Statement of Applicability for all 93 ISO 27001:2022 controls." | | Policy generation | "Create an Access Control Policy mapped to ISO 27001 controls." | | Procedure generation | "Generate an Incident Handling Procedure with GDPR breach notification triggers." | | Internal audit | "Plan an internal audit for clause 9.1 — Performance Evaluation." | | Corrective actions | "List open audit findings and suggest corrective actions." | | Evidence tracking | "Show me all implemented controls with no current evidence." | | Remediation roadmap | "Generate a 26-week remediation roadmap grouped by risk level." | | Management review | "Prepare agenda items for our Clause 9.3 management review." |


Quick Start

Prerequisites

> Build tools are usually not needed. The package ships pre-built binaries for macOS (arm64 + x64), Windows (x64), and Linux (x64/glibc). Try npm install -g iso27001-mcp first — if it succeeds, you're done. > > ↳ If the install fails with a node-gyp error, expand for OS-specific fix > > - macOS: xcode-select --install > - Ubuntu / Debian: sudo apt-get install build-essential python3 > - Windows: Visual Studio Build Tools → "Desktop development with C++" > > > > ↳ If you get an EACCES permission error on macOS or Linux > > Your Node.js was installed system-wide and npm install -g needs write access to a root-owned directory. Do not use sudo npm install -g — it causes other issues. Instead, install Node via nvm or Volta, which place Node in your home directory where no elevated permissions are required. > > > > ↳ If you get command not found on Windows after a successful install > > The npm global bin directory (%APPDATA%\npm) may not be on your PATH yet. Open a new terminal window — the installer updates PATH for new sessions but not the one already open. If it still fails, add %APPDATA%\npm to your PATH manually in System Settings → Environment Variables. > >

Three commands to get running

npm install -g iso27001-mcp     # 1. install globally
iso27001-mcp init --yes         # 2. one-shot setup — all defaults, no prompts
                                #    (omit --yes to choose custom paths interactively)
iso27001-mcp doctor             # 3. verify everything is working

After running iso27001-mcp doctor you should see:

iso27001-mcp — health check
────────────────────────────────────────────────────────
✅  DB_ENCRYPTION_KEY      set (64 hex chars)
✅  HMAC_SECRET            set (64 hex chars)
✅  MCP_API_KEY            set (starts with iso27001_)
✅  Database file          /Users/you/.iso27001/isms.db
✅  Database accessible    opened and queried successfully
✅  Migrations             9/9 applied
✅  Controls seeded        93 ISO 27001:2022 controls
✅  Active API key         1 active key found
✅  Claude Desktop config  /Users/you/.../claude_desktop_config.json
✅  iso27001-mcp entry     present in mcpServers
────────────────────────────────────────────────────────
  All 10 checks passed. Restart Claude Desktop if you just ran init.

Then restart Claude Desktop fully and you should see 50 tools in the tools panel.

> macOS: press Cmd+Q to quit (clicking the red dot only closes the window — the server won't reload). > Windows: right-click the taskbar icon → Quit.

Tools not appearing after restart?

Check the MCP server log — Claude Desktop writes server stderr here:

macOS:   ~/Library/Logs/Claude/mcp-server-iso27001-mcp.log
Windows: %APPDATA%\Claude\Logs\mcp-server-iso27001-mcp.log

Common causes: wrong Node.js version loaded by Claude Desktop, missing DB_ENCRYPTION_KEY in the config, or a database path that doesn't exist yet. Run iso27001-mcp doctor in a fresh terminal for a guided diagnosis.

> Switched Node versions with nvm or Volta? The absolute Node.js path baked into your Claude Desktop config at init time now points to a deleted binary. Re-run iso27001-mcp init — it will detect your current setup and update the path. Your existing database and API keys are preserved (the wizard aborts if your secrets file already exists and you run with --yes).

Five prompts to try first

"Read the iso27001://server/info resource to check the server is running."
"Run an ISO 27001 gap assessment for a 50-person SaaS company."
"Create a risk register for a startup using AWS, GitHub, Slack, and Google Workspace."
"Generate a Statement of Applicability for ISO 27001:2022."
"Create an Access Control Policy mapped to ISO 27001 controls."

Tool Categories

50 tools across 14 groups. All require an API key; minimum role is shown. Read-only lookups (single-record fetches, summaries) have been moved to MCP Resources (iso27001:// URIs) — they appear in Claude's resource panel, not the tools list.

| Group | Tools | Min. role | What it does | |-------|-------|-----------|--------------| | Control Registry | 5 | viewer | Search, filter, and compare ISO 27001:2022 and 2013 controls; browse clause requirements | | Gap Analysis | 6 | viewer / analyst | Create and track gap assessments; export gap reports; generate remediation roadmaps | | Risk Management | 6 | viewer / analyst | Risk register with likelihood × impact scoring, treatment plans, and heat-map summaries | | Policy Management | 3 | analyst / admin | Generate, version, and export policies from 12 Mustache templates | | Statement of Applicability | 3 | analyst | Build and export SoA from a gap assessment; all 93 controls with applicability decisions | | Audit Management | 5 | admin | Plan audits, record findings (NCs, OFIs), raise CARs, and close with effectiveness check | | Evidence Tracking | 4 | analyst | Register evidence artefacts, spot gaps, link to Jira / GitHub issues | | Server Info | — | — | Retired to MCP Resource — access via iso27001://server/info | | Admin & Key Management | 3 | admin | Generate / revoke API keys, query the HMAC audit log | | Organisation Profile | 1 | admin | Set org name, scope, and defaults used by all templates | | Procedure Management | 4 | analyst / admin | Generate, version, and export procedures from 12 Mustache templates | | Management Review | 5 | admin | Full Clause 9.3 lifecycle — inputs, outputs, completion (enforces all 7 required input categories) | | Improvement Plan | 3 | analyst | Clause 10.1 improvement opportunities — track, link, and report | | Evidence Templates | 2 | analyst | Generate Mustache-rendered evidence documents; dual-write to evidence and generated_evidence tables |


Templates

The server ships 30 Mustache templates that Claude renders on demand with your organisation's name, scope, and control references automatically injected.

ISO 27001 Policy Templates

Generate any of these with a single Claude prompt:

information_security · access_control · risk_management · asset_management · incident_response · business_continuity · supplier_security · cryptography · physical_security · acceptable_use · data_classification · secure_development

ISO 27001 Procedure Templates

incident_handling · access_provisioning · asset_onboarding_offboarding · audit_log_review · backup_restore · bcp_testing · change_management · cryptographic_key_management · data_classification_handling · secure_development_workflow · supplier_onboarding · vulnerability_management

Evidence Document Templates

Pre-structured evidence documents for auditor submissions: access_review_attestation · bcp_test_report · incident_post_mortem · risk_treatment_sign_off · supplier_security_questionnaire · training_acknowledgement

Sample Outputs

The [samples/](samples/) directory contains auditor-ready example outputs for a fictitious organisation ("Acme Financial Services Ltd") — a full gap assessment, remediation roadmap, risk register CSV, SoA CSV, access control policy, incident handling procedure, internal audit report, corrective action records, and evidence package. See [Sample Outputs](docs/REFERENCE.md#sample-outputs) for the full index.

> ISO 27001 keywords: ISO 27001 Statement of Applicability generator · ISO 27001 risk register template · ISO 27001 gap assessment tool · ISO 27001 audit evidence tracker · ISO 27001 MCP server · Claude ISO 27001 compliance assistant · AI GRC tool open source


Content Accuracy

Control identifiers, Annex A control names, clause numbers (4–10), and the 93-control 2022 / 114-control 2013 structure are mapped directly from the published ISO/IEC 27001:2022 and ISO/IEC 27001:2013 texts. Policy and procedure templates follow the clause structure and RACI patterns common in practitioner guidance.

> Note: Template content and clause mappings have not yet been independently reviewed by a certified ISO 27001 Lead Auditor. They are intended as a starting point, not a substitute for professional audit or legal advice. A formal practitioner review is planned — see [Roadmap](ROADMAP.md).


Security Model

Role-Based Access Control (RBAC)

Three roles with strict hierarchy. A key can only call tools at or below its assigned role level.

| Capability | Viewer | Analyst | Admin | |------------|--------|---------|-------| | Read controls, clauses, version mappings | ✅ | ✅ | ✅ | | Read gap assessments, risks, policies, audits, evidence | ✅ | ✅ | ✅ | | Create / update gap assessments and control statuses | — | ✅ | ✅ | | Create and manage risks and treatment plans | — | ✅ | ✅ | | Generate policies and procedures | — | ✅ | ✅ | | Create and export Statements of Applicability | — | ✅ | ✅ | | Track and link evidence artefacts | — | ✅ | ✅ | | Record and track improvement opportunities | — | ✅ | ✅ | | Plan and close internal audits; raise CARs | — | — | ✅ | | Set organisation profile | — | — | ✅ | | Run management reviews (Clause 9.3) | — | — | ✅ | | View and query the audit log | — | — | ✅ | | Generate and revoke API keys | — | — | ✅ |

Tool counts: Viewer — 18 tools · Analyst — 36 tools · Admin — 50 tools

What never leaves your machine

In local mode (stdio, the default), no data leaves the machine. The encrypted SQLite database, the .env secrets file, and the append-only audit log are all stored locally. There is no telemetry, no cloud sync, and no outbound network calls — unless you explicitly configure the optional Jira or GitHub integrations.

For the full security profile — threat model, hardening guide, supply chain attestation, and audit log integrity verification — see the Trust Center.

Encryption and audit trail summary

  • Database — AES-256 encrypted SQLite via better-sqlite3-multiple-ciphers
  • API keys — HMAC-SHA256 hashed; raw key printed once and never stored
  • Audit log — HMAC-SHA256 hash chain; every row linked to its predecessor — insertion, deletion, or reordering is detectable; actor_type (ai | human | system) and model_id are included in the hash so provenance claims are tamper-evident
  • Prompt injection — free-text fields sanitised before passing to any handler
  • HITL confirmation gates — 7 critical write tools (update_control_status, update_risk, update_treatment_status, update_soa_entry, update_policy, update_procedure, complete_management_review) require confirmed: true to commit; omitting it returns a preview diff and records outcome: "proposed" in the audit log

Table of Contents

  • [Why this exists](#why-this-exists)
  • [What Claude can do with it](#what-claude-can-do-with-it)
  • [Quick Start](#quick-start)
  • [Tool Categories](#tool-categories)
  • [Templates](#templates)
  • [Security Model](#security-model)
  • [Use Cases](#use-cases)
  • [Full Reference](#full-reference) — installation, tools API, architecture, modes, development, security

Use Cases

1 — Run a Gap Assessment

Ask Claude to assess your organisation against ISO 27001:2022, track the status of each control, and generate a prioritised remediation roadmap.

> "Create a gap assessment for Acme Ltd covering all 2022 controls. Our scope is cloud infrastructure and development. Exclude physical security controls."

Claude will create the assessment, pre-populate all 93 controls as not_started, and let you work through them one by one or in bulk. When you're done:

> "Generate a remediation roadmap grouped by risk level. Give us 26 weeks to get to certification."

The roadmap groups work by theme (Technological first), links controls to open risks, and assigns recommended due dates.


2 — Manage the Risk Register

Track information security risks end-to-end from identification through treatment.

> "Register a new risk: our customer database is at risk from SQL injection due to unparameterised queries. Likelihood 4, impact 5."

> "Create a treatment plan to mitigate this risk. Link it to controls 8.26 and 8.28. Owner: head of engineering. Due: end of Q3."

> "Show me all critical and high risks that still have open treatment plans."

Risk scores are computed automatically (likelihood × impact) and reflected in summaries and heatmaps without any manual input.


3 — Generate ISMS Policies and Procedures

Generate a full suite of ISO 27001-aligned policy and procedure documents in seconds.

> "Set our organisation profile: Acme Ltd. ISMS scope: all cloud-hosted systems and remote employees."

> *"Generate an information security policy. Owner: CISO. Effective from

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.8.4 Imported from the upstream source.