managelm

n8n community node for ManageLM — manage Linux servers, run tasks, and monitor infrastructure from n8n workflows.

Package Information

Downloads: 1 weekly / 21 monthly
Latest Version: 1.0.1

Documentation

n8n-nodes-managelm

n8n community node for ManageLM — manage Linux servers, run tasks, and monitor infrastructure from n8n workflows.

Installation

Community Nodes (recommended)

  1. Open Settings > Community Nodes in your n8n instance.
  2. Search for n8n-nodes-managelm.
  3. Click Install.

Manual

cd ~/.n8n
npm install n8n-nodes-managelm

Restart n8n after installing.

Authentication

This node uses ManageLM API Keys for authentication.

  1. Log into your ManageLM portal.
  2. Go to Settings > API Keys.
  3. Click Create API Key and select the permissions you need.
  4. Copy the key (starts with mlm_ak_).
  5. 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:

  1. ManageLM Trigger (event: agent.enrolled)
  2. ManageLM (Agent > Approve)
  3. ManageLM (Security > Trigger Audit)

Alert on server going offline:

  1. ManageLM Trigger (event: agent.offline)
  2. Slack / Email / PagerDuty node

Scheduled package updates:

  1. Schedule Trigger (weekly)
  2. ManageLM (Task > Submit: skill packages, instruction "Update all packages")

Inventory report to Google Sheets:

  1. Schedule Trigger (daily)
  2. ManageLM (Agent > List All)
  3. ManageLM (Inventory > Get Report) for each agent
  4. Google Sheets (append rows)

Auto-remediate security findings:

  1. ManageLM (Security > Get Audit)
  2. IF node (check for critical findings)
  3. ManageLM (Security > Remediate)

Weekly operations report by email:

  1. Schedule Trigger (weekly)
  2. ManageLM (Report > Export PDF)
  3. 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)

Links

License

MIT

Discussion