Skip to main content
Glama
heresun

OrbStack MCP Server

by heresun

orbstack_k8s_stop

Stop the Kubernetes cluster in OrbStack to conserve system resources on macOS. This tool halts all cluster operations through the OrbStack MCP Server.

Instructions

停止 OrbStack 的 Kubernetes 集群。

Returns: str: 停止结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function 'orbstack_k8s_stop' which calls 'orbstack k8s stop' via '_run_orb' and returns the result.
    @mcp.tool(
        name="orbstack_k8s_stop",
        annotations={
            "title": "停止 Kubernetes",
            "readOnlyHint": False,
            "destructiveHint": False,
            "idempotentHint": True,
            "openWorldHint": False,
        },
    )
    async def orbstack_k8s_stop() -> str:
        """停止 OrbStack 的 Kubernetes 集群。
    
        Returns:
            str: 停止结果
        """
        code, stdout, stderr = await _run_orb(["k8s", "stop"])
        if code != 0:
            return _format_error(stderr)
        return "Kubernetes 集群已停止" + (f"\n{stdout}" if stdout else "")

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