
ThreatLocker MCP
Every ThreatLocker Portal API feature, plus the write operations the read-only tools…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.17
- Listing updated
- 4 days ago
About ThreatLocker MCP
ThreatLocker MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Every ThreatLocker Portal API feature, plus the write operations the read-only tools lack and a
Install
Run in a 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.mcpbAdd to claude_desktop_config.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>"
}
}
}
}Add to ~/.cursor/mcp.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>"
}
}
}
}Add to .vscode/mcp.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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.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>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Configuration
PRINTING_PRESS_CLIENT_PROFILESet the PRINTING_PRESS_CLIENT_PROFILE credential for the ThreatLocker MCP server.RequiredTHREATLOCKER_API_KEYPortal API key (ThreatLocker portal: Settings > API Keys), sent as the Authorization header on every call.RequiredTHREATLOCKER_BASE_URLBase URL for the ThreatLocker API. Leave the prefilled default unless your account uses a different regional or self-hosted host.THREATLOCKER_ORG_IDTenant GUID sent as ManagedOrganizationId (the --org flag overrides it). Most Portal API data calls answer 401/403 without it, so set it unless you pass --org on every call.THREATLOCKER_USER_AGENTOverrides the User-Agent the CLI sends on ThreatLocker requests. Leave blank to use the CLI's own built-in User-Agent.THREATLOCKER_MCP_READ_ONLYOptional. Set to exactly 1 to expose only read-only tools and refuse any state-changing execute call.THREATLOCKER_NO_LOCAL_DATAOptional. Set to 1 to save no API data locally: sync and audit pull are refused, the response cache is off, and reads go to the API.THREATLOCKER_MCP_HTTP_TOKENRequired only when running the MCP server with --transport http. Not needed for the default local stdio transport.
Pricing
Open source
ThreatLocker MCP 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