
Compliance Trestle Mcp
Wraps compliance-trestle, the OSCAL authoring toolkit, as an MCP server so you can initialize workspaces, import catalogs and profiles, and generate or assemble markdown controls directly from Claude or any MCP client. You get six tools covering the main trestle workflow: trestle_init for workspace setup, trestle_import for pulling in OSCAL models from files or URLs, and four author commands for generating markdown from catalogs, generating and resolving profiles, and assembling markdown back into profile JSON. If you're building security compliance documentation in OSCAL format and want an agent to handle the trestle CLI orchestration, this bridges that gap. Runs via uvx with stdio transport.
- GitHub stars
- 2
- tools
- 9
- transport
- STDIO
- last updated
- Feb 26, 2026
Tools
9 toolsPublic tool metadata for what this MCP can expose to an agent.
trestle_initInitialize a trestle workspace
Initialize a trestle workspace
No parameter schema in public metadata yet.
trestle_importImport OSCAL models (Catalog/Profile/etc.) from a file or URL
Import OSCAL models (Catalog/Profile/etc.) from a file or URL
No parameter schema in public metadata yet.
trestle_author_catalog_generateGenerate markdown controls from a catalog
Generate markdown controls from a catalog
No parameter schema in public metadata yet.
trestle_author_profile_generateGenerate markdown for profiles
Generate markdown for profiles
No parameter schema in public metadata yet.
trestle_author_profile_resolveResolve profile to catalog
Resolve profile to catalog
No parameter schema in public metadata yet.
trestle_author_profile_assembleAssemble markdown controls into profile JSON
Assemble markdown controls into profile JSON
No parameter schema in public metadata yet.
trestle_task_csv_to_oscal_cdConvert a CSV mapping file into an OSCAL component definition
Convert a CSV mapping file into an OSCAL component definition
No parameter schema in public metadata yet.
trestle_task_xlsx_to_oscal_poamConvert a FedRAMP-format XLSX spreadsheet into an OSCAL Plan of Action and Milestones (POA&M)
Convert a FedRAMP-format XLSX spreadsheet into an OSCAL Plan of Action and Milestones (POA&M)
No parameter schema in public metadata yet.
trestle_validateValidate a standalone OSCAL file (any top-level model, e.g. POA&M) against the OSCAL schema (and trestle's semantic checks)
Validate a standalone OSCAL file (any top-level model, e.g. POA&M) against the OSCAL schema (and trestle's semantic checks)
No parameter schema in public metadata yet.
Sponsors
Readme
Trestle MCP
MCP server to easily use compliance-trestle (OSCAL tool) from OpenCode, Claude, or any MCP-compliant client.
mcp-name: io.github.oscal-compass/compliance-trestle-mcp
Getting Started
This project can be used in the following two ways:
- Usage from a coding agent (OpenCode): Use Trestle-MCP from OpenCode via MCP.
- Usage from CLI (MCP Client): Invoke Trestle-MCP directly using an MCP CLI client.
Choose the option that best fits your workflow.
Usage from OpenCode
-
Add the following to
opencode.jsonin your workspace:{ "mcp": { "trestle": { "type": "local", "command": ["uvx", "--from", "compliance-trestle-mcp==<version>", "trestle-mcp"], "environment": { "TRESTLE_MCP_TOOLS": "all" }, "enabled": true } } }
Details
- Repository
- github.com/oscal-compass/compliance-trestle-mcp
- Website
- oscal-compass.dev/compliance-trestle/latest
- Category
- Security & Pentesting
- Package
compliance-trestle-mcp- Transport
- STDIO
- Registry
- MCP registry, active