An installable MCP server for the Assurance API
assurance-mcp ships in this repository — 55 tools, each a real httpx call to a running deployment, no local simulation. With no API URL configured, every tool returns the same honest "not configured" error this whole site uses, never a faked response.

Install and run
pip install -e '.[assurance-mcp]' export ASSURANCE_API_URL=http://127.0.0.1:8000 # or a real deployment export ASSURANCE_API_KEY=... # optional — paid tools only assurance-mcp
Transport is stdio by default, which is what most MCP clients expect — including Cursor's mcp.json, shown on the Cursor connector page. For a generic MCP client, point it at the assurance-mcp command directly:
{
"mcpServers": {
"assurance": {
"command": "assurance-mcp",
"env": {
"ASSURANCE_API_URL": "http://127.0.0.1:8000",
"ASSURANCE_API_KEY": ""
}
}
}
}neuralbridge-ai-mcp: discover, read, plan, approve
A separate package with the same honesty rules — a thin httpx wrapper around the real /ai control plane (src/neuralbridge/api/routes/ai.py), not a second policy engine. ai_list_connections, ai_capabilities, and ai_read are free (rate-limited); ai_plan_write, ai_approve, ai_deny, and ai_audit need a Register or Cell key and return the API's real 402 otherwise — never a faked success.
pip install -e '.[neuralbridge-ai-mcp]' export NEURALBRIDGE_API_URL=http://127.0.0.1:8000/api/v1 # or a real deployment export NEURALBRIDGE_AI_API_KEY=... # optional — write tools only export NEURALBRIDGE_AI_ACTOR=your-agent-name # real identity for the audit trail neuralbridge-ai-mcp
{
"mcpServers": {
"neuralbridge-ai": {
"command": "neuralbridge-ai-mcp",
"env": {
"NEURALBRIDGE_API_URL": "http://127.0.0.1:8000/api/v1",
"NEURALBRIDGE_AI_API_KEY": "",
"NEURALBRIDGE_AI_ACTOR": "your-agent-name"
}
}
}
}For standing up a local Postgres to point this at, see docs/ai-local-setup.md.
55 tools — 16 need no key, 39 need one on the right plan
Reads, verifications and pure calculations, plus a few change-queue writes: plans and spec_validate need no key at all. The others (register_cases on Register; the machine and change tools on Cell) called on the wrong plan return the API's real structured 401/402, not an error from this server. The full route table below shows every route; the highlighted rows are what ships in assurance-mcp today.
What an agent may write. Of the change-queue tools, 5 write: change_claim, change_advance, change_reverify, change_assess_drift, and change_assess_intervention — open a case from a machine's own manifests (drift, or a sealed intervention), claim it, move it to the next stop its own required work names, and submit a re-verification for the engine to judge. Assessing an advisory is not a tool either: it is third-party content, and a case opened from an unsigned one is the attack the signed feed exists to stop. Closing, waiving, rejecting or deferring a case, resuming it and resolving its open decisions are human-only: they have no MCP tool, by design, and stay on the CLI and the HTTP API. Each write takes an actor name; it is asserted by the caller and recorded, not proven — the API refuses a blank one but does not check who is behind the key.
Third-party documents become drafts. sbom_import and csaf_import record a draft inventory from a CycloneDX SBOM (pending a named person's review: no serial number, nothing marked safety-relevant or measured) and an unsigned, inspect-only supplier advisory from a CSAF 2.0 document. Reviewing a draft enrols a machine and decides which software is safety-relevant, so it has no tool.
Public-source intelligence is read-only here. The 4 intel_* tools read a store the operator builds with the CLI. They answer 503 until the operator sets ASSURANCE_INTEL_STORE, and nothing in this server fetches a feed or records an observation; those are operator commands. Which capabilities have no tool, and whether that is by design or planned, is on the capabilities page.
| Route | Plan | MCP tool |
|---|---|---|
GET /v1/spec/fields | Validator — free | Tool: spec_fields |
POST /v1/spec/validate | Validator — free | Tool: spec_validate |
GET /v1/plans | Validator — free | Tool: plans |
GET /v1/capabilities | Validator — free | Tool: capabilities |
GET /v1/me | Validator — free | Tool: whoami |
GET /v1/usage | Validator — free | Tool: usage |
POST /v1/machine/separation | Validator — free | Tool: machine_separation |
POST /v1/machine/bundle/check | Validator — free | Tool: machine_check |
POST /v1/machinery/diff | Validator — free | Tool: machinery_diff |
POST /v1/machinery/passport/check | Validator — free | Tool: machinery_passport_check |
GET /v1/machinery/export | Cell — €1,290/mo | Tool: machinery_export |
POST /v1/machinery/passport/check-ledger | Cell — €1,290/mo | Tool: machinery_passport_check_ledger |
POST /v1/fleet/advisory/check | Validator — free | No tool, by design |
POST /v1/fleet/declaration/check | Validator — free | Tool: fleet_declaration_check |
POST /v1/check/machine | Validator — free | Tool: machine_assurance_check |
GET /v1/check/services | Validator — free | Tool: services |
POST /v1/evidence/verify | Validator — free | Tool: evidence_verify |
GET /v1/ledger/attest/key | Validator — free | Tool: attest_service_key |
POST /v1/ledger/attest/verify | Validator — free | Tool: attest_verify |
GET /v1/supplier/feed/{id} | Validator — free | No tool, by design |
GET /v1/register | Register — €390/mo | Tool: art14_register |
GET /v1/register/breaches | Register — €390/mo | Tool: art14_breaches |
GET /v1/cases | Register — €390/mo | Tool: register_cases |
GET /v1/cases/{case_id} | Register — €390/mo | Tool: art14_case |
GET /v1/cases/{case_id}/history | Register — €390/mo | Tool: art14_history |
GET /v1/cases/{case_id}/export | Register — €390/mo | Tool: art14_export |
POST /v1/cases/{id}/signal | Register — €390/mo | No tool, by design |
POST /v1/cases/{id}/awareness | Register — €390/mo | No tool, by design |
POST /v1/cases/{case_id}/awareness/supersede | Register — €390/mo | No tool, by design |
POST /v1/cases/{id}/triage | Register — €390/mo | No tool, by design |
POST /v1/cases/{id}/availability | Register — €390/mo | No tool, by design |
POST /v1/cases/{id}/measure | Register — €390/mo | No tool, by design |
POST /v1/cases/{id}/user-notification | Register — €390/mo | No tool, by design |
POST /v1/cases/{id}/filings | Register — €390/mo | No tool, by design |
GET /v1/ledger/verify | Register — €390/mo | Tool: ledger_verify |
GET /v1/ledger/entries | Register — €390/mo | No tool, by design |
POST /v1/machine/verify | Cell — €1,290/mo | Tool: machine_verify |
POST /v1/machinery/enrol | Cell — €1,290/mo | No tool, by design |
POST /v1/machinery/enrol/batch | Cell — €1,290/mo | No tool, by design |
POST /v1/machinery/enrol/amend | Cell — €1,290/mo | No tool, by design |
POST /v1/machinery/manifest | Cell — €1,290/mo | No tool, by design |
POST /v1/machinery/intervention | Cell — €1,290/mo | No tool, by design |
POST /v1/machinery/coverage | Cell — €1,290/mo | Tool: machinery_coverage |
POST /v1/machinery/pack | Cell or purchased evidence pack | No tool, by design |
POST /v1/machinery/passport | Cell — €1,290/mo | No tool, by design |
GET /v1/fleet/machines | Cell — €1,290/mo | Tool: fleet_machines |
GET /v1/fleet/report | Cell — €1,290/mo | Tool: fleet_report |
POST /v1/fleet/advisory | Cell — €1,290/mo | No tool, by design |
POST /v1/fleet/advisory/signed | Cell — €1,290/mo | No tool, by design |
POST /v1/ingest/sbom | Cell — €1,290/mo | Tool: sbom_import (agent write) |
GET /v1/ingest/sbom | Cell — €1,290/mo | Tool: sbom_drafts |
GET /v1/ingest/sbom/{draft_id} | Cell — €1,290/mo | Tool: sbom_draft |
POST /v1/ingest/sbom/{draft_id}/review | Cell — €1,290/mo | No tool, by design |
POST /v1/ingest/csaf | Cell — €1,290/mo | Tool: csaf_import (agent write) |
GET /v1/ingest/csaf | Cell — €1,290/mo | Tool: csaf_records |
GET /v1/ingest/csaf/{advisory_ref} | Cell — €1,290/mo | Tool: csaf_record |
GET /v1/ingest/csaf/{advisory_ref}/impact | Cell — €1,290/mo | Tool: csaf_impact |
GET /v1/value | Cell — €1,290/mo | Tool: value_position |
GET /v1/operators | Register — €390/mo | No tool, by design |
POST /v1/operators | Register — €390/mo | No tool, by design |
POST /v1/operators/{operator_id}/disable | Register — €390/mo | No tool, by design |
GET /v1/supplier/trust | Cell — €1,290/mo | Tool: supplier_trust_list |
POST /v1/supplier/trust/pin | Cell — €1,290/mo | No tool, by design |
POST /v1/supplier/trust/rotate | Cell — €1,290/mo | No tool, by design |
POST /v1/supplier/trust/revoke | Cell — €1,290/mo | No tool, by design |
POST /v1/supplier/trust/evaluate | Cell — €1,290/mo | Tool: supplier_trust_check |
POST /v1/supplier/trust/override | Cell — €1,290/mo | No tool, by design |
POST /v1/supplier/trust/feed-baseline | Cell — €1,290/mo | No tool, by design |
POST /v1/check/fleet-machine | Cell — €1,290/mo | Tool: fleet_machine_assurance |
POST /v1/fleet/declare | Cell — €1,290/mo | No tool, by design |
POST /v1/ledger/attest | Cell — €1,290/mo | No tool, by design |
GET /v1/ledger/attest/log | Cell — €1,290/mo | Tool: attest_log |
POST /v1/change/assess/drift | Cell — €1,290/mo | Tool: change_assess_drift (agent write) |
POST /v1/change/assess/advisory | Cell — €1,290/mo | No tool, by design |
POST /v1/change/assess/advisory/signed | Cell — €1,290/mo | No tool, by design |
POST /v1/change/assess/advisory/intel | Cell — €1,290/mo | No tool, by design |
POST /v1/change/assess/intervention | Cell — €1,290/mo | Tool: change_assess_intervention (agent write) |
GET /v1/change/cases | Cell — €1,290/mo | Tool: change_cases |
GET /v1/change/cases/{case_id} | Cell — €1,290/mo | Tool: change_case |
POST /v1/change/cases/{case_id}/claim | Cell — €1,290/mo | Tool: change_claim (agent write) |
POST /v1/change/cases/{case_id}/advance | Cell — €1,290/mo | Tool: change_advance (agent write) |
POST /v1/change/cases/{case_id}/reverification | Cell — €1,290/mo | Tool: change_reverify (agent write) |
POST /v1/change/cases/{case_id}/resolve-decision | Cell — €1,290/mo | Human-only, no tool by design |
POST /v1/change/cases/{case_id}/waive-reverification | Cell — €1,290/mo | Human-only, no tool by design |
POST /v1/change/cases/{case_id}/decision | Cell — €1,290/mo | Human-only, no tool by design |
POST /v1/change/cases/{case_id}/resume | Cell — €1,290/mo | Human-only, no tool by design |
GET /v1/change/cases/{case_id}/export | Cell — €1,290/mo | Tool: change_export |
GET /v1/change/cases/{case_id}/replay | Cell — €1,290/mo | Tool: change_replay |
POST /v1/watch/report | Cell — €1,290/mo | No tool, by design |
GET /v1/fleet/observations | Cell — €1,290/mo | Tool: fleet_observations |
GET /v1/intel/history | Cell — €1,290/mo | Tool: intel_history |
GET /v1/intel/observations/{seq} | Cell — €1,290/mo | Tool: intel_observation |
GET /v1/intel/cve/{cve_id} | Cell — €1,290/mo | Tool: intel_cve |
GET /v1/intel/candidates | Cell — €1,290/mo | Tool: intel_candidates |
POST /v1/supplier/advisory | Supplier — contact sales | No tool, by design |
POST /v1/supplier/advisory/withdraw | Supplier — contact sales | No tool, by design |
POST /v1/supplier/advisory/key | Supplier — contact sales | No tool, by design |
Growing the tool set
Adding a route as a tool is mechanical — in src/assurance/mcp/server.py it is one@mcp.tool() function per route calling the same _call() helper. Reads and pure checks are tools; anything that records, signs, pins or decides a thing is not, by design.GET /v1/capabilities lists, from the code, which surface each capability has and why any is missing. Read the source or open a PR.
Prefer plain HTTP for now? Read /developers or fetch /openapi.json directly — exactly what /llms.txt points agents at.
Prefer a raw HTTP client?
Same routes, same plans, curl and Python examples on the developer reference.
Illustrative images, not photographs of a customer site. The images are generated.