プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Compliance Trestle MCP

作者:oscal-compassバージョン 0.1.2i★ 2iパソコンで動く公式サイト ↗
レジストリ名io.github.oscal-compass/compliance-trestle-mcp

インストール方法

What it does

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

  • Connects パソコンで動く
  • Account or key No key needed
  • Category 法律・行政データ

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気6/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア18/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Compliance Trestle MCP をインストールして。https://mcp.popnx.com/i/oscal-compass-compliance-trestle-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Compliance Trestle MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "compliance-trestle": { "command": "uvx", "args": [ "compliance-trestle-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Compliance Trestle MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "compliance-trestle": {
          "command": "uvx",
          "args": [
            "compliance-trestle-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Compliance Trestle MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Compliance Trestle MCP を使っていると言うか、回答に Compliance Trestle MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Compliance Trestle MCP につなげません

Compliance Trestle MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Compliance Trestle MCP につなげるアプリを使う

  • 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)
  • 先にパソコンへ Python (uv) を入れてください(1 回だけ)

B · 法律・行政データ の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Compliance Trestle MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user compliance-trestle -- uvx compliance-trestle-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Compliance Trestle MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user compliance-trestle -- uvx compliance-trestle-mcp
  4. Claude Code で /mcp と入力

    Compliance Trestle MCP が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Compliance Trestle MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Compliance Trestle MCP を使っていると言うか、回答に Compliance Trestle MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Compliance Trestle MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "compliance-trestle": { "command": "uvx", "args": [ "compliance-trestle-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Compliance Trestle MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Compliance Trestle MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Compliance Trestle MCP を使っていると言うか、回答に Compliance Trestle MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Python (uv) を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Compliance Trestle MCP を入れてください。順番に:1) uv --version で uv があるか確認。なければ https://docs.astral.sh/uv/getting-started/installation/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "compliance-trestle": { "type": "stdio", "command": "uvx", "args": [ "compliance-trestle-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Compliance Trestle MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. uv を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    uv --version
    • バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します

    uv のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: uv --version

    一度入れれば、uv を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Compliance Trestle MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Compliance Trestle MCP を使っていると言うか、回答に Compliance Trestle MCP のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Compliance Trestle MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user compliance-trestle -- uvx compliance-trestle-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "compliance-trestle": {
      "command": "uvx",
      "args": [
        "compliance-trestle-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "compliance-trestle": {
      "command": "uvx",
      "args": [
        "compliance-trestle-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "compliance-trestle": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "compliance-trestle-mcp"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
33/週
接続方法
パソコンで動く
最新バージョンi
0.1.2
レジストリ公開日i
2026年2月26日
コードの最終更新i
2026年11月11日
作者
oscal-compass
パッケージ
pypi: compliance-trestle-mcp
ウェブサイト
oscal-compass.dev
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント oscal-compass で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:8 日前

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に compliance-trestle-mcp@0.1.2 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/oscal-compass-compliance-trestle-mcp.svg)](https://mcp.popnx.com/en/servers/oscal-compass-compliance-trestle-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

法律・行政データのほかのサーバーとの比較i

  • このカテゴリのほかの1945件のうち92%よりスターが多い
  • このカテゴリのほかの1945件のうち1%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1945件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Compliance Trestle MCPは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は8 日前、最新バージョン(0.1.2)がレジストリに届いたのは9 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

作者:lexifina広く使われている★ 20969 日前更新

クラウドで動く✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

作者:librejustice初期★ 362 か月前更新

クラウドで動く✓ 提供元 · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

作者:street1983nk初期★ 185 か月前更新

クラウドで動く✓ 提供元 · infranode.dev
似たものと比べる
これ
Compliance Trestle MCP
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/44/44/4
ライセンスApache-2.0NOASSERTIONMITApache-2.0Apache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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)](#usage-from-opencode): Use Trestle-MCP from OpenCode via MCP.
  • [Usage from CLI (MCP Client)](#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

  1. Add the following to opencode.json in your workspace:

json { "mcp": { "trestle": { "type": "local", "command": ["uvx", "--from", "compliance-trestle-mcp== ", "trestle-mcp"], "environment": { "TRESTLE_MCP_TOOLS": "all" }, "enabled": true } } }

Replace with the release you want; drop == to track the latest. TRESTLE_MCP_TOOLS chooses how much of the command surface to expose — all is every tool, and the default without it is the authoring lifecycle. See Choosing which tools are exposed.

  1. Open OpenCode, confirm the trestle tools are listed, and execute as needed.

https://github.com/user-attachments/assets/a85b0927-4981-41d1-9a03-f22becb7a6e2


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

13 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_validate │ Validate a standalone OSCAL file against the OSCAL schema. │ │ trestle │ trestle_author_catalog_generate │ Generate Catalog controls in markdown form from a catalog. │ │ trestle │ trestle_author_catalog_assemble │ Assemble markdown files of controls into a Catalog json file. │ │ trestle │ trestle_author_profile_generate │ Generate markdown documentation set for controls in a profile. │ │ trestle │ trestle_author_profile_assemble │ Assemble markdown controls into a Profile JSON file. │ │ trestle │ trestle_author_profile_resolve │ Resolve an OSCAL profile to a resolved profile catalog. │ │ trestle │ trestle_author_component_generate │ Generate component markdown from a component-definition. │ │ trestle │ trestle_author_component_assemble │ Assemble markdown controls into a component-definition json file. │ │ trestle │ trestle_task_csv_to_oscal_cd │ Convert a CSV file to an OSCAL component definition. │ │ trestle │ trestle_task_csv_to_oscal_mc │ Convert a CSV file to an OSCAL mapping collection. │ │ trestle │ trestle_task_xlsx_to_oscal_poam │ Convert a FedRAMP XLSX spreadsheet to an OSCAL POA&M. │ └─────────┴───────────────────────────────────┴───────────────────────────────────────────────────────────────────┘

Those 13 are the default selection. The server implements 29 tools in all: 28 that groups can select, plus trestle_remove, which is registered only when named explicitly. See Choosing which tools are exposed, and Commands deliberately not covered for the parts of the trestle CLI that have no tool and why.

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


Choosing which tools are exposed

Every tool a server registers costs the caller context: an MCP client loads each tool's name, input schema and description into the model's context window on every session. This server covers the trestle command surface an agent should drive, but exposes only the authoring lifecycle unless you ask for more, so a session carries the part of that surface it will actually call and the rest is one setting away.

The selection is a comma-separated list of group names and/or individual tool names, read from the --tools flag or the TRESTLE_MCP_TOOLS environment variable. The flag wins over the environment variable. Naming something that does not exist fails at startup with the list of valid names, rather than starting up with the tool quietly missing — and the flag has to be spelled in full, so a config file carrying --tool is rejected instead of guessed at.

ValueToolstools/list charsMeaning
authoring1347,342The curated authoring lifecycle. The default.
core1239,668The top-level trestle commands
author1139,684Every trestle author subcommand wrapper
task520,318Every trestle task wrapper, including the generic runner
all2899,668Everything a group can select
trestle_author_ssp_generate14,630Any single tool, by its registered name

The default is less than half the size of all, and selections combine, so you pay only for what you name. Measure any selection yourself with python scripts/tool_context_cost.py; see What each tool selection costs in context for the current figures per selection and per tool, and for how to narrow the default further.

core, author and task mirror the trestle CLI's own command structure, so which tool is in which group follows from the CLI. authoring is the one curated preset that cuts across them.

Tools no group selects. trestle_remove deletes an element from a model in place, with no backup, so no group selects it — all included. It is registered only when the selection names it exactly, e.g. authoring,trestle_remove.

Default (the authoring lifecycle) — no configuration needed:

{

"mcpServers": { "trestle": { "command": "uvx", "args": ["--from", "compliance-trestle-mcp", "trestle-mcp"] } } }

Everything, via the environment variable:

{

"mcpServers": { "trestle": { "command": "uvx", "args": ["--from", "compliance-trestle-mcp", "trestle-mcp"], "env": { "TRESTLE_MCP_TOOLS": "all" } } } }

A mixed selection, via the flag — the authoring lifecycle plus SSP generation and the generic task runner:

{

"mcpServers": { "trestle": { "command": "uvx", "args": [ "--from", "compliance-trestle-mcp", "trestle-mcp", "--tools", "authoring,trestle_author_ssp_generate,trestle_task_run" ] } } }

The examples above use the mcpServers shape most MCP clients take. OpenCode spells the same things differently — mcp rather than mcpServers, command as one array instead of a command plus args, and environment rather than env — so the "everything" selection looks like the entry at the top of this README.

Run trestle-mcp --help for the group list, and watch stderr on startup for the line reporting the selection and how many tools it registered.

Tool List & Quick Reference

Tools marked (default) are in the authoring preset.

core — top-level trestle commands
  • trestle_init (default): Initialize a trestle workspace
  • trestle_import (default): Import OSCAL models (Catalog/Profile/etc.) from a file or URL
  • trestle_validate (default): Validate a standalone OSCAL file (any top-level model, e.g. POA&M) against the OSCAL schema (and trestle's semantic checks)
  • trestle_create: Create a sample OSCAL model, or a new element inside an existing model file
  • trestle_assemble: Assemble a split model into a single file under dist
  • trestle_split: Split subcomponents of a model into separate files
  • trestle_merge: Merge split subcomponents back into a model
  • trestle_describe: Describe the contents of a model file, optionally at an element path
  • trestle_replicate: Copy a top-level model to a new name, optionally with fresh uuids
  • trestle_href: List or repoint the import hrefs of a profile
  • trestle_partial_object_validate: Validate a single OSCAL object held in a file
  • trestle_version: Report the trestle and OSCAL versions, or a model's own document version (metadata.version, not its OSCAL version)
author — trestle author subcommands
  • trestle_author_catalog_generate (default): Generate markdown controls from a catalog
  • trestle_author_catalog_assemble (default): Assemble markdown controls back into a catalog JSON
  • trestle_author_profile_generate (default): Generate markdown for profiles
  • trestle_author_profile_assemble (default): Assemble markdown controls into profile JSON
  • trestle_author_profile_resolve (default): Resolve a profile to a catalog
  • trestle_author_profile_inherit: Derive a profile from a parent profile and a leveraged SSP
  • trestle_author_component_generate (default): Generate markdown from a component definition
  • trestle_author_component_assemble (default): Assemble markdown back into a component definition
  • trestle_author_ssp_generate: Generate SSP markdown from a profile and component definitions
  • trestle_author_ssp_assemble: Assemble SSP markdown into a system-security-plan JSON
  • trestle_author_ssp_filter: Filter an SSP by profile, components, implementation status or control origination
task — trestle task wrappers
  • trestle_task_csv_to_oscal_cd (default): Convert a CSV mapping file into an OSCAL component definition
  • trestle_task_csv_to_oscal_mc (default): Convert a CSV crosswalk into an OSCAL mapping collection
  • trestle_task_xlsx_to_oscal_poam (default): Convert a FedRAMP-format XLSX spreadsheet into an OSCAL Plan of Action and Milestones (POA&M)
  • trestle_task_list: List the available trestle tasks, or describe one task's configuration keys
  • trestle_task_run: Run any trestle task from a configuration dictionary

trestle_task_run covers every task the installed trestle provides, including ones with no typed tool here. Prefer the typed tools where they exist: they validate their arguments and document the input format.

Not covered

The signing and provenance commands (sign, verify, generate-manifest, sign-manifest, verify-manifest, canonicalize), the beta feature-flag command, and the markdown governance commands (author docs, author folders, author headers, author jinja) have no tools here. The reasons are recorded in

冒頭だけを表示しています。続きはリポジトリで読めます