compliance-trestle-mcp
v0.1.2An MCP server that provides tools to author OSCAL security compliance documentation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
trestle_init Initialize Trestle Workspace
Initialize a trestle working directory. This tool initializes the current directory as a Trestle workspace, creating the necessary directory structure for OSCAL model management. OSCAL Model Types supported: - Catalog - Profile - Component Definition - System Security Plan (SSP) - Assessment Plan - Assessment Result - Plan of Action and Milestones (POAM) Args: params (TrestleInitInput): Validated input parameters containing: - mode (InitMode): Initialization mode (local/full/govdocs, default: local) - trestle_root (…
| Parameter | Type | Description |
|---|---|---|
params * |
trestle_import
Import an existing OSCAL model into the trestle workspace. This tool imports OSCAL models from URLs or local file paths. The imported file will be saved in the appropriate directory based on its OSCAL type (e.g., catalogs/, profiles/, component-definitions/). Import Behavior: - Catalog → catalogs/{output}/catalog.json - Profile → profiles/{output}/profile.json - Component Definition → component-definitions/{output}/component-definition.json - SSP → system-security-plans/{output}/system-security-plan.json Args: params (TrestleImportInput):…
| Parameter | Type | Description |
|---|---|---|
params * |
trestle_author_catalog_generate Generate Catalog Markdown Controls
Generate Catalog controls in markdown form from a catalog in the trestle workspace. Args: params (TrestleCatalogGenerateInput): Input parameters with: - name (str): Catalog model name (required) - output (str): Output markdown folder (required) - force_overwrite (bool): Force overwrite markdowns (optional) - yaml_header (Optional[str]): Path to yaml header file (optional) - overwrite_header_values (bool): Overwrite markdown header values (optional) - trestle_root (Optional[str]): Trestle workspace root path (o…
| Parameter | Type | Description |
|---|---|---|
params * |
trestle_author_profile_generate Generate Profile Markdown Controls
Generate markdown documentation set for controls defined in specified profile. This tool extracts controls defined in the specified profile (profiles/<name>/profile.json) and generates a set of markdown documents for them. This set can be used for custom documentation, reviews, and organization-specific profile documentation. Args: params (TrestleAuthorProfileGenerateInput): - name (str): profile name (required) - output (str): output directory for markdown docs (required) - yaml_header (Optional[str]): yaml header file path…
| Parameter | Type | Description |
|---|---|---|
params * |
trestle_author_profile_resolve Resolve Profile to Catalog
Resolve an OSCAL profile to a resolved profile catalog. This tool resolves a specified OSCAL profile (by name from profiles/<name>/profile.json) into an operational, parameter-resolved OSCAL catalog, with flexible output and formatting options. Args: params (TrestleAuthorProfileResolveInput): - name (str): Source profile name (required) - output (str): Output catalog name (required) - show_values (bool): Show parameter values in prose (optional) - show_labels (bool): Show parameter labels in prose (optional) - br…
| Parameter | Type | Description |
|---|---|---|
params * |
trestle_author_profile_assemble Assemble Profile JSON from Markdown Directory
Assemble markdown controls into a Profile JSON file. This tool assembles an OSCAL profile JSON (profile.json) from a directory of markdown controls for a profile. Args: params (TrestleAuthorProfileAssembleInput): - markdown_dir (str): Markdown controls directory (required) - output_profile (str): Output profile directory name (required) - name (Optional[str]): Profile model name - set_parameters (bool): Expand parameters from YAML frontmatter - regenerate (bool): Force UUID regeneration - version (Optiona…
| Parameter | Type | Description |
|---|---|---|
params * |