mcp-keelgrc
OfficialSummary: Drive your Keel GRC compliance program in natural language — read your workspace and create tasks, risks, vendors, people, policies, evidence links and webhooks — through MCP tools that are a thin wrapper over the Keel /api/v1 API, scoped to your API key's organization.
Identity/workspace:
keel_whoamiconfirms the API key and returns the connected org (id, name, plan tier).Controls:
keel_list_controlslists controls (id, key, name, state, owner) with an optional query filter; creation, updating and crosswalk mapping are not exposed here.Readiness:
keel_readinessreturns the ISO/IEC 27001:2022 readiness summary (percent, totals, covered, in progress, gap, unaddressed) — that framework only.Tasks:
keel_list_tasksandkeel_create_task(title, optional description, dueAt); there is no delete — cancel a task instead.Risks:
keel_list_risks(sorted open-first) andkeel_create_riskwith 1–5 likelihood/impact, treatment (accept/mitigate/transfer/avoid), residual ratings and owner.Vendors:
keel_list_vendorsandkeel_create_vendor(name, tier, status, website, dataAccess, contactEmail, notes).People:
keel_list_peopleandkeel_upsert_person— idempotent on email, so it adds or updates a directory record (writes need owner/admin).Policies:
keel_list_policiesandkeel_create_policyfrom Markdown with template fields, optional key and description.Evidence:
keel_list_evidence(optionally since a timestamp) andkeel_add_evidence_linkto attach a URL, optionally to a control by id or key — link evidence only, no file upload.Webhooks:
keel_list_webhooks,keel_create_webhook(public HTTPS targets, event name or "all"; secret returned once) andkeel_delete_webhook(idempotent, requires owner/admin).Guardrails: strict per-action input schemas reject unknown arguments, enum values and field names match the API exactly, and every call is limited to what your API key's role already permits (auditor keys read only).
keelgrc-mcp
A Model Context Protocol (MCP) server for Keel. Point any MCP client (Claude Desktop, Claude Code, Cursor) at it and drive your compliance program in natural language: "what's my ISO 27001 readiness?", "list controls still in gap", "open a task to rotate our TLS certs."
Docs: https://docs.keelgrc.com/api-mcp/mcp-server/ · Open source: https://keelgrc.com/open-source/
KEEL_API_KEY=your_key npx keelgrc-mcpIt's a thin wrapper over the Keel public API (/api/v1). Every action maps to a real
endpoint and is scoped to your API key's organization. The MCP grants no more access
than the key already has.
Tools
One tool per resource, with an action argument. Thirteen tools cover forty-five
operations; the alternative is a tool per operation, and MCP clients degrade badly
past roughly a hundred tools.
Tool | Actions | Maps to |
| (none) |
|
| (none) |
|
| (none) |
|
| (none) |
|
| list, get, create, update, delete, mappings, map, unmap |
|
| (none) |
|
| list, get, create, update |
|
| list, get, create, update, delete |
|
| list, get, create, update, delete |
|
| list, get, create, update, delete |
|
| list, get, create, update, delete |
|
| list, get, create, update, delete |
|
| list, create, rotate, delete |
|
Some actions are absent. Each is a gap in the REST surface, and each is stated in the tool description so a model reads an answer rather than a hole:
keel_taskshas no delete. Keel has no delete-a-task operation anywhere, the app included. Update the status tocancelledinstead, which keeps the record.keel_controlscreatetakes no state, owner or mappings. It takes a name, a description and an optionalkeyof your own, which is all the app's "Add a control" form takes. A new control startsnot_started, unowned and unmapped: setstateandownerEmailwithupdate, and clauses withmap, which attaches any control to any clause of an applied framework.Applying a framework is not here. It is plan-metered and happens in the app;
keel_starter_controlsandmaprefuse a framework the workspace has not applied.keel_webhookshas no get or update. The API has neither. List them to read one, and replace a subscription by deleting it and creating another.keel_webhookscreatereturns the subscription's signingsecretonce, with asecretNotetelling the model to hand it to the user.listnever returns it.rotateissues a new secret the same way and returnspreviousSecretExpiresAt: the old secret keeps signing for 24 hours, so a receiver can switch without dropping events.Each delivery carries
x-keel-event-id,x-keel-subscription-idandx-keel-signature: v1=<hex>, the hex HMAC-SHA256 of the raw body keyed with the whole secret. During a rotation window the header holds two comma-separatedv1=values, current first. Recompute the HMAC over the exact bytes received, accept if it equals anyv1=value (constant-time comparison), and deduplicate onx-keel-event-id.keel_webhookslistshows each fulltargetUrlonly to an owner or admin key. Any other key sees just the origin (https://host).keel_vendorsreads the authentication posture (auth) and cannot write it. The underlying update treats any one ofmfa,passwordPolicyandssoas the caller owning all three, so a partial write would silently clear the other two.keel_vendorscreatetakes no owners. SetbusinessOwnerEmailandsecurityOwnerEmailwithupdate; null clears one, and omitting one leaves it. An owner change fires no webhook event, matching the app.keel_evidencecreatecovers link evidence only.POST /evidencealso accepts a file asmultipart/form-data, which is not something a stdio transport streams well; a tool that half-worked would be worse than one that says what it covers. Upload files in the Keel app or against the REST API directly.
keel_readiness answers for ISO/IEC 27001:2022 only, whatever framework the
workspace actually runs. keel_frameworks is the one that answers for the workspace.
Both are here because they are different questions, and the descriptions say which.
Roles
The API key acts as the member who created it. Writes are refused for the auditor
role, and most deletes need owner or admin, matching what the same person can do in
the browser. Every keel_people write needs owner or admin, create included,
because create updates a person who already exists and can change their status.
A key created before keys carried an actor has no member and therefore no role. It can still read; every write answers 403 until the key is re-created under Integrations -> API keys. Deleting a webhook subscription requires owner or admin, where it used to accept any valid key, so a Zapier unsubscribe running on an old key fails and needs a fresh key. Rotating a webhook secret needs owner or admin too.
Unknown arguments are errors
Every tool's input schema is strict, and each action refuses an argument it does not
send. Before 0.4.0 both were dropped silently and the call still reported success, so a
startDate on a task or a vendorId on evidence vanished without a word. The REST API
does the same on its side: a write whose body carries an undocumented field gets a 400
listing it in unknownFields.
People are named by email where the API resolves them: assigneeEmail on tasks,
ownerEmail on policies, and businessOwnerEmail and securityOwnerEmail on vendors
must match a workspace member (keel_members lists them), or the call fails and nothing
is written. Evidence links to controls through
controlId/controlKey on create and linkControls/unlinkControls on update; a
control that is not in the workspace is an error rather than a missing link.
Tool descriptions quote API field names exactly (the control status field is called
state, not status; a vendor's tier on the way out is the residual and on the way
in is the inherent) and use enums with the API's own accepted values, because the
description and schema are the only things the model sees before it calls a tool.
Related MCP server: @lex-tools/codebase-context-dumper
Configuration
Two environment variables:
KEEL_API_KEY: required. Create one under Integrations -> API keys in your Keel workspace.KEEL_BASE_URL: optional, defaults tohttps://app.keelgrc.com. Set it for a self-hosted or preview workspace.
Claude Desktop / Claude Code
Add to your MCP config (claude_desktop_config.json, or .mcp.json for Claude Code):
{
"mcpServers": {
"keel": {
"command": "npx",
"args": ["-y", "keelgrc-mcp"],
"env": { "KEEL_API_KEY": "keel_live_..." }
}
}
}Cursor
~/.cursor/mcp.json uses the same mcpServers shape.
Develop
npm ci # installs exactly package-lock.json
npm run build # compile to dist/
npm run smoke # boot the built server and assert it speaks MCP
KEEL_API_KEY=... node dist/index.js # run over stdionpm run smoke needs no API key and makes no network call: it starts dist/index.js,
completes the MCP handshake, and checks the tool list, the advertised version, and that
nothing but protocol frames reach stdout. It runs in CI before every publish.
The server speaks MCP over stdio, so it never writes to stdout except protocol frames; status goes to stderr.
Publishing
This repository is the source of truth for the npm package
keelgrc-mcp. It is published from here via
npm OIDC trusted publishing (.github/workflows/publish.yml): GitHub Actions
authenticates to npm directly, so there is no stored NPM_TOKEN and no 2FA code, and
each release carries build provenance. The first release (0.1.0) was a manual
bootstrap, because trusted publishing can only be enabled for a package that already
exists.
The one-time trusted-publisher setup (npmjs.com -> the package -> Settings -> Trusted Publisher) is documented at the top of the workflow file. To cut a new release:
Bump
versioninpackage.json(npm rejects re-publishing an existing version). The server reports that same version in its MCP handshake — it readspackage.jsonrather than carrying a copy, so the two cannot drift.Commit the regenerated
package-lock.jsonin the same change, ornpm cifails.Actions tab -> "Publish keelgrc-mcp" -> Run workflow, or publish a GitHub Release.
The publish job is deliberately locked down, because it is the one place in Keel that
holds an OIDC token able to publish under Keel's name with a provenance attestation:
npm ci against a committed lockfile, --ignore-scripts so no dependency's install
hook runs beside that token, a pinned npm rather than @latest, and an audit that
fails the job instead of a flag that silences it.
Security notes
The key is sent only to
KEEL_BASE_URLas aBearertoken; nothing is logged.Access is exactly the key's org, enforced by Keel's row-level security, the same as the REST API. Revoke a key under Integrations to cut off the MCP instantly.
License
MIT (c) Keel GRC LLC. See LICENSE.
Available Tools
18 toolskeel_add_evidence_linkA
Attach a URL as evidence, optionally against a control. This tool covers link evidence only — uploading a file is a multipart request the REST API supports but this stdio server does not, so use the Keel app or the REST API directly for file evidence.
Inputs: url (required), title, controlId, controlKey, +1 more.
keel_create_policyA
Create a policy from Markdown. Returns the new policy id, key and title. The key is derived from the title when not supplied; a policy is identified by its key, so reusing a key targets the existing policy.
Inputs: title (required), key, fields, markdown, +1 more.
keel_create_riskA
Add a risk to the workspace risk register. Returns the new risk id. Likelihood and impact are on a 1-5 scale.
Inputs: title (required), impact (required), treatment (required), likelihood (required), +7 more.
keel_create_taskA
Create a compliance task in the workspace. Returns the new task id. Note: an unparseable dueAt is silently ignored by the API and the task is created without a due date, so send a valid ISO-8601 value or omit it.
Inputs: title (required), dueAt, description.
keel_create_vendorB
Add a vendor to the workspace vendor register. Returns the new vendor id and tier.
Inputs: name (required), tier, notes, status, +3 more.
keel_create_webhookA
Subscribe a target URL to Keel events. Use event "all" to receive every event. The URL must be a public HTTPS endpoint — the API rejects http://, localhost and private network addresses.
Inputs: targetUrl (required), event.
keel_delete_webhookA
Delete a webhook subscription by id. Idempotent — deleting an id that does not exist also succeeds, so a success result does not prove a subscription was removed. Call keel_list_webhooks to confirm.
Inputs: id (required).
keel_list_controlsA
List the workspace security controls. Each item has "id", "key", "name", "description", "state", "ownerEmail" and "ownerName". Note the status field is named "state", and its values are not_started / in_progress / implemented / gap / not_applicable.
Inputs: query.
keel_list_evidenceB
List collected evidence, with "id", "type" (file / link), "title", "description", "filename", "sizeBytes", "contentType", "url", "collectedAt" and "expiresAt".
Inputs: since.
keel_list_peopleA
List the workspace personnel directory, with "id", "source", "externalId", "email", "fullName", "jobTitle", "department", "groups", "managerEmail", "status" and "lastSyncedAt".
Inputs: query.
keel_list_policiesA
List the workspace policies, with "id", "key", "title", "status", "version", "updatedAt", "approvedAt", "reviewDue" and "ownerMembershipId".
Inputs: query.
keel_list_risksA
List the workspace risk register. Each item has "id", "title", "description", "category", "likelihood", "impact", "inherentScore", "treatment", "residualLikelihood", "residualImpact", "residualScore", "status", "owner", "ownerEmail", "level" (low / medium / high), "mitigatingControls" and "implementedControls". Sorted by status first (open before closed), then level, then score — so an open low risk appears above a closed high one.
Inputs: no named parameters.
keel_list_tasksA
List the workspace compliance tasks. Each item has "id", "title", "description", "status" (open / in_progress / done), "dueAt", "createdAt", "relatedEntityType" and the assignee as "assigneeId" / "assigneeName" / "assigneeEmail".
Inputs: no named parameters.
keel_list_vendorsA
List the third-party vendors tracked in the workspace, with "id", "name", "website", "contactEmail", "tier", "inherentTier", "residualTier", "status", "dataAccess", "notes", "lastReviewedAt" and "reviewDue".
Inputs: query.
keel_list_webhooksA
List the workspace webhook subscriptions, with "id", "targetUrl", "event" and "createdVia". The signing secret is never returned.
Inputs: no named parameters.
keel_readinessA
Get the audit-readiness summary for ISO/IEC 27001:2022 — this endpoint covers that framework only, not whichever framework the workspace has applied. Returns "framework", "version", "readiness" (percent, integer), "total", "applicable", "covered", "inProgress", "gap", "unaddressed" and "notApplicable".
Inputs: no named parameters.
keel_upsert_personA
Add a person to the workspace directory, or update them if the email already exists. Idempotent: the response includes "created" (true for a new record, false for an update). Only manually-created records are updated — a person synced from an identity provider is returned unchanged.
Inputs: email (required), groups, status, fullName, +3 more.
keel_whoamiA
Verify the API key and return the connected Keel organization as {"org":{"id","name","tier"}}, where "tier" is the plan (free / starter / pro / enterprise / msp). Use this first to confirm which workspace you are acting on.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Each tool maps to a distinct resource and action; there is no meaningful overlap between list, create, delete, and upsert operations. The few convenience names like whoami and readiness are also unambiguous.
All tools share the keel_ prefix and mostly follow a verb_noun pattern such as list_risks, create_task, and delete_webhook. keel_whoami and keel_readiness are minor deviations from that pattern.
18 tools is slightly above the typical well-scoped range, but the broad Keel GRC domain of risks, vendors, tasks, policies, evidence, people, and webhooks justifies the count. Each tool appears to serve a purpose with no obvious filler.
The set is read-and-create heavy but lacks update and delete operations for core entities like tasks, risks, vendors, and policies, which are common lifecycle actions in a GRC workflow. Evidence file upload is also unsupported, requiring fallback to external tools.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Cited, standards-aware compliance overlay for AI assistants (ISO, NIST, FedRAMP, IRAP), over MCP.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn educational implementation of a Model Context Protocol server that demonstrates how to build a functional MCP server for integrating with various LLM clients like Claude Desktop.1162MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server designed to easily dump your codebase context into Large Language Models (LLMs).15 npm3Apache 2.0

@konsulto/mcpofficial
AlicenseAqualityCmaintenanceMCP server that enables Claude Code to drive the Konsulto cybersecurity audit platform from the CLI, including reading and writing findings, managing evidence, and handling scope and assets.1920 npm1MIT
octopilot-mcpofficial
FlicenseAqualityCmaintenanceModel Context Protocol (MCP) server for Octopilot — enables AI agents to detect, generate, build, and wire up new repositories end-to-end using the Octopilot CI/CD toolchain.7-