Skip to main content
Glama

power_on_vm

Start a virtual machine on the VergeOS virtualization platform by providing its VM ID to activate resources and services.

Instructions

Power on a virtual machine

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesVM ID to power on

Implementation Reference

  • The core handler function in VergeOSAPI that powers on a VM by calling the generic vmAction API endpoint.
    async powerOnVM(id) { return this.vmAction(id, "poweron"); }
  • Helper method in VergeOSAPI that performs generic VM actions via POST to /api/v4/vm_actions.
    async vmAction(id, action) { return this.request("/api/v4/vm_actions", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ vm: id, action }), }); }
  • Input schema definition for the power_on_vm tool, requiring a numeric VM ID.
    name: "power_on_vm", description: "Power on a virtual machine", inputSchema: { type: "object", properties: { id: { type: "number", description: "VM ID to power on", }, }, required: ["id"], }, },
  • src/index.js:548-550 (registration)
    Tool registration in the MCP CallToolRequestHandler switch statement, dispatching to the powerOnVM handler.
    case "power_on_vm": result = await api.powerOnVM(args.id); break;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dvvincent/vergeos-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server