Skip to main content

server

metacrafter server run --host 127.0.0.1 --port 10399

Starts a Flask API that exposes POST /api/v1/scan_data. See API server for the request body and response shape.

Options

FlagMeaning
--hostBind address (default 127.0.0.1)
--portPort (default 10399)
--debugVerbose server logging

Optional: METACRAFTER_SECRET_KEY for the Flask secret.

Remote CLI scans

Point any scan command at the running server:

metacrafter scan file somefile.csv \
--format full \
--remote http://127.0.0.1:10399 \
--output-format json \
--stdout