MCPcopy Index your code
hub / github.com/crc-org/macadam

github.com/crc-org/macadam @v0.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.0 ↗ · + Follow
163 symbols 532 edges 47 files 38 documented · 23% updated 6d agov0.4.0 · 2026-07-03★ 3367 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

macadam

macadam is a cross-platform command-line tool to create and manage virtual machines. It runs on Windows, macOS and linux, and uses each OS native virtualization stacks, that is WSL2 on Windows, Apple’s Virtualization Framework on macOS and QEMU on linux. macadam is reusing podman-machine code.

Its goal is to be able to run pre-installed disk images and to provide SSH or serial console access to the guest. Configurability of the virtual machine will be minimal to keep macadam as easy to use as possible, and to ease the cross-platform work.

It can currently create a virtual machine (macadam init), start it (macadam start), stop it (macadam stop) and delete it (macadam rm).

Due to its podman-machine origin, it currently has multiple requirements on what is running/installed in the guest. Work is being done to remove these. We’re currently focused on running unmodified Fedora/EL cloud images, and will provide links to images which work out of the box when they are available.

Extension points exported contracts — how you extend this code

OsProvider (Interface)
(no doc) [1 implementers]
test/osprovider/provider.go

Core symbols most depended-on inside this repo

WaitWithDefaultTimeout
called by 14
test/e2e/session.go
OutputToString
called by 7
test/e2e/session.go
checkBinaryArg
called by 5
pkg/preflights/preflights.go
GetVmConfig
called by 4
pkg/machinedriver/driver.go
ImageExtension
called by 4
pkg/imagepullers/noop_unix.go
GetState
called by 3
pkg/machinedriver/driver.go
copyFile
called by 3
pkg/imagepullers/noop.go
strTime
called by 3
cmd/macadam/list.go

Shape

Function 122
Struct 20
Method 19
Interface 1
TypeAlias 1

Languages

Go100%

Modules by API surface

pkg/machinedriver/driver.go12 symbols
test/e2e/common_test.go9 symbols
cmd/macadam/list.go9 symbols
cmd/macadam/common/completion.go8 symbols
test/e2e/init_common_test.go7 symbols
pkg/machinedriver/crcimageprovider.go7 symbols
pkg/preflights/preflights.go6 symbols
pkg/imagepullers/noop.go6 symbols
cmd/macadam/set.go6 symbols
cmd/macadam/inspect.go6 symbols
test/e2e/session.go5 symbols
test/e2e/macadam_test.go5 symbols

For agents

$ claude mcp add macadam \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page