Claude Plugin

Claude Plugin

Manage your Linux and Windows servers from Claude using natural language, in claude.ai, Cowork and Claude Code. Ask Claude to check system status, manage packages, configure services, transfer files, and more, across one server or an entire fleet.

Overview

The ManageLM plugin connects Claude to your infrastructure through MCP (Model Context Protocol) and adds skills that teach Claude how to work with it. The same plugin runs in claude.ai (web and desktop), Cowork and Claude Code. Once connected, Claude can manage your servers using natural language: no scripts, no SSH, no context switching.

You describe what you need in plain English. Claude selects the right skill, sends the instruction to the agent running on your server, and returns the result. All within the conversation.

Features

Natural Language

Describe tasks in plain English. Claude picks the right skill, agent, and parameters automatically.

33 Skills

Packages, services, users, firewall, web servers, databases, containers and Kubernetes, certificates, VPN, Active Directory, and more, on Linux and Windows.

Multi-Server

Target a single server, a group, or broadcast to all agents. Claude handles multi-server responses.

File Transfers

Upload and download files (text and binary) between your local machine and remote servers through Claude.

Security Audits

Run security audits, search findings across your fleet, and remediate issues, all conversationally.

Task History & Revert

Review what changed, inspect file diffs, and revert any task that modified server configuration.

Architecture

Claude ── MCP ──> ManageLM Portal ── WebSocket ──> Agent on Server (cloud control (outbound only, (your LLM, plane) no inbound ports) skill execution)

Claude communicates with the ManageLM portal via MCP. The portal dispatches tasks to agents over WebSocket. Each agent executes tasks with the LLM you configure for it (with a local model, your data stays on your infrastructure) and reports results back. No SSH, no inbound ports on your servers.

Installation

claude.ai and Cowork

  1. Open Customize > Plugins

  2. Choose Add > Add marketplace and enter managelm/claude-plugin

  3. Install ManageLM, then connect managelm from the plugin's Connectors tab

You can also download the ZIP from the latest release and add it with Add > Upload plugin. On Team and Enterprise plans, an Owner can make the plugin available to the whole organization.

Claude Code

terminal
claude plugin marketplace add managelm/claude-plugin
claude plugin install managelm@managelm

MCP server only

Without the plugin, you can add the MCP server alone, without the plugin's skills. In claude.ai, add https://app.managelm.com/mcp as a custom connector under Customize > Connectors. In Claude Code, run claude mcp add --transport http managelm https://app.managelm.com/mcp, or add it to a project .mcp.json:

.mcp.json
{
  "mcpServers": {
    "managelm": {
      "type": "http",
      "url": "https://app.managelm.com/mcp"
    }
  }
}

Self-hosted users: the plugin connects to ManageLM SaaS. Add your own portal's MCP address (for example https://portal.example.com/mcp) yourself, and the plugin's skills work with it too. In claude.ai and Cowork, add it as a custom connector: Claude reaches it from Anthropic's servers, so it must be reachable over HTTPS from the internet (a portal on a private network can publish only its MCP and OAuth endpoints with PUBLIC_URL). In Claude Code, add it with claude mcp add, then disable the plugin's SaaS server (plugin:managelm:managelm) in /mcp.

Local testing

terminal
claude --plugin-dir ./path/to/managelm-claude

Authentication

ManageLM uses OAuth 2.0 with PKCE and Dynamic Client Registration. Claude registers itself on first connection, so there is no client ID or secret to copy.

  1. Create a ManageLM account if you don't have one

  2. Connect: in claude.ai and Cowork, connect managelm from the plugin's Connectors tab. In Claude Code, the sign-in opens on first use, or run /mcp, select plugin:managelm:managelm and authenticate

  3. Sign in with your ManageLM account in the browser window and approve access

  4. Claude now acts with your own ManageLM permissions: tokens are managed automatically from here

