AI agents (such as Claude) and other systems work with HAIMDALL through their own accounts, set up on Access › Agents & integrations. Each has a role, Folder access and API keys, like a person, and everything they do is recorded in the Activity log under their name.
Connecting an AI agent (MCP)
AI agents connect to HAIMDALL's MCP endpoint over HTTPS, at https://<your help-site address>/api/mcp, with an API key that belongs to an agent account. The agent then works as that account: its role, its Folder access and its key decide what it may do, and everything it changes is recorded in the Activity log under its name.
In the editor, open Access › Agents & integrations. Click + New AI agent, give it a name and the lowest role it needs (for example editor to write drafts and submit them for review).
If its role alone doesn't give it the Folders it needs, grant it access on Content › Folders (Edit access), exactly as for a person.
Click API keys on its row and create a key. Tick only what it needs:
Read content — search, read status and history, list files;
Write drafts — create and edit articles, translations and folders;
Submit for review, Approve, Publish;
Edit the theme draft and saved styles, Run imports.
A key can never do more than the account's role allows, and you can give it an expiry date. Copy the key when it's shown: it's shown only once. HAIMDALL keeps only a fingerprint of it.
Point your agent at the endpoint with the key as a bearer token. For Claude Code:
claude mcp add --transport http haimdall https://<your help-site address>/api/mcp \
--header "Authorization: Bearer hmd_…"Any MCP client that supports the Streamable HTTP transport and a bearer-token header works the same way. Access › Agents & integrations shows the same steps with your own address filled in.
Revoke a key on the same panel when it's no longer needed or may have leaked: it stops working straight away. Disabling the account stops all its keys.
Who may approve and publish
By default, AI agents can't approve or publish, whatever their role or key: they write drafts and submit them for review, and a person approves and publishes. An admin can change this on Access › Agents & integrations (Agents may approve and publish), and can still stop individual agents from ever approving or publishing.
Licences
Reading content through MCP works with every licence. Tools that change anything need the AI user licence (see System › Licence key); without it, agents can only use read-only keys. Integration accounts (for other systems rather than AI agents) can only read through MCP.
Product versions
When your help centre keeps documentation for several product versions, every content tool takes productVersion: a version's code (for example v3), or latest for the current version. Reads without it use the current version. When there are several versions, a tool that changes content must say which version it's for; otherwise it's refused with the list of versions, so an agent can't accidentally fix version 3's instructions in version 4. Theme, folder, file and health tools are shared by every version and don't take it.
Next
The tools an agent can use: MCP Tool Reference.
The Markdown agents write: HAIMDALL's Markdown.
Other systems can use the REST API.