Connect Heimdal Security
Heimdal Security is an endpoint, DNS, patching, privilege and threat platform that MSPs resell to the companies they manage. StackJack connects an AI assistant to the Heimdal dashboard API 2.0.
Written By Christopher Scaminaci
Last updated 1 day ago
Heimdal Security is an endpoint, DNS, patching, privilege and threat platform that MSPs resell to the companies they manage. StackJack connects an AI assistant to the Heimdal dashboard API 2.0.
Connecting Heimdal Security to StackJack gives your AI assistant a family of heimdal_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands
an AI assistant can call through StackJack. With them, your AI can:
- Read customers and devices - your customer list, each customer's devices, their hardware and their notifications
- Read policies and audit logs - Windows, Linux and macOS group policies, and the policy, device, network settings and global audit logs
- Read DNS security - network and endpoint queries, a device's full DNS log, and VectorN matches
- Read patching - third-party patches, installed software, Intune and Infinity Management applications, and Windows and Linux updates
- Read detections - antivirus, XTP and ransomware detections, and the Threat Alignment Center's scores and notifications
- Read privileges - privilege elevations and the processes application control intercepted
- Revoke or restore devices (on Pro plans)
- Create and change corporate and reseller customers (on Pro plans)
How StackJack authenticates to Heimdal Security
Heimdal takes the Personal API Key of a dashboard user. StackJack sends it as a bearer token on every call. There is no sign-in exchange: the key is used as it is.
Trust StackJack's addresses first
Heimdal answers only addresses that are marked as trusted for the dashboard user, in the Accounts section of the Heimdal dashboard. Until StackJack's addresses are trusted there, Heimdal refuses every call.
Open a StackJack support ticket to get the addresses to trust. StackJack gives them by support ticket only.
Heimdal does not publish what it answers an address that is not trusted. So StackJack never counts a refusal of the connection test against the connection. Trust the addresses, then test again. The cost: a key that no longer works is shown as a problem on the connection, and StackJack does not switch the connection off.
Getting the key and your customer ID
- Sign in to the Heimdal dashboard as a user with the reseller, admin or super admin role.
- Open Guide, then Your Heimdal API Key, and copy the key.
- Note the customer ID of your own account. It is a number. For a reseller, it is the reseller's own ID.
Connect it in StackJack
- Open Connectors, then Heimdal Security.
- Enter Your Heimdal customer ID.
- Paste the Personal API Key.
- Click Save. StackJack stores the connection and then checks it: it reads one row of your customer list, which changes nothing.
To check a saved connection again later, use Test on its row. The test uses the key that is saved, so save a new key before you test it.
Enter both values again whenever you save this form. To rename a connection, use Rename in the connections list: a rename needs no key.
What is worth knowing before you start
Every customer has an ID
Start with heimdal_list_customers. Most tools need the ID of one customer. The customer list, the Threat Alignment Center scores, the reference lists and the
corporate and reseller customer tools use your own customer ID when you name none.
Pages and dates
Lists page with a page number and a page size of up to 1000. Dates are YYYY-MM-DDTHH:MM:SS. Without a range, Heimdal reads the last 31 days.
Changes that are marked destructive
These tools are Pro:
- Revoke or restore devices - Heimdal's page does not describe the effect. Treat a revoked device as one that Heimdal no longer protects.
- Create or change a corporate or reseller customer - Heimdal does not publish the body of these calls, and its license counts can only be increased, not decreased.
StackJack marks these tools as destructive. Whether your AI application asks for confirmation depends on its settings: some clients prompt before every tool call, some prompt only for tools the server marked destructive, some remember an earlier "always allow", and some never prompt. Review those settings, and leave out the tools a connection does not need. How tools work has the details.
StackJack never sends a change twice. When Heimdal does not confirm a change, the tool says so: read the device or the customer before you try again.
Rate limit
Heimdal takes 10 calls a minute for one API key, one endpoint and one customer. StackJack stays at 9. A report over many customers is not slowed, because each customer has its own limit. Two connections that use the same API key share the limit, because Heimdal counts by the key.
When Heimdal refuses a call
- The address is not trusted: add StackJack's addresses in the Accounts section. Open a StackJack support ticket to get them.
- Heimdal answers 401 or 403 and does not name a reason: check first that StackJack's addresses are trusted. If they are, copy the Personal API Key again, and check that its dashboard user still exists.
- The role or the permission is missing: the test and the customer list need the reseller, admin or super admin role.
- Not found (404): check the customer ID with
heimdal_list_customers. - A bad request (400): check the ids and the dates.
- Too many requests (429): wait a minute before you try again.
- An outage (5xx): wait and try again.
Plans and limits
Every read is available on the Free tier. Every change is Pro. Business reaches the same tools as Pro and differs by monthly call quota.
See the generated Heimdal Security tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.
Heimdal Security tools
heimdal_ · 58 tools · Free 53 · Pro 5
Customers
Devices
Group policies
DNS security
Third-party patching and software
Operating system updates
Antivirus, XTP and ransomware
Privilege elevation
Application control
Threat Alignment Center
Audit logs
Reference data
Corporate and reseller customers
Was this helpful?
More in Connector guides
Connect 3CXConnect AbleSignConnect Acronis Cyber Protect CloudConnect Action1Still need help? Ask the team