Package Information
Documentation
n8n-nodes-managelm
n8n community node for ManageLM — manage Linux servers, run tasks, and monitor infrastructure from n8n workflows.
Installation
Community Nodes (recommended)
- Open Settings > Community Nodes in your n8n instance.
- Search for
n8n-nodes-managelm. - Click Install.
Manual
cd ~/.n8n
npm install n8n-nodes-managelm
Restart n8n after installing.
Authentication
This node uses ManageLM API Keys for authentication.
- Log into your ManageLM portal.
- Go to Settings > API Keys.
- Click Create API Key and select the permissions you need.
- Copy the key (starts with
mlm_ak_). - In n8n, create a new ManageLM API credential with your portal URL and API key.
Nodes
ManageLM
Perform actions on your ManageLM infrastructure.
| Resource | Operations |
|---|---|
| Agent | List All, Get, Get Metrics, Get Stats, Get Skills, Assign Skill, Remove Skill, Update, Approve, Delete |
| Task | Submit (run a skill), Get Status, List |
| Skill | List All, Get, List Catalog, Import from Catalog, Create, Update, Delete |
| Group | List All, Create, Update, Delete, Get Agents, Set Agents, Add Agents, Get Members, Set Members, Set Skills |
| Security | Get Audit, Trigger Audit, Remediate Findings, Export PDF |
| Inventory | Get Report, Trigger Scan, Export PDF |
| Account | Get Info, Update Settings, Invite User |
| Audit Log | List Entries |
| Notification | List, Mark as Read, Clear |
| Report | List Operations, Export PDF |
| API Key | List, Create, Delete |
| Dependency | Trigger Scan, Get Results |
Submitting a Task
The Task > Submit operation is the primary way to interact with your servers. It runs a ManageLM skill on a target agent:
- Agent ID — the server to run the task on
- Skill — the skill slug (e.g.
base,packages,services,security) - Instruction — free-text description of what to do
- Wait for Completion — block until the task finishes (recommended for workflows)
ManageLM Trigger
Start a workflow when a ManageLM event occurs. The trigger automatically creates and manages a webhook in your ManageLM portal.
| Event | Description |
|---|---|
agent.enrolled |
A new agent requests to join |
agent.approved |
An agent was approved |
agent.online |
An agent came online |
agent.offline |
An agent went offline |
task.completed |
A task finished successfully |
task.failed |
A task failed |
Webhook payloads are verified using HMAC-SHA256 signatures.
Example Workflows
Auto-approve new agents and run a security audit:
- ManageLM Trigger (event:
agent.enrolled) - ManageLM (Agent > Approve)
- ManageLM (Security > Trigger Audit)
Alert on server going offline:
- ManageLM Trigger (event:
agent.offline) - Slack / Email / PagerDuty node
Scheduled package updates:
- Schedule Trigger (weekly)
- ManageLM (Task > Submit: skill
packages, instruction "Update all packages")
Inventory report to Google Sheets:
- Schedule Trigger (daily)
- ManageLM (Agent > List All)
- ManageLM (Inventory > Get Report) for each agent
- Google Sheets (append rows)
Auto-remediate security findings:
- ManageLM (Security > Get Audit)
- IF node (check for critical findings)
- ManageLM (Security > Remediate)
Weekly operations report by email:
- Schedule Trigger (weekly)
- ManageLM (Report > Export PDF)
- Email node (send PDF as attachment)
Development
# Install dependencies
npm install
# Build
npm run build
# Link into a local n8n instance
npm link
cd ~/.n8n && npm link n8n-nodes-managelm
# Watch mode
npm run dev
Requirements
- n8n v1.0+
- A ManageLM account with API key access (admin role required)

