How do you let AI agents query machine assurance state over MCP without allowing autonomous safety decisions?
Connect MCP clients (`python -m assurance.mcp`) to inspect capabilities, fleet coverage, and case clocks while architectural `by_design` boundaries omit MCP tools for case closures, waivers, machine enrolment, and key pinning; on the `/ai` control plane, every write adapter call requires a proposed plan, human operator approval, single execution, and a hash-chained receipt.
Last reviewed:
Summary answer: Connect MCP clients (python -m assurance.mcp) to inspect capabilities, fleet coverage, and case clocks while architectural by_design boundaries omit MCP tools for case closures, waivers, machine enrolment, and key pinning; on the /ai control plane, every write adapter call requires a proposed plan, human operator approval, single execution, and a hash-chained receipt.

NeuralBridge provides continuous cryptographic evidence for EU CRA Article 14 and Machinery Regulation Annex III. This light premium visual supports the role-specific workflow without claiming certification.
Key facts
- Every MCP tool in
public/capabilities.jsoncalls the exact same Python domain function as the CLI and FastAPI routes, enforced bypython -m assurance capabilities --check. - Accountable human acts—
machinery.enrol,change.decide,change.waive_reverification,supplier.trust_pin,attest.keygen, and opening cases from untrusted public feeds (watch.open_case)—havemcp: by_design(no MCP tool). - Server-side operator roles (
GET /v1/operators,POST /v1/operators) separatecontributorkeys fromdeciderkeys so an agent holding a contributor key cannot forge a human decision. - On the
/aicontrol plane (src/neuralbridge/ai), Validator permits up to 30READoperations/day on the demo connection, whileWRITEoperations require Register or Cell plus explicit plan → approve → execute receipts. - Adapter call logs and plan decisions on
/aiare durable and SHA-256 hash-chained (tamper-evident, not tamper-proof).
How it works
Software drafts records, checks consistency, and computes statutory clocks; named people make and defend every decision.
- Inspect the exact MCP contract and `by_design` exclusionsRun
assurance capabilities(GET /v1/capabilities) to review which capabilities expose MCP tools and why decider/key surfaces are omitted by design. - Issue least-privilege operator keys per roleCreate separate
contributoranddecideroperators viaPOST /v1/operatorsand mint scoped keys (POST /v1/keys) so automated assistants never holddecidercredentials. - Let MCP assistants read coverage, advisories, and clocksConfigure Cursor or Claude Desktop (
/connectors/mcp) to query fleet status (GET /v1/fleet/machines), coverage (POST /v1/machinery/coverage), and Article 14 clocks (GET /v1/register). - Gate `/ai` writes and Assurance closures behind named humansRequire human plan approval before executing any
/aiwrite adapter call, and require a nameddeciderto executePOST /v1/change/cases/{case_id}/decision(assurance change decide).
Inspect the exact MCP contract and `by_design` exclusions
Run
assurance capabilities(GET /v1/capabilities) to review which capabilities expose MCP tools and why decider/key surfaces are omitted by design.Issue least-privilege operator keys per role
Create separate
contributoranddecideroperators viaPOST /v1/operatorsand mint scoped keys (POST /v1/keys) so automated assistants never holddecidercredentials.Let MCP assistants read coverage, advisories, and clocks
Configure Cursor or Claude Desktop (
/connectors/mcp) to query fleet status (GET /v1/fleet/machines), coverage (POST /v1/machinery/coverage), and Article 14 clocks (GET /v1/register).Gate `/ai` writes and Assurance closures behind named humans
Require human plan approval before executing any
/aiwrite adapter call, and require a nameddeciderto executePOST /v1/change/cases/{case_id}/decision(assurance change decide).
Who it's for
- AI / ops platform teamConnects IDE/ops agents safely to Assurance APIs and `/ai` adapters without prompt-injected closures.Explore →
- Safety / compliance engineerUses AI to summarize advisories and drafts while keeping statutory sign-off strictly human.Explore →
- Insurer / auditorVerifies server-attributed decider records and hash-chained `/ai` execution receipts.Explore →
Capabilities used
Read directly from public/capabilities.json and app/lib/routes.ts at build time.
| Capability | CLI | HTTP API | MCP | Entitlement tier |
|---|---|---|---|---|
| This catalogue | availablecapabilities | availableGET /v1/capabilities | availablecapabilities | Validator (free) |
| List, create, pin Ed25519 signing keys for and disable operators | by design the account plane (billing, keys, operators); not an assurance capability to automate | availableGET /v1/operatorsPOST /v1/operatorsPOST /v1/operators/{operator_id}/disablePOST /v1/operators/{operator_id}/signing-key | by design the account plane (billing, keys, operators); not an assurance capability to automate | Register |
| List, issue and revoke API keys | availablekeys createkeys listkeys revoke | availableGET /v1/keysPOST /v1/keysPOST /v1/keys/revoke | by design creating and ending a key is a named person's act on the account's credentials; an agent is not offered a way to mint or revoke one | Register / Cell |
| Every enrolled machine, worst coverage first | availablefleet list | availableGET /v1/fleet/machines | availablefleet_machines | Cell |
| Which safety functions a recorded verification still stands for | availablemachinery coverage | availablePOST /v1/machinery/coverage | availablemachinery_coverage | Cell |
| Readiness across every case, worst first | availableart14 register | availableGET /v1/register | availableart14_register | Register |
| OPEN to IN_REVIEW | availablechange claim | availablePOST /v1/change/cases/{case_id}/claim | availablechange_claim | Cell |
| Move to the next required stop | availablechange advance | availablePOST /v1/change/cases/{case_id}/advance | availablechange_advance | Cell |
| Close, reject or defer a case | availablechange decide | availablePOST /v1/change/cases/{case_id}/decision | by design a named person's act, so no agent surface (the Article 14 track, a case closure and a case opened from third-party content are human decisions; software drafts) | Cell |
What it does not establish
- Omitting dangerous MCP tools prevents an agent from calling them through MCP; if a human pastes a
deciderAPI key into an unrestricted shell agent, the server sees validdecidercredentials. - Hash-chained
/aiadapter logs are tamper-evident, not tamper-proof against an administrator who deletes the entire backing database without external anchors. - Broad enterprise SaaS/ERP adapter coverage on the platform layer is evolving, not shipped; today PostgreSQL and narrow REST adapters are supported as documented.
Frequently asked questions
- How many MCP tools exist in Industrial Autonomous Assurance, and can that list drift?
public/capabilities.jsonexports the exact registered MCP tool list from code, andpython -m assurance capabilities --checkfails CI if a single tool is added, renamed, or removed without updating the contract.- Why can’t an MCP tool close a change-assurance case after tests pass?
- Closing a safety-bearing machine change case or waiving re-verification is an accountable engineering judgement under Regulation (EU) 2023/1230; software prepares the facts, and a named
decidersigns the closure. - Is the shared `/ai` demo database writable on paid plans?
- No. The shared demo connection is read-only for every non-operator caller; paid accounts execute writes only on connections they explicitly bind for their own tenant.
- How are bound `/ai` database credentials protected?
- Credentials are encrypted at rest with AES-256-GCM bound to tenant and key-version metadata, paired with a hash-chained revocation journal.