Skip to main content
Glama
trmm-action-mcp

trmm-action-mcp

trmm-action-mcp

Tactical RMM 向けのゲート付き、許可リスト方式のアクションサーバーです。読み取り専用の trmm-mcp サーバーとは異なり、こちらはエンドポイントに対して操作を実行できます — ただし、固定カタログ内の検証済み・読み取り専用監査を実行する場合に限られます。 任意のコードを実行するツールは存在せず、削除・編集・再起動・アンインストールを行う ツールも存在しません。

小規模なシニアエンジニアのグループ(例:承認済みエンジニア)が Claude から 「EF-DC01 の Domain Admins を一覧表示」のような監査を実行するために作られています。

安全である理由 — 6つの独立したガードレール

  1. 本人確認 — 指定されたシニアエンジニアのみがアクセスできます。

  2. ネットワーク — nginx は Anthropic のコネクタ出力 IP(+ お客様の IP)のみを許可します。

  3. ベアラー — エッジとこのバックエンド間の共有シークレット。

  4. 制限されたツール — list_agents、list_audits、run_audit のみ。

  5. 許可リスト登録された監査 — run_audit は catalog.py 内の検証済み読み取り専用スクリプトのみを実行します。任意のコードを実行する経路は存在しません。

  6. スコープ付き TRMM キー — claude-actions ロールは Send-Command と読み取りのみ可能で、それ以外はできません。すべての実行は TRMM の監査ログに記録されます。

「何も削除できない」ことは、ここでは保証です(許可リスト登録カタログ + 削除ツールなし + スコープ付きキー)。単なる期待ではありません — catalog.py 内の注記を参照してください。

Related MCP server: MCP IT Ops Server

ツール

ツール

種別

内容

trmm_list_agents

読み取り

対象のエージェントを検索します(クライアント/サイト/タイプ/プラットフォーム/ステータス/ホスト名で絞り込み)。

trmm_list_audits

読み取り

実行可能な監査のカタログ(run_audit が実行する唯一のスクリプト群)。

trmm_run_audit

アクション

1 つのエージェントに対して検証済み監査を 1 つ実行し、その出力を返します。readOnlyHint:false。

監査カタログ (v1)

privileged_groups (DC)、local_admins、local_users、disk_space、os_info、installed_software、services_not_running、pending_reboot、hotfixes、logged_on_users、bitlocker、network_config。すべて読み取り専用です。追加するには、catalog.py に新しいエントリを審査して追加します。

設定

変数

必須

説明

TRMM_API_URL

✅

TRMM API のベース URL(api. サブドメイン)。

TRMM_ACTION_API_KEY

✅

スコープ付き claude-actions キー(Send-Command + 読み取りのみ)。

TRMM_MCP_TRANSPORT

—

stdio(デフォルト)または http。

TRMM_MCP_AUTH_TOKEN

http のみ

エッジとバックエンド間の共有ベアラー。

TRMM_MCP_HOST / PORT / PATH

—

デフォルトは 0.0.0.0 / 8090 / /mcp(Docker 内)。

TRMM_TIMEOUT / TRMM_VERIFY_SSL / TRMM_MAX_RETRIES

—

チューニング用。

実行

python -m venv .venv && .venv\Scripts\activate   # or source .venv/bin/activate
pip install -r requirements.txt
# stdio (local dev): set TRMM_API_URL + TRMM_ACTION_API_KEY, then:
python -m trmm_action_mcp

デプロイ(ゲート付き、リモート)

docs/DEPLOY.md(Docker + nginx の Anthropic IP 許可リスト + アイデンティティオプション)と docs/TRMM_ROLE.md(スコープ付きキー)を参照してください。現在機能しているシニアエンジニア向けの経路は Claude Code/Desktop + nginx 許可リスト配下のベアラーです。claude.ai の Web/モバイル向けユーザーごとの Entra SSO は、Cloudflare Access 経由が最適です(読み取り専用プロジェクトを参照)— トレードオフは DEPLOY.md で説明されています。

trmm-mcp との関係

意図的に別プロジェクト、別キー、別デプロイにしています。読み取り専用サーバーはアクションを実行できないまま維持され、こちらは検証済みの監査以外は何も実行できないまま維持されます。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides read-only access to Tactical RMM, enabling agent searches, detailed agent information, audit log queries, and execution of information-gathering PowerShell scripts on agents, with Entra ID authentication and a strict read-only guard.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI clients to perform safe, read-only IT diagnostics and retrieve local runbooks, asset records, and knowledge articles through MCP, with allowlisted network checks and audit logging.
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents such as Claude to query local security status, inspect threats and system resources, and initiate scans through read-only, privacy-redacted tools with audit logging.
      1
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to run read-only audits of MCP server configurations, identifying unpinned packages, plain-text credentials, risky permissions, and other security issues.
      146 npm
      Apache 2.0