pypi compliance-trestle-mcpstdioupdated 6mo ago
MCP server to easily use compliance-trestle (OSCAL tool) from Claude, Roo, or any MCP-compliant client.
What can you do with compliance trestle mcp?
Trestle MCP
MCP server to easily use compliance-trestle (OSCAL tool) from Claude, Roo, 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 Coding Agent (Roo Code): Use Trestle-MCP from Roo Code 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 RooCode
-
Add the following JSON to
.roo/mcp.json(Roo workspace):{ "mcpServers": { "trestle": { "command": "uvx", "args": ["--from", "compliance-trestle-mcp", "trestle-mcp"] } } } -
Open Roo, confirm
trestletools are listed in the MCP panel, and execute as needed.https://github.com/user-attachments/assets/59215549-cad9-4101-baa4-ecba77ac3904
Usage from CLI (MCP Client)
Step 1: Write your mcp.json config
{
"mcpServers": {
"trestle": {
"command": "uvx",
"args": ["--from", "./trestle-mcp-tmp", "trestle-mcp"]
}
}
}
Save this as mcp.json in your current directory.
Step 2: List Available Tools
uvx mcp-cli tools --config-file mcp.json
Sample output (tools available):
6 Available Tools
โโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Server โ Tool โ Description โ
โโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ trestle โ trestle_init โ Initialize a trestle working directory. โ
โ trestle โ trestle_import โ Import an existing OSCAL model into the trestle workspace. โ
โ trestle โ trestle_author_catalog_generate โ Generate Catalog controls in markdown form from a catalog โ
โ trestle โ trestle_author_profile_generate โ Generate markdown documentation set for controls defined in profileโ
โ trestle โ trestle_author_profile_resolve โ Resolve an OSCAL profile to a resolved profile catalog. โ
โ trestle โ trestle_author_profile_assemble โ Assemble markdown controls into a Profile JSON file. โ
โโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Step 3: Execute a Tool (e.g., trestle_init)
Start MCP interactive shell:
uvx mcp-cli interactive --config-file mcp.json
Then run, for example:
> execute trestle_init '{"params": {}}'
Typical result:
โ โ
Tool executed successfully
{
"result": {
...
"content": [
{
"type": "text",
"text": "โ
Trestle workspace initialized successfully"
}
]
}
}
You'll see folders as follows:
assessment-plans catalogs plan-of-action-and-milestones system-security-plans
assessment-results component-definitions profiles
Tool List & Quick Reference
trestle_init: Initialize a trestle workspacetrestle_import: Import OSCAL models (Catalog/Profile/etc.) from a file or URLtrestle_author_catalog_generate: Generate markdown controls from a catalogtrestle_author_profile_generate: Generate markdown for profilestrestle_author_profile_resolve: Resolve profile to catalogtrestle_author_profile_assemble: Assemble markdown controls into profile JSONtrestle_task_csv_to_oscal_cd: Convert a CSV mapping file into an OSCAL component definitiontrestle_task_xlsx_to_oscal_poam: Convert a FedRAMP-format XLSX spreadsheet into an OSCAL Plan of Action and Milestones (POA&M)trestle_validate: Validate a standalone OSCAL file (any top-level model, e.g. POA&M) against the OSCAL schema (and trestle's semantic checks)
For advanced use, refer to official compliance-trestle docs or developer documents in this repo.
Troubleshooting & Help
- Make sure uvx is installed and on your PATH.
- If you see command/module errors, check the MCP server path in
mcp.jsonis correct.
We are a Cloud Native Computing Foundation sandbox project.
The Linux Foundationยฎ (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see Trademark Usage.
OSCAL Compass is an independent open source project. It is not affiliated with, endorsed by, or sponsored by the National Institute of Standards and Technology (NIST) or any other government agency.
OSCAL Compass was originally contributed by IBM.
Install
Add compliance trestle mcp to your client. Pick the one you use.
claude mcp add compliance-trestle-mcp -- uvx compliance-trestle-mcpcodex mcp add compliance-trestle-mcp -- uvx compliance-trestle-mcpamp mcp add compliance-trestle-mcp -- uvx compliance-trestle-mcp{
"mcpServers": {
"compliance-trestle-mcp": {
"command": "uvx",
"args": [
"compliance-trestle-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"compliance-trestle-mcp": {
"command": "uvx",
"args": [
"compliance-trestle-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"compliance-trestle-mcp","command":"uvx","args":["compliance-trestle-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"compliance-trestle-mcp": {
"command": "uvx",
"args": [
"compliance-trestle-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"compliance-trestle-mcp": {
"command": "uvx",
"args": [
"compliance-trestle-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"compliance-trestle-mcp": {
"command": "uvx",
"args": [
"compliance-trestle-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"compliance-trestle-mcp": {
"type": "local",
"command": "uvx",
"args": [
"compliance-trestle-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"compliance-trestle-mcp": {
"command": {
"path": "uvx",
"args": [
"compliance-trestle-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx compliance-trestle-mcpRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
9 tools
compliance trestle mcp exposes 9 tools to a connected agent.
- trestle_init
- Initialize a trestle workspace
- trestle_import
- Import OSCAL models (Catalog/Profile/etc.) from a file or URL
- trestle_author_catalog_generate
- Generate markdown controls from a catalog
- trestle_author_profile_generate
- Generate markdown for profiles
- trestle_author_profile_resolve
- Resolve profile to catalog
- trestle_author_profile_assemble
- Assemble markdown controls into profile JSON
- trestle_task_csv_to_oscal_cd
- Convert a CSV mapping file into an OSCAL component definition
- trestle_task_xlsx_to_oscal_poam
- Convert a FedRAMP-format XLSX spreadsheet into an OSCAL Plan of Action and Milestones (POA&M)
- trestle_validate
- Validate a standalone OSCAL file (any top-level model, e.g. POA&M) against the OSCAL schema (and trestle's semantic checks)
Score
58 / 100
Adequate
- Documentation25/25
- Maintenance9/25
- Trust6/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 187 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 9 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 0.1.2Latest | Feb 26, 2026 |