Compliance Trestle Mcp

io.github.oscal-compass由 GitHub 帳號 oscal-compass 發布v0.1.2更新於 Oct 27, 2026

An MCP server that provides tools to author OSCAL security compliance documentation

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理透過 compliance-trestle 撰寫、匯入、轉換並驗證 OSCAL 安全合規文件。

可以做什麼
  • 初始化 trestle 工作目錄,並從檔案或 URL 匯入既有的 OSCAL 模型
  • 從 catalog 與 profile 產生 markdown 形式的控制項文件,將 profile 解析為 catalog,並把 markdown 組回 profile JSON
  • 把 CSV 對應檔轉為 OSCAL 元件定義,把 FedRAMP 格式的 XLSX 試算表轉為 OSCAL 行動計畫與里程碑(POA&M)
  • 依 OSCAL 結構描述與 trestle 的語意檢查驗證單一 OSCAL 檔案
適用情境
適合在維護以 OSCAL 為基礎的安全合規資料時使用:讓助理建立 trestle 工作目錄、把 catalog 或 profile 轉成可編輯的 markdown、把試算表轉為 OSCAL 模型,或檢查檔案是否符合結構描述。
執行需求
以本機 stdio 程序執行,來自 PyPI 套件 compliance-trestle-mcp;README 以 uvx 啟動,因此需安裝 uv/uvx 並位於 PATH 中。未宣告驗證、環境變數或標頭。僅支援桌面用戶端。
安裝前請注意
工具會寫入目前工作目錄:初始化會建立 trestle 資料夾,匯入、產生、組裝與轉換工具會在該處建立或覆寫檔案。匯入可從 URL 取得 OSCAL 模型,會拉取遠端內容。使用產生或轉換出的合規文件前請自行核對。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Compliance Trestle Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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:

Choose the option that best fits your workflow.

Usage from RooCode

  1. Add the following JSON to .roo/mcp.json (Roo workspace):

    json
    {    "mcpServers": {        "trestle": {            "command": "uvx",            "args": ["--from", "compliance-trestle-mcp", "trestle-mcp"]        }    }}
  2. Open Roo, confirm trestle tools 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
json
{    "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-plansassessment-results  component-definitions  profiles

Tool List & Quick Reference

  • 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)

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.json is 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.

來源:README.md,提交 2639553

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分