原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

ThreatLocker

作者:wyre-technology版本 1.3.6i★ –i在你的电脑上运行
注册名称io.github.wyre-technology/threatlocker-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for ThreatLocker — zero-trust endpoint protection, allowlisting, and policies.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:THREATLOCKER_API_KEY, THREATLOCKER_ORGANIZATION_ID

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: THREATLOCKER_API_KEY, THREATLOCKER_ORGANIZATION_ID, MCP_TRANSPORT, AUTH_MODE, LOG_LEVEL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "threatlocker": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "THREATLOCKER_API_KEY",
        "-e",
        "THREATLOCKER_ORGANIZATION_ID",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "AUTH_MODE",
        "-e",
        "LOG_LEVEL",
        "ghcr.io/wyre-technology/threatlocker-mcp:v1.3.6"
      ],
      "env": {
        "THREATLOCKER_API_KEY": "your-value",
        "THREATLOCKER_ORGANIZATION_ID": "your-value",
        "MCP_TRANSPORT": "your-value",
        "AUTH_MODE": "your-value",
        "LOG_LEVEL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add threatlocker --env THREATLOCKER_API_KEY=your-value --env THREATLOCKER_ORGANIZATION_ID=your-value --env MCP_TRANSPORT=your-value --env AUTH_MODE=your-value --env LOG_LEVEL=your-value -- docker run -i --rm -e THREATLOCKER_API_KEY -e THREATLOCKER_ORGANIZATION_ID -e MCP_TRANSPORT -e AUTH_MODE -e LOG_LEVEL ghcr.io/wyre-technology/threatlocker-mcp:v1.3.6

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "threatlocker": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "THREATLOCKER_API_KEY",
        "-e",
        "THREATLOCKER_ORGANIZATION_ID",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "AUTH_MODE",
        "-e",
        "LOG_LEVEL",
        "ghcr.io/wyre-technology/threatlocker-mcp:v1.3.6"
      ],
      "env": {
        "THREATLOCKER_API_KEY": "your-value",
        "THREATLOCKER_ORGANIZATION_ID": "your-value",
        "MCP_TRANSPORT": "your-value",
        "AUTH_MODE": "your-value",
        "LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "threatlocker": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "THREATLOCKER_API_KEY",
        "-e",
        "THREATLOCKER_ORGANIZATION_ID",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "AUTH_MODE",
        "-e",
        "LOG_LEVEL",
        "ghcr.io/wyre-technology/threatlocker-mcp:v1.3.6"
      ],
      "env": {
        "THREATLOCKER_API_KEY": "your-value",
        "THREATLOCKER_ORGANIZATION_ID": "your-value",
        "MCP_TRANSPORT": "your-value",
        "AUTH_MODE": "your-value",
        "LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • THREATLOCKER_API_KEY 机密 必填 env
    ThreatLocker API key
  • THREATLOCKER_ORGANIZATION_ID 必填 env
    ThreatLocker organization ID
  • MCP_TRANSPORT env
    Transport mode for the server. Set to 'stdio' for local CLI use; the image defaults to 'http' for gateway hosting.
  • AUTH_MODE env
    Credential source: 'env' reads vars locally, 'gateway' expects header injection from the WYRE MCP Gateway.
  • LOG_LEVEL env
    Log verbosity: debug, info, warn, error

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 wyre-technology 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18613 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18613 个服务器的 27% 更新
  • 基础检查结果等于或优于此分类中其他 18613 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

ThreatLocker 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:THREATLOCKER_API_KEY, THREATLOCKER_ORGANIZATION_ID

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.3.6)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, DECIDE: Migration Discovery Risk Review

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

ThreatLocker MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to the ThreatLocker Portal API. Manage computers, approval requests, audit logs, and organizations through natural language interactions.

Features

  • Stateless Architecture: No session state required, fresh connections per request
  • Decision-Tree Navigation: Navigate domains with threatlocker_navigate
  • Gateway Mode: Multi-tenant support via HTTP headers
  • Elicitation Support: Interactive prompts for missing parameters
  • Comprehensive Error Handling: Detailed error messages and logging
  • Docker Support: Production-ready containerization

Tools

Navigation
  • threatlocker_navigate - Navigate to a domain to see available tools
  • threatlocker_status - Check API connection status and available domains
Computers
  • threatlocker_computers_list - List computers with filters (search, group, pagination)
  • threatlocker_computers_get - Get detailed computer information
  • threatlocker_computers_get_checkins - Get computer checkin history
Computer Groups
  • threatlocker_computer_groups_list - List computer groups with filters
  • threatlocker_computer_groups_dropdown - Get computer groups for dropdown selection
Approval Requests
  • threatlocker_approvals_list - List approval requests with status filters
  • threatlocker_approvals_get - Get detailed approval request information
  • threatlocker_approvals_pending_count - Get count of pending approvals
  • threatlocker_approvals_get_permit_application - Get permit application details
Audit Log
  • threatlocker_audit_search - Search audit log entries with filters
  • threatlocker_audit_get - Get one audit log entry by eActionLogId from a search row (deprecated alias: actionLogId)
  • threatlocker_audit_file_history - Get audit history for a file. Requires fullPath and either hostname or computerId
Organizations
  • threatlocker_organizations_list_children - List child organizations
  • threatlocker_organizations_get_auth_key - Get organization auth key
  • threatlocker_organizations_for_move_computers - Get organizations for computer moves

Configuration

Environment Variables
Stdio Mode (Direct API Access)
THREATLOCKER_API_KEY=your_api_key_here

THREATLOCKER_ORGANIZATION_ID=your_org_id_here MCP_TRANSPORT=stdio

Gateway Mode (Multi-tenant)
AUTH_MODE=gateway

MCP_TRANSPORT=http MCP_HTTP_PORT=8080

Required. The HTTP server exits non-zero if this is empty.

CONDUIT_S2S_SECRET=gateway-provisioned-secret

Optional. Unset binds 127.0.0.1. The container image sets 0.0.0.0.

MCP_HTTP_HOST=127.0.0.1

CONDUIT_S2S_SECRET is required for the HTTP transport. The process logs an error and exits non-zero when it is unset. For local development only, MCP_ALLOW_INSECURE_DEV=1 starts the server anyway and logs a loud warning; do not set that flag in production. The secret is never written to the logs.

When MCP_HTTP_HOST is unset, the server binds 127.0.0.1. The Dockerfile sets MCP_HTTP_HOST=0.0.0.0 so the process listens inside the container; publish that port on localhost.

Gateway Mode Headers

When running in gateway mode, include these headers with each request:

  • X-Gateway-S2S: Service-to-service proof from the gateway (t= ,v1= ). Requests without a valid header are rejected with 401 when CONDUIT_S2S_SECRET is set.
  • X-Threatlocker-Api-Key: Your ThreatLocker API key (required). A request without it is rejected with 401 and does not fall back to THREATLOCKER_API_KEY.
  • X-Threatlocker-Organization-Id: Your organization ID (optional; the API defaults to the key's primary organization)

/health and /healthz stay unauthenticated and do not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

Logging
LOG_LEVEL=debug|info|warn|error  # Default: info

Local Development

  1. Clone the repository:
git clone https://github.com/WYRE-AI/threatlocker-mcp.git

cd threatlocker-mcp

  1. Install dependencies:
npm install
  1. Set environment variables:
cp .env.example .env

Edit .env with your ThreatLocker credentials

  1. Build and run:
npm run build

npm start

Or for development with hot reload:

npm run dev

  1. Test the server:
# Stdio mode

echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | npm start

HTTP mode. CONDUIT_S2S_SECRET is required unless you set

MCP_ALLOW_INSECURE_DEV=1 (local development only; logs a loud warning).

The server binds 127.0.0.1 unless MCP_HTTP_HOST is set.

MCP_TRANSPORT=http AUTH_MODE=gateway CONDUIT_S2S_SECRET=dev-secret npm run start:http curl http://127.0.0.1:8080/health

Docker

Using Docker Compose
# Required. Compose will not start if this is unset or empty.

export CONDUIT_S2S_SECRET=gateway-provisioned-secret

Pull and run latest image. The published port is 127.0.0.1:8080.

docker compose up -d

Or build locally

docker compose -f docker-compose.dev.yml up --build

Using Docker directly
# Gateway mode (recommended). The container listens on 0.0.0.0 inside

the network namespace; publish it on localhost only. The process

exits if CONDUIT_S2S_SECRET is empty.

docker run -d \ --name threatlocker-mcp \ -p 127.0.0.1:8080:8080 \ -e AUTH_MODE=gateway \ -e CONDUIT_S2S_SECRET=gateway-provisioned-secret \ ghcr.io/wyre-ai/threatlocker-mcp:latest

Stdio mode

docker run -d \ --name threatlocker-mcp \ -e THREATLOCKER_API_KEY=your_key \ -e THREATLOCKER_ORGANIZATION_ID=your_org_id \ -e MCP_TRANSPORT=stdio \ ghcr.io/wyre-ai/threatlocker-mcp:latest

Architecture

Directory Structure
src/

├── domains/ # Domain-specific handlers │ ├── computers.ts │ ├── computer_groups.ts │ ├── approval_requests.ts │ ├── audit_log.ts │ ├── organizations.ts │ ├── navigation.ts │ └── index.ts ├── utils/ # Utilities │ ├── client.ts # ThreatLocker API client │ ├── logger.ts # Structured logging │ ├── types.ts # TypeScript types │ ├── server-ref.ts # Server reference for elicitation │ └── elicitation.ts # Interactive prompts ├── server.ts # MCP server creation ├── index.ts # Stdio transport entry └── http.ts # HTTP transport entry

Design Patterns
  • Domain Handlers: Each API area has its own handler with getTools() and handleCall()
  • Lazy Loading: Domain handlers are imported on-demand
  • Fresh Connections: New server instance per HTTP request for stateless operation
  • Credential Invalidation: Client is reset when credentials change
  • Elicitation Framework: Interactive prompts for missing parameters

License

Apache-2.0 - see LICENSE for details.

问 PopNx