Access tokens expire after 30 minutes and are refreshed automatically. You should never need to re-authenticate manually.

Legacy auth: Header-based authentication (X-MCP-Id / X-MCP-Secret) is also supported for programmatic use, but OAuth with PKCE is recommended.

Skill-Based Tools

Each skill accepts a target (see Targeting) and a free-text instruction describing what you want done. Claude selects the appropriate skill automatically based on your request. Each skill imported into your account from the portal's catalog becomes one tool; a new account starts with base only, and an account set to No LLM gets no skill tools.

SkillDescription
baseRead-only utilities: files, system info, resource usage, diagnostics (always assigned)
systemHostname, timezone, locale, kernel modules, sysctls, bootloader
packagesInstall, update and remove packages and system updates
servicesServices, processes, scheduled tasks, systemd units and timers
usersAccounts, groups, passwords, SSH keys, sudo
networkAdapters, IP addresses, routing, bridges, traffic shaping
firewallFirewall rules, profiles, IP sets, access policies
securityfail2ban, SSH hardening, SELinux/AppArmor, auditd, antivirus
filesRead, write, upload and download files (text and binary)
storageDisks, volumes, LVM, ZFS, Btrfs, LUKS, quotas
containersDocker/Podman containers, Compose, Kubernetes, Helm
webserverWeb server sites, virtual hosts, HTTPS, modules
databaseMySQL/MariaDB, PostgreSQL, SQLite: queries, backups, restores
certificatesSSL/TLS certificates, certificate stores, HTTPS bindings
activedirectoryActive Directory users, groups, OUs, group policies (Windows)
...and moreAutomation, backup, developer tools, DNS, email, file sharing, LDAP, LLM servers, logs, message queues, monitoring, NoSQL, proxy, RDP, registry, virtualization, VPN, web apps

Tip: Ask Claude "What skills are available for web-prod-01?" and it will use get_agent_skills to show you exactly what's assigned and what can be imported.

Discovery & Management Tools

These 32 built-in tools let Claude explore your infrastructure, run scans, check task status and manage operations. Some only appear when they apply: the monitor, certificate, backup, credential and keystore searches follow the optional features enabled on your account, and the hosting tools appear once a hosting connector exists.

ToolDescription
search_agentsList servers (status, OS, health, groups, site) or filter by CPU/memory/disk usage, OS, status, group or site
get_agent_infoDetailed info for a single server: health, skills, recent tasks
get_agent_skillsSee assigned and available skills for a server
list_available_skillsDiscover skills not yet imported into your account
get_account_infoCheck account plan, usage limits, current consumption, groups and sites
list_team_membersTeam members with roles, permissions and registered SSH public keys
search_inventorySearch installed packages, running services and containers across all servers
search_securitySearch audit and vulnerability findings, pentest findings, threat alerts and exposure checks across all servers, with a time range
search_activitySearch logins, failed logins, sudo commands and file changes, with a time range
search_ssh_keysSearch SSH keys on servers and in team profiles, with identity mapping
search_sudo_rulesSearch sudo and Windows administrator privileges
search_certificatesSearch x509 certificates discovered on your servers (expiring, weak, self-signed, unmanaged)
search_pkiSearch the certificates ManageLM issues and renews
search_monitorsSearch monitors and their current status
search_backupsSearch backups and their last run
search_schedulesSearch scheduled tasks with their last run and what it reported
search_credentialsSearch rotating credentials: what rotated, what is due, what failed (metadata only)
search_keystoreSearch keystore keys, the applications using them, usage and refusals (metadata only)
list_connectorsList hosting connectors with sync status
search_cloudSearch VMs, volumes, networks and security groups across hosting providers
get_cloud_infoDetailed info for one hosting resource, including the actions it allows
cloud_actionStart, stop, reboot or snapshot a VM (disruptive actions ask for confirmation)
run_security_auditRun a security audit and return the findings
run_inventory_scanRun an inventory scan and return the components found
run_access_scanRun an SSH and sudo access scan
run_certificate_scanRun a certificate discovery scan
run_activity_scanRun an activity scan over the last 24 hours
get_task_statusCheck status of a running or completed task
get_task_historyReview recent tasks for a server
get_task_changesView file changes made by a task
answer_taskAnswer a question from an interactive task
revert_taskRevert file changes from a previous task

Targeting

Every skill-based tool accepts a target parameter that determines which server(s) to run the task on:

TargetBehaviorExample
HostnameRun on a single serverweb-prod-01
Group nameRun on all servers in the groupproduction
Site nameRun on all servers in the siteparis-dc
"all"Broadcast to every server you have access toall
"auto"Run on the server that has the skill, when you name a capability rather than a server. If several qualify, Claude asks you which oneauto

Claude automatically resolves targets. If you say "Check disk usage on all production servers", Claude uses the group name production as the target.

Plugin Skills

The plugin adds three skills on top of the ManageLM tools. Claude uses them on its own when they fit; in Claude Code you can also call them as /managelm:<skill>.

manage-servers

How to work with ManageLM: find the server first, answer questions from fleet searches rather than tasks, confirm risky changes before running them, transfer files, and review the changes before reverting a task.

setup

Connects ManageLM, including a self-hosted portal, and checks that it works by listing your servers and your plan.

troubleshoot

Diagnoses sign-in and connection problems, offline servers, failed tasks and missing tools, in order.

Example Usage

Just describe what you need in natural language. Claude handles skill selection, targeting, and execution:

claude
# System info
> Check disk usage on web-prod-01
> Which servers have CPU usage above 80%?
> Show me the last 50 lines of /var/log/syslog on monitoring-1

# Package management
> Install nginx on all servers in the staging group
> What packages are installed on web-prod-01 that match "python"?
> Update all packages on db-primary

# File operations
> Upload my local config.yml to /etc/myapp/config.yml on db-primary
> Show me the contents of /etc/nginx/nginx.conf on lb-01

# Security
> Run a security audit on all production servers
> Search for any security findings related to SSH across all servers
> Harden SSH configuration on web-prod-01

# Services
> Restart nginx on lb-01
> Show me all failed systemd units on db-primary

# Infrastructure discovery
> List all my servers and their status
> Which servers are running Docker?
> Search for any server with PostgreSQL installed

Security

Requirements

Troubleshooting

401 Unauthorized

The sign-in did not complete, or the token was revoked (for example after you reset your MCP credentials in Settings > MCP & API). In claude.ai and Cowork, disconnect managelm in the plugin's Connectors tab and connect it again. In Claude Code, run /mcp, select the ManageLM server (listed as plugin:managelm:managelm when it comes from the plugin) and authenticate again.

Connection refused or timeout

Verify the portal URL in your MCP configuration is correct and reachable. The endpoint should be https://your-portal.com/mcp.

No agents listed

Either no agents are enrolled, or your account role restricts agent visibility. Check the portal dashboard to verify agents are enrolled and your user has access.

OAuth flow not starting

Ensure the MCP server is configured with "type": "http" (not "stdio"). Plugins need Claude Code 2.0.12 or later.

Skill not available on agent

Use get_agent_skills to see what's assigned. Skills must be assigned to agents by an admin in the portal. Use list_available_skills to discover importable skills from the catalog.

Task timeout

Regular tasks have a default timeout (configurable in portal settings). File transfers have a 300-second timeout. For large operations, break the task into smaller steps.

Tools not appearing in Claude

The MCP connection may not be established: check that managelm is connected in the plugin's Connectors tab (claude.ai and Cowork) or in /mcp (Claude Code). The tool list is read when the connection starts, so after skills or features change, start a new conversation or run /reload-plugins in Claude Code. You can also ask Claude to troubleshoot ManageLM for guided diagnostics.