• v0.2.0 8b1c89fdc9

    kyle released this 2026-03-27 08:34:37 +00:00 | 6 commits to master since this release

    MCP now owns the full build-push-deploy lifecycle. Bumping a version tag in a service definition and running mcp deploy is all that's needed — missing images are built and pushed automatically.

    New features

    • mcp build <service>[/<image>] — build and push container images from source using the service definition's [build.images] configuration
    • Deploy auto-buildmcp deploy checks whether each component's image tag exists in the registry before deploying; if missing and build config is present, it builds and pushes automatically
    • [build] config — CLI config gains [build] workspace = "~/src/metacircular" to locate source trees
    • Service definition build fieldspath and [build.images] map image names to Dockerfiles

    Runtime interface

    runtime.Runtime gains three new methods (CLI-side, no new gRPC RPCs):

    • Build(image, contextDir, dockerfile)podman build
    • Push(image)podman push
    • ImageExists(image)podman manifest inspect (checks remote registry)

    Example workflow

    # Edit service def: bump mcr-web image tag to v1.3.0
    vim ~/.config/mcp/services/mcr.toml
    
    # Deploy — auto-builds and pushes mcr-web:v1.3.0 if not in registry
    mcp deploy mcr/web
    
    Downloads