MCP Hub
Back to servers

Sympathy-MCP

An MCP server for managing Incus virtual machines through structured tools for command execution, file management, and snapshot operations. It enables AI agents to puppeteer VMs on a masternode by wrapping the Incus CLI.

Updated
Feb 10, 2026

Sympathy-MCP

MCP server for Incus VM operations. Named for sympathetic magic — the connection between puppet and puppeteer.

Agents on masternode puppeteer VMs via structured MCP tools instead of freeform Bash commands.

Tools

ToolDescription
vm_execRun a command inside a VM (stdout, stderr, exit code)
vm_file_readRead a file from inside a VM
vm_file_writeWrite content to a file inside a VM
vm_file_pushPush a file from host into a VM
vm_file_pullPull a file from a VM to host
vm_snapshotCreate a named snapshot
vm_restoreRestore to a named snapshot
vm_statusGet VM state, IP, resource usage
vm_listList all VMs with status

Usage

# Run the MCP server (stdio transport)
uv run python -m sympathy_mcp

# Or via entry point
uv run sympathy-mcp

MCP Configuration

Add to .mcp.json:

{
  "mcpServers": {
    "sympathy-mcp": {
      "command": "uv",
      "args": ["run", "--project", "/path/to/Sympathy-MCP", "sympathy-mcp"]
    }
  }
}

Requirements

  • Python 3.12+
  • incus CLI installed and configured
  • uv for project management

Architecture

  • src/sympathy_mcp/incus.py — Async Incus CLI wrapper (validation, subprocess exec, structured results)
  • src/sympathy_mcp/server.py — FastMCP server with 9 tools (stdio transport)

Shells out to incus CLI under the hood. Go rewrite planned.

Reviews

No reviews yet

Sign in to write a review