trmm-action-mcp
Enables approved senior engineers to run vetted, read-only audit scripts on Tactical RMM agents from Claude, using a fixed catalog of tools to inspect things like local admins, disk space, and installed software without permitting arbitrary code execution or destructive actions.
README
trmm-action-mcp
A gated, allow-listed action server for Tactical RMM. Unlike the read-only
trmm-mcp server, this one can act on endpoints — but only
by running a vetted, read-only audit from a fixed catalog. There is
deliberately no tool to run arbitrary code and no tool to delete, edit,
reboot, or uninstall anything.
Built for a small group of senior engineers (e.g. the approved engineers) to run audits like "list Domain Admins on EF-DC01" from Claude.
Why it's safe — six independent guardrails
- Identity — reachable only by the named senior engineers.
- Network — nginx allows only Anthropic's connector egress IPs (+ your IPs).
- Bearer — shared secret between the edge and this backend.
- Restricted tools — only
list_agents,list_audits,run_audit. - Allow-listed audits —
run_auditruns only vetted read-only scripts incatalog.py; no arbitrary-code path exists. - Scoped TRMM key — the
claude-actionsrole can Send-Command + read, nothing else. Every run is TRMM-audit-logged.
"Can't delete stuff" is a guarantee here (allow-listed catalog + no delete tools +
scoped key), not a hope — see the note in catalog.py.
Tools
| Tool | Kind | What it does |
|---|---|---|
trmm_list_agents |
read | Find the agent to target (filter by client/site/type/platform/status/hostname). |
trmm_list_audits |
read | The catalog of runnable audits (the only scripts run_audit will execute). |
trmm_run_audit |
action | Run ONE vetted audit on ONE agent; returns its output. readOnlyHint:false. |
Audit catalog (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. All read-only. Add more by
vetting a new entry in catalog.py.
Configuration
| Variable | Required | Description |
|---|---|---|
TRMM_API_URL |
✅ | TRMM API base URL (api. subdomain). |
TRMM_ACTION_API_KEY |
✅ | The scoped claude-actions key (Send-Command + read only). |
TRMM_MCP_TRANSPORT |
— | stdio (default) or http. |
TRMM_MCP_AUTH_TOKEN |
http only | Shared bearer between edge and backend. |
TRMM_MCP_HOST / PORT / PATH |
— | Default 0.0.0.0 / 8090 / /mcp (in Docker). |
TRMM_TIMEOUT / TRMM_VERIFY_SSL / TRMM_MAX_RETRIES |
— | Tuning. |
Run
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
Deploy (gated, remote)
See docs/DEPLOY.md (Docker + nginx Anthropic-IP allowlist + identity options) and docs/TRMM_ROLE.md (the scoped key). The senior-engineer path that works today is Claude Code/Desktop + bearer behind the nginx allowlist; per-user Entra SSO for claude.ai web/mobile is best done via Cloudflare Access (see the read-only project) — DEPLOY.md explains the trade-offs.
Relationship to trmm-mcp
Separate project, separate key, separate deploy on purpose: the read-only server stays incapable of acting, and this one stays incapable of anything but vetted audits.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。