Skip to main content

A minimal Linux setup for your CUA agent

Project description

MiniCUA

A minimal Linux workshop based on Alpine that hosts a custom FastAPI-based endpoint that enables communication from computer using agents (CUAs).

This repository includes:

  • A minimal image that includes basic functionalities (browser, terminal, VNC) and an API endpoint
  • An MCP-server script that can be connected to the API endpoint

All you need to do is to run the docker image and then plug the tools server into your favorite LLM agent, and you are good to go!

Pulling and running the image

To pull and run the image, simply run:

# Pull the image
docker pull mhz139/minicua

# Run the image
docker run --rm -p 5900:5900 -p 6080:6080 --hostname alpine mhz139/minicua

Since this is equipped with a VNC server, you can go to localhost:6080 to view the server.

In addition, if you have TigerVNC, you can use docker's default address with port 5900 to view it in TigerVNC.

Building the image

If you would like to customize your image, you can clone the repository and then build the Dockerfile directly.

# Clone the repository
git clone https://github.com/MHZ931/MiniCUA.git

# Build the image
docker build -t mhz139/minicua .

Running the server

Before running the server, make sure the image is built and run first.

To run the tools server, the simplest way is to install uv and then use uvx to run the server directly:

# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh

# Run the server
uvx minicua-mcp-server

Or you can add the server into your favorite LLM workflows:

    "minicua-mcp-server": {
      "command": "uvx",
      "args": [
        "minicua-mcp-server"
      ]
    }

Dependencies

  • python >= 3.12
  • fastmcp>=2.12.4
  • pillow>=11.3.0

TODO

  • Demo video

Special Thanks to rwildcat/docker_alpine-vnc for offering an awesome barebone VNC connected Linux image to work with.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minicua-0.1.0.tar.gz (60.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minicua-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file minicua-0.1.0.tar.gz.

File metadata

  • Download URL: minicua-0.1.0.tar.gz
  • Upload date:
  • Size: 60.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.26

File hashes

Hashes for minicua-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7823a6afbddb38aaca9fbc42ce6bb9dd8266b9b93dc2d7650f761ccc4e77d26
MD5 084b6da133ab6176e3bd2de65aa436d9
BLAKE2b-256 a53d97eefb7d0794510cc3f459b94236b9ecafeece54ee01df16517626b616a9

See more details on using hashes here.

File details

Details for the file minicua-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: minicua-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.26

File hashes

Hashes for minicua-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64944954189a57ee18185c11dde16d6973a9c45670f32491978f2c0d6fcdc956
MD5 220014414216bfbe882f8243d9fe3b1c
BLAKE2b-256 2bf097535d1a9d900a547bf30d426e5b92a432a4ff1bf7489db66c1320f1497b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page