Skip to main content
Glama
heresun

OrbStack MCP Server

by heresun

orbstack_stop

Stop all running Docker containers and Linux virtual machines managed by OrbStack on macOS. Use this tool to halt active services and free system resources.

Instructions

停止 OrbStack 服务。

这将停止所有运行中的容器和 Linux 机器。

Returns: str: 停止结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the `orbstack_stop` tool, which executes the `orb stop` command.
    async def orbstack_stop() -> str:
        """停止 OrbStack 服务。
    
        这将停止所有运行中的容器和 Linux 机器。
    
        Returns:
            str: 停止结果
        """
        code, stdout, stderr = await _run_orb(["stop"])
        if code != 0:
            return _format_error(stderr)
        return "OrbStack 已停止" + (f"\n{stdout}" if stdout else "")
  • Registration of the `orbstack_stop` tool using the @mcp.tool decorator.
    @mcp.tool(
        name="orbstack_stop",
        annotations={
            "title": "停止 OrbStack",
            "readOnlyHint": False,
            "destructiveHint": False,
            "idempotentHint": True,
            "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