oscal-generator-mcp

v0.1.2
io.github.CSOAI-ORG/oscal-generator-mcp Checked 2 days ago Published 5 months ago

Generate machine-readable NIST OSCAL packages (SSP/component-definition) + FedRAMP RFC-0024

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_ssp

Generate a NIST OSCAL System Security Plan (SSP) skeleton for a system. impact_level: low|moderate|high. controls: NIST 800-53 control ids (e.g. AC-2, AU-6); defaults to a baseline set.

ParameterTypeDescription
system_name *string
controls
impact_levelstring
tsinteger

generate_component_definition

Generate a NIST OSCAL Component Definition for a reusable component (e.g. an MCP server, a service).

ParameterTypeDescription
component_name *string
control_ids
tsinteger

validate_oscal

Validate an OSCAL document's structure (root model, uuid, metadata, oscal-version, control-implementation).

ParameterTypeDescription
document *object

validate_oscal_strict

Strictly validate an OSCAL document against the standard community toolchain (oscal-compass/compliance-trestle's NIST-schema-derived models). If trestle isn't installed (pip install 'oscal-generator-mcp[validate]'), this gracefully falls back to the built-in structural validator and says so. A pass here = "validates under the standard OSCAL toolchain" — the credibility claim for the FedRAMP RFC-0024 wedge.

ParameterTypeDescription
document *object

generate_protocol_package

Generate ONE Ed25519-signed OSCAL Component Definition describing an entire protocol — every component (e.g. each Layer-0 bridge/MCP) mapped to its frameworks' NIST controls. Makes the whole protocol a machine-readable, signed, offline-verifiable compliance package. components: [{name, type?, frameworks[]}].

ParameterTypeDescription
components *array
protocol_name *string
tsinteger

sign_oscal

Ed25519-sign an OSCAL document (canonical JSON) → a cryptographically signed, offline-verifiable package. Satisfies the RFC-0024 signed-package requirement; same scheme as the CSOAI Compliance Passport.

ParameterTypeDescription
document *object

verify_oscal_signature

Verify an Ed25519 signature over an OSCAL document — offline, no account. Returns valid True/False.

ParameterTypeDescription
document *object
public_key *string
signature *string

rfc0024_readiness

Score readiness for FedRAMP RFC-0024 (machine-readable OSCAL packages, first deadline 30 Sep 2026).

ParameterTypeDescription
automated_pipelineboolean
has_component_defboolean
has_sspboolean
machine_readableboolean
signedboolean