Mistral PVE Agent
MCP server for managing Proxmox VE hosts, providing VM health reports, alerts, and a chat interface via terminal or Cursor.
README
Mistral PVE Agent
AI ops agent for your Proxmox VE host. Chat from the terminal, get VM health reports, receive email + Slack alerts, and manage everything from a password-protected web UI on your LAN or Tailscale.
Install (on your PVE host)
SSH to PVE as root, then one command:
curl -fsSL https://raw.githubusercontent.com/K2-Rocket-Apps/server-workload-ai-manager/main/infra/one-click-install.sh | sudo bash
Then enable services:
sudo systemctl enable --now mistral-daemon mistral-web
What setup asks you
- Install Node.js 22 + pnpm
- Clone the repo to
/opt/mistraland build - Ask you to set a web UI password (required, min 8 chars)
- Let you choose LAN (default), Tailscale, or localhost bind address
- Optionally configure SMTP email and Slack alerts
- Install
mistralto/usr/local/binand register systemd services
After install:
sudo systemctl enable --now mistral-daemon # background health checks + alerts
sudo systemctl enable --now mistral-web # password-protected web UI
Web UI access
| Bind mode | URL | Who can reach it |
|---|---|---|
| LAN (default) | http://192.168.x.x:8787 |
Anyone on your local network |
| Tailscale | http://100.x.x.x:8787 |
Devices on your tailnet only |
| localhost | http://127.0.0.1:8787 |
SSH tunnel only |
The URL is saved in /etc/mistral/config.yaml as web.public_url. You must log in with the password you set during setup.
Reconfigure anytime:
sudo mistral setup
Email alerts (SMTP)
Email is configured during mistral setup or in the web UI under Email Alerts.
Gmail example
- Enable 2FA on your Google account
- Create an App Password
- During setup enter:
- SMTP host:
smtp.gmail.com - Port:
587 - Username: your Gmail address
- Password: the 16-char app password
- SMTP host:
Test it:
sudo mistral test-email
Other providers
| Provider | Host | Port | Notes |
|---|---|---|---|
| Gmail | smtp.gmail.com |
587 | App password required |
| Mailgun | smtp.mailgun.org |
587 | Use SMTP credentials from dashboard |
| SendGrid | smtp.sendgrid.net |
587 | Username: apikey |
| Local postfix | localhost |
25 | No auth, set require_tls: false |
Secrets live in /etc/mistral/secrets.env (never committed to git).
CLI commands
mistral # chat TUI
mistral report # VM health report
mistral check # run checks + send alerts now
mistral setup # password, bind address, email, Slack
mistral test-email # verify SMTP works
mistral test-alert # test email + Slack
mistral config # show current settings
mistral web # start web UI manually
mistral mcp # stdio MCP for Cursor
PVE API token
Create a limited token on your Proxmox host:
pveum role add MistralAgent -privs "VM.Audit,VM.Monitor,VM.PowerMgmt,Sys.Audit"
pveum user add mistral@pve
pveum aclmod / -user mistral@pve -role MistralAgent
pveum user token add mistral@pve agent --privsep 1
Add to /etc/mistral/secrets.env:
MISTRAL_PVE_TOKEN_SECRET=<token-secret-from-above>
MISTRAL_API_KEY=<your-mistral-api-key>
Watched VMs (defaults)
- VM 121
k3s-cp@ 192.168.0.125 - VM 122
k3s-w1@ 192.168.0.126
Edit in /etc/mistral/config.yaml → daemon.watched_vmids.
Development
git clone https://github.com/K2-Rocket-Apps/server-workload-ai-manager.git
cd server-workload-ai-manager
pnpm install && pnpm build
cp config.example.yaml ~/.config/mistral/config.yaml
mistral setup
Docs
- CLAUDE.md — agent context for AI sessions
- docs/mcp-gateway.md — MCP Gateway registration
Repo
Public — https://github.com/K2-Rocket-Apps/server-workload-ai-manager
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。