ManageLM — VS Code Extension
Manage your Linux servers directly from VS Code Copilot Chat using natural
language.
ManageLM connects Copilot Chat to your infrastructure through a secure
cloud portal and lightweight agents running on your servers. Ask
@managelm to check system status, manage packages, configure services,
run security audits, and more — across one server or an entire fleet.
Installation
From the VS Code Marketplace
Search for ManageLM in the Extensions panel, or:
code --install-extension managelm.managelm
From VSIX
Download the .vsix from GitHub Releases and install:
code --install-extension managelm-1.0.0.vsix
Setup
- Install the extension
- Open Settings (
Cmd+, / Ctrl+,) and search for ManageLM
- Set your API Key (from Portal > Settings > MCP & API)
- (Optional) If self-hosting, set your Portal URL
Usage
Open Copilot Chat and type @managelm followed by your request:
@managelm show me all my servers
@managelm check disk usage on web-prod-1
@managelm install nginx on all servers in the staging group
@managelm run a security audit on db-primary
@managelm which servers have CPU above 80%?
@managelm list running services on lb-01
@managelm approve the new server that just enrolled
The @managelm participant can:
- List and inspect servers — status, health metrics, OS info, IP addresses
- Run tasks — execute any skill (packages, services, users, security, files, etc.)
- Check task status and history — track running and completed tasks
- Security audits — start audits and view findings
- Inventory scans — discover packages, services, and containers
- Approve agents — approve new server enrollments
- Account info — view plan, members, and usage
How It Works
VS Code Copilot Chat ManageLM Portal Agent (on host)
┌──────────────────┐ REST API ┌──────────────┐ WebSocket ┌──────────┐
│ @managelm check │ ──────────► │ Portal API │ ──────────► │ Agent │
│ disk on web-01 │ │ /api/tasks │ │ (LLM) │
│ │ ◄────────── │ │ ◄────────── │ │
│ Disk: 41% used │ Result └──────────────┘ Result └──────────┘
└──────────────────┘
- You type a natural language request in Copilot Chat
- Copilot's LM decides which ManageLM tools to call
- The extension calls the ManageLM portal REST API
- The portal dispatches the task to the agent on your server
- The agent executes it and returns the result
- Copilot formats and presents the response
Requirements
- VS Code 1.99+ with GitHub Copilot Chat
- ManageLM Portal — your hosted control plane (managelm.com)
- ManageLM Agent — installed on each managed Linux server
- API Key — from Portal > Settings > MCP & API
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run watch
# Package as .vsix
npm run package
Links
License
MIT