The MCP surface is the contract §6 integration point and the loop breakpilot-compliance consumes. It is incomplete, its tokens do not expire, calls are unaudited and there are no real tests. Closes #191.
What to change
Add the contract tools: list_targets, get_scan_results, get_sbom, list_cves, get_control_mapping (an alias of oscal_assessment) and run_scan.
Leave create_pentest_run out of the source-only catalog and update the §6 list in Collectives.
Token expiry, plus an entitlement and ladder check (MVP-1.2, MVP-1.3) and an audit record (MVP-1.6) on every call.
Real tests in compliance-mcp/tests/.
Acceptance
All six tools are implemented, listed in the catalog and covered by tests in compliance-mcp/tests/.
create_pentest_run is absent from the catalog when PW_FEATURES=source_only; the Collectives §6 list matches.
An expired MCP token is refused; expiry is configurable and audited on create/revoke.
Every call records an audit event and is subject to entitlement and ladder checks.
A cross-tenant MCP token cannot read another tenant's data (MVP-1.13).
## Goal
The MCP surface is the contract §6 integration point and the loop breakpilot-compliance consumes. It is incomplete, its tokens do not expire, calls are unaudited and there are no real tests. Closes **#191**.
## What to change
- Add the contract tools: `list_targets`, `get_scan_results`, `get_sbom`, `list_cves`, `get_control_mapping` (an alias of `oscal_assessment`) and `run_scan`.
- Leave `create_pentest_run` out of the source-only catalog and update the §6 list in Collectives.
- Token expiry, plus an entitlement and ladder check (MVP-1.2, MVP-1.3) and an audit record (MVP-1.6) on every call.
- Real tests in `compliance-mcp/tests/`.
## Acceptance
- [ ] All six tools are implemented, listed in the catalog and covered by tests in `compliance-mcp/tests/`.
- [ ] `create_pentest_run` is absent from the catalog when `PW_FEATURES=source_only`; the Collectives §6 list matches.
- [ ] An expired MCP token is refused; expiry is configurable and audited on create/revoke.
- [ ] Every call records an audit event and is subject to entitlement and ladder checks.
- [ ] A cross-tenant MCP token cannot read another tenant's data (MVP-1.13).
- [ ] #191 closed.
sharang
added this to the Production MVP milestone 2026-09-20 20:17:26 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
The MCP surface is the contract §6 integration point and the loop breakpilot-compliance consumes. It is incomplete, its tokens do not expire, calls are unaudited and there are no real tests. Closes #191.
What to change
list_targets,get_scan_results,get_sbom,list_cves,get_control_mapping(an alias ofoscal_assessment) andrun_scan.create_pentest_runout of the source-only catalog and update the §6 list in Collectives.compliance-mcp/tests/.Acceptance
compliance-mcp/tests/.create_pentest_runis absent from the catalog whenPW_FEATURES=source_only; the Collectives §6 list matches.