Skip to main content
Glama
heresun

OrbStack MCP Server

by heresun

orbstack_version

Retrieve the current OrbStack version to verify software compatibility and ensure proper functionality for managing Docker containers, Linux VMs, and Kubernetes clusters on macOS.

Instructions

获取 OrbStack 版本号。

Returns: str: OrbStack 版本信息

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the 'orbstack_version' tool.
    async def orbstack_version() -> str:
        """获取 OrbStack 版本号。
    
        Returns:
            str: OrbStack 版本信息
        """
        code, stdout, stderr = await _run_orb(["version"])
        if code != 0:
            return _format_error(stderr)
        return f"OrbStack 版本: {stdout}"
  • The registration of the 'orbstack_version' tool using the @mcp.tool decorator.
    @mcp.tool(
        name="orbstack_version",
        annotations={
            "title": "OrbStack 版本信息",
            "readOnlyHint": True,
            "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