port
🐳 A small CLI for running and snapshotting Docker containers from a YAML config — with an MCP server so AI agents can drive the same workflows
A small CLI for running and snapshotting Docker containers from a YAML config — with an MCP server so AI agents can drive the same workflows. port runs and snapshots Docker containers from a YAML config (~/.port on Linux and macOS, %USERPROFILE%\.port on Windows) and merges in a local docker-compose.yml when present. You refer to images by short identifiers instead of full Docker names, and launching a container stops any other container holding the same host port first.
Summary extracted from the README.
This project is being developed using AI development tools. However, every line of code is reviewed and approved by a human before being committed.
port runs and snapshots Docker containers from a YAML config (~/.port on
Linux and macOS, %USERPROFILE%\.port on Windows) and merges in a local
docker-compose.yml when present. You refer to images by short identifiers
instead of full Docker names, and launching a container stops any other
container holding the same host port first. The same workflows are exposed over
stdio through port mcp so AI agents can drive containers with the
Model Context Protocol.
Install with Scoop:
scoop bucket add maple 'https://github.com/kevinboss/maple.git'
scoop install port
Or with winget:
winget install kevinboss.port
Or download a binary from the
releases page and put it on your
PATH.
First run creates ~/.port with a Getting.Started entry:
port config --open # open ~/.port in your editor
port list # list images, snapshots, and containers
port run Getting.Started:latest # launch a container
port commit Getting.Started.latest # snapshot the running container
port reset Getting.Started.latest # discard changes and recreate it
port stop Getting.Started.latest # stop the container
See commands, configuration, and MCP server for all flags, Compose setup, and agent integration.
How to contribute
Pull requests are welcome. See CONTRIBUTING.md for prerequisites, build and test commands, and repository layout.