
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
概覽
本機 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 中。未宣告驗證、環境變數或標頭。僅支援桌面用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Compliance Trestle Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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:
- 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): -
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
Save this as mcp.json in your current directory.
Step 2: List Available Tools
Sample output (tools available):
Step 3: Execute a Tool (e.g., trestle_init)
Start MCP interactive shell:
Then run, for example:
Typical result:
You'll see folders as follows:
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.
來源:README.md,提交 2639553
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分