# ThreatLocker MCP

> ThreatLocker MCP is an open-source MCP server. Every ThreatLocker Portal API feature, plus the write operations the read-only tools lack and a. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/servosity/msp-skills/tree/HEAD/skills/threatlocker
- **MCP Registry name:** io.github.Servosity/threatlocker-mcp
- **Listing updated:** 2026-11-13

## About

Every ThreatLocker Portal API feature, plus the write operations the read-only tools lack and a

## Install

### Claude Code (Terminal)

```sh
claude mcp add threatlocker-mcp --env PRINTING_PRESS_CLIENT_PROFILE='<PRINTING_PRESS_CLIENT_PROFILE>' --env THREATLOCKER_API_KEY='<THREATLOCKER_API_KEY>' --env THREATLOCKER_MCP_HTTP_TOKEN='<THREATLOCKER_MCP_HTTP_TOKEN>' -- npx -y https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "threatlocker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb"
      ],
      "env": {
        "PRINTING_PRESS_CLIENT_PROFILE": "<PRINTING_PRESS_CLIENT_PROFILE>",
        "THREATLOCKER_API_KEY": "<THREATLOCKER_API_KEY>",
        "THREATLOCKER_MCP_HTTP_TOKEN": "<THREATLOCKER_MCP_HTTP_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "threatlocker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb"
      ],
      "env": {
        "PRINTING_PRESS_CLIENT_PROFILE": "<PRINTING_PRESS_CLIENT_PROFILE>",
        "THREATLOCKER_API_KEY": "<THREATLOCKER_API_KEY>",
        "THREATLOCKER_MCP_HTTP_TOKEN": "<THREATLOCKER_MCP_HTTP_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "threatlocker-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb"
      ],
      "env": {
        "PRINTING_PRESS_CLIENT_PROFILE": "<PRINTING_PRESS_CLIENT_PROFILE>",
        "THREATLOCKER_API_KEY": "<THREATLOCKER_API_KEY>",
        "THREATLOCKER_MCP_HTTP_TOKEN": "<THREATLOCKER_MCP_HTTP_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "threatlocker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb"
      ],
      "env": {
        "PRINTING_PRESS_CLIENT_PROFILE": "<PRINTING_PRESS_CLIENT_PROFILE>",
        "THREATLOCKER_API_KEY": "<THREATLOCKER_API_KEY>",
        "THREATLOCKER_MCP_HTTP_TOKEN": "<THREATLOCKER_MCP_HTTP_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "threatlocker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb"
      ],
      "env": {
        "PRINTING_PRESS_CLIENT_PROFILE": "<PRINTING_PRESS_CLIENT_PROFILE>",
        "THREATLOCKER_API_KEY": "<THREATLOCKER_API_KEY>",
        "THREATLOCKER_MCP_HTTP_TOKEN": "<THREATLOCKER_MCP_HTTP_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is ThreatLocker MCP free?

Yes. ThreatLocker MCP is open source, so you can use and self-host it for free.

### How do I add ThreatLocker MCP to Claude Code?

Run this command in your terminal: claude mcp add threatlocker-mcp --env PRINTING_PRESS_CLIENT_PROFILE='<PRINTING_PRESS_CLIENT_PROFILE>' --env THREATLOCKER_API_KEY='<THREATLOCKER_API_KEY>' --env THREATLOCKER_MCP_HTTP_TOKEN='<THREATLOCKER_MCP_HTTP_TOKEN>' -- npx -y https://github.com/Servosity/msp-skills/releases/download/threatlocker-v0.3.17/threatlocker-mcp.mcpb

---
Source: https://ai-powered.com/mcp/threatlocker-mcp
