Skip to main content
Glama
OrbStack MCP Server
by Rhevin

OrbStack MCP Server (Python)

An MCP server that lets Cursor, Claude Desktop, and other AI tools manage your OrbStack Docker containers, Linux VMs, and Kubernetes clusters.

32 Tools Included

  • Docker Containers — list, run, stop, start, restart, remove, logs, exec, inspect, stats

  • Docker Images — list, pull, remove

  • Docker Compose — up, down, ps

  • Docker System — prune, disk usage

  • Docker Networks & Volumes — list, create

  • OrbStack Linux VMs — list, start, stop, create, delete, run commands, info

  • Kubernetes — get resources, describe, logs, apply manifests

Related MCP server: Kubernetes MCP Server

Prerequisites

  • OrbStack installed and running

  • Python 3.10+

  • docker and orb commands working in your terminal

Install

cd orbstack-mcp-python
pip install -r requirements.txt

Or with uv:

uv pip install -r requirements.txt

Setup with Cursor

Add to .cursor/mcp.json in your project root (or global Cursor settings):

{
  "mcpServers": {
    "orbstack": {
      "command": "python3",
      "args": ["/FULL/PATH/TO/orbstack-mcp-python/server.py"]
    }
  }
}

Setup with Cursor and UV

{
  "mcpServers": {
    "orbstack": {
      "command": "uv",
      "args": ["run", "--with", "mcp", "python", "/FULL/PATH/TO/orbstack-mcp-python/server.py""]
    }
  }
}

Setup with Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "orbstack": {
      "command": "python3",
      "args": ["/FULL/PATH/TO/orbstack-mcp-python/server.py"]
    }
  }
}

Setup with Claude Code

claude mcp add orbstack python3 /FULL/PATH/TO/orbstack-mcp-python/server.py

Test with MCP Inspector

npx @modelcontextprotocol/inspector python3 server.py

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude to manage Docker containers, images, and Docker Compose deployments through the Model Context Protocol. Provides secure container lifecycle management, image operations, and multi-host Docker server connections.
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact with Kubernetes clusters through 50 specialized tools for comprehensive cluster management. Supports both local kubectl and remote SSH-based execution for managing pods, deployments, services, and other Kubernetes resources.
      49
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Allows AI assistants to manage Docker containers, Linux virtual machines, and Kubernetes clusters through OrbStack on macOS. It provides tools for system status, machine life cycle management, and container operations via CLI command encapsulation.
      29
      2
      -
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to manage Docker containers and Kubernetes resources through natural language, supporting operations like container management, image building, and pod/deployment/service management.
      9
      MIT