
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 分