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 --from minicua minicua-mcp-server

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

    "minicua-mcp-server": {
      "command": "uvx",
      "args": [
        "--from", "minicua", "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.1.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.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: minicua-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 575ca34943b54dc5e206e4930c5a2c41aa0f329399f50a442ab8e1af3289e0bf
MD5 6e7f24b75e6ace185f24d4bf20613513
BLAKE2b-256 bf6b50591b287fd271e0d8e5d770b2b4fc84cd0979cf0cf8a0558ea891d80835

See more details on using hashes here.

File details

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

File metadata

  • Download URL: minicua-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62080dfcd3a88e71d7c3f7a71dc8088bb244c58436f86bc1afc1b631ffc1969f
MD5 fd9ed6bcedf72796d2b6408f4765ac43
BLAKE2b-256 a50d216c3cac0546d01722c3d5ed28f9cdd632b7a057a6279b60a28b47c522e4

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