Skip to main content
Glama
heresun

OrbStack MCP Server

by heresun

orbstack_machine_delete

Permanently delete a specified Linux virtual machine and all its data from OrbStack on macOS. This irreversible action removes the machine completely from the system.

Instructions

删除指定的 Linux 机器。

警告: 此操作不可撤销,机器中的所有数据将被永久删除。

Args: params: 包含机器名称

Returns: str: 删除结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Implementation Reference

  • The function implementation of orbstack_machine_delete which calls `orb delete -f`.
    async def orbstack_machine_delete(params: MachineNameInput) -> str:
        """删除指定的 Linux 机器。
    
        警告: 此操作不可撤销,机器中的所有数据将被永久删除。
    
        Args:
            params: 包含机器名称
    
        Returns:
            str: 删除结果
        """
        code, stdout, stderr = await _run_orb(["delete", "-f", params.name])
        if code != 0:
            return _format_error(stderr)
        return f"机器 '{params.name}' 已删除"
    
    
    @mcp.tool(
  • Registration of the orbstack_machine_delete tool using the @mcp.tool decorator.
    @mcp.tool(
        name="orbstack_machine_delete",
        annotations={
            "title": "删除 Linux 机器",
            "readOnlyHint": False,
            "destructiveHint": True,
            "idempotentHint": False,
            "openWorldHint": False,
        },
    )

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/heresun/orbstack-mcp'

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