Docker
The install is the repository root docker-compose.yml. It runs the published image, ghcr.io/cuttlely/cuttlely. When that image cannot be pulled, Compose builds the root Dockerfile from your checkout instead. The app database is SQLite. Compose does not start Postgres.
Updating the image or moving off the volume
Section titled “Updating the image or moving off the volume”The default Compose install keeps SQLite and local files in its named volume. Back up the volume and original installation key before pulling a new image. Keep the volume attached when upgrading a SQLite install. For an empty-disk PostgreSQL deployment, configure durable storage before its first start. For an existing install, finish both the migration and a replacement test before releasing the volume.
For a SQLite primary copy with the repository’s Compose layout, stop the original service and all workers, retain the original volume, and select a built image containing the 1.7.15 migration tool. Configure a deployment-local Compose override for the one-off service and subsequent startup. For example, add the following to compose.override.yaml and explicitly use both files with -f docker-compose.yml -f compose.override.yaml. Set each named value in the host environment or secret manager. Include your existing TLS and nondefault storage path settings. Compose interpolation by itself does not pass new variables into the service.
services: cuttlely: environment: - DATABASE_TYPE - DATABASE_HOST - DATABASE_PORT - DATABASE_NAME - DATABASE_USER - DATABASE_PASSWORD - CUTTLELY_APP_DATABASE_STORES - CUTTLELY_SECRETKEY_OVERWRITEFrom the same Compose project run:
docker compose -f docker-compose.yml -f compose.override.yaml run --rm --no-deps cuttlely node packages/server/dist/settings/copySqliteApplicationCli.js /var/cuttlely/data/database.sqliteCheck the command reports verified: true and individual table counts. Continue with the same key, original files and destination for the side-store upgrade. Migration, replacement test and rollback.
Database
Section titled “Database”The database is SQLite unless you change it. Compose leaves DATABASE_TYPE unset, which is SQLite. The file is /var/cuttlely/data/database.sqlite. DATABASE_PATH is that directory (/var/cuttlely/data), not the file. Compose does not start Postgres.
Postgres is from-source.md: DATABASE_TYPE=postgres plus DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USER, and DATABASE_PASSWORD. The Render Blueprint sets those for a hosted database (render.md). Cuttlely does not read DATABASE_URL.
The instance operator, signed in as an active organization owner, can also switch from the browser: Admin, then Server Settings, then Database, then Switch database. It tests the new database first, says whether it is empty or already has Cuttlely data, explains how you sign in afterwards, and asks you to type RESTART. Nothing is copied between databases, and Switch back returns to the previous one. A database set in .env or the compose file shows as set by the host and can only be changed there.
git clone https://github.com/cuttlely/cuttlely.gitcd cuttlelydocker compose up -dCompose pulls ghcr.io/cuttlely/cuttlely:latest. If it cannot pull it, Compose prints a warning and builds the image from your checkout, which takes several minutes the first time.
Access-key recovery
Section titled “Access-key recovery”The shipped app and worker Compose configurations forward INBOUND_ACCESS_V2 and CUTTLELY_IGNORE_ADMIN_SETTINGS from the host .env or --env-file. Set INBOUND_ACCESS_V2=off to override saved enforcement, or CUTTLELY_IGNORE_ADMIN_SETTINGS=1 to ignore saved settings. Apply the change with docker compose up -d --force-recreate, using the same Compose file and options as the install. docker compose restart retains the old container environment.
An empty rollout value leaves the saved mode effective and unlocked; an empty ignore flag is off. A nonempty host rollout mode wins even when ignore-admin is enabled. See access-key rollout.
Install with npm
Section titled “Install with npm”With Node.js 20 or newer and Docker running:
The version pin in these examples selects the 1.7.17 maintenance release. The 1.7.0 security-exception upgrade requirements still apply.
npx cuttlely startnpx cuttlely pulls ghcr.io/cuttlely/cuttlely, tagged with the same version as the cuttlely package you ran, unless you pass --tag. It stores data in the Docker volume cuttlely-data, publishes port 43117, and opens http://localhost:43117 when /api/v1/ping answers pong. This is the same image Compose pulls. Compose keeps its data in the volume cuttlely_cuttlely-data. cuttlely start keeps its data in the volume cuttlely-data.
npx cuttlely stopnpx cuttlely statusnpx cuttlely logsnpx cuttlely upgradenpx cuttlely start --port 8080 --tag 1.7.17 --env-file .env --no-open--port is the host and container port (default 43117). --tag selects the image tag (default is the package version; latest follows the newest release, and a version such as 1.7.17 pins one). --env-file is passed to Docker for extra settings such as CUTTLELY_ANALYST. --no-open prints the URL and skips the browser. A global install is npm install -g cuttlely, then cuttlely start.
If Docker is missing or not running, the command says so and links to this page. The first account is the same as Compose: the one-time setup link is in npx cuttlely logs.
Watch it start
Section titled “Watch it start”Pulling, building and the first start can take minutes. They never sit silent:
- Build. When Compose builds instead of pulling, each long build step names itself:
Cuttlely image, step 1 of 5: build toolsup tostep 5 of 5: keeping production packages only. - Status.
docker compose psshows(health: starting)in the STATUS column while Cuttlely boots, and(healthy)once it is ready. - Logs.
docker compose logs -f cuttlelyshows the boot steps (Cuttlely boot, step 1 of 2: starting the server, thenLoading nodes), then a ready block on a new install (✅ Cuttlely is ready — finish setup, the/setup#code=link, andSetup code). Once an account exists, the line is✅ Cuttlely is ready. Open http://localhost:43117. The same server log files are in the app under Admin, then Logs, for the organization owner or a role withlogs:view. Presets send a range token the server expands on its own clock. Custom sends the browser’sYYYY-MM-DD-HHstamps, which the server reads as its own local hours. The page shows one contiguous recent section: once a file is tailed, older files are not added. Redaction runs on the joined text, so a secret that spans lines becomes[secret hidden]. A capped tail keeps lines from the first log record and marks the cut as[earlier output cut]. It readsLOG_PATHonly. Boot lines that never reached those files stay indocker compose logs. If the page says no log file is configured, setLOG_PATH(Compose sets/var/cuttlely/logs). - Browser. Opening http://localhost:43117 before it is ready shows a Cuttlely is starting page with the current step. It opens Cuttlely by itself when it is ready.
Health checks
Section titled “Health checks”Use these public endpoints with any gateway, reverse proxy or load balancer:
| Check | Endpoint | Use |
|---|---|---|
| Liveness | GET /api/v1/ping/live |
Restart on sustained failure. Returns 200 while Node and its database can serve, including runtime failures and exhaustion cooldowns. |
| Readiness | GET /api/v1/ping |
Route agent traffic only while 200. Keeps the existing runtime, database and boot compile checks. |
Both return 503 during the first startup profile compile gate (bootPassBlocksPing) and when the database is unreachable. Strict readiness keeps its existing behavior: a down runtime returns 503 hermes down; up, degraded and restarting can pass once the other checks pass. Agent requests, including Orchestrate and A2A execution calls, return an immediate 503 RUNTIME_UNAVAILABLE with Retry-After before charging the access key while the runtime is down, restarting, cooldown or exhausted, including until its first successful health check. Ordinary flows, UI and recovery routes remain usable during runtime recovery. Both probes retain the X-Cuttlely-Hermes, X-Cuttlely-Analyst and X-Cuttlely-Database headers. Profiles at startup.
The image and the main-server Compose probes use a 15-second interval, 5-second timeout, 20 retries and a 300-second start period. Docker applies the start period only to the container’s first start, so it cannot cover a later restart in place. Liveness handles that instead: on the first boot /api/v1/ping/live answers 503 until the boot profile compile finishes, but after a restart in place (a settings restart or exhausted-runtime recovery) it answers 200 as soon as the server listens and has opened the database, and the recompile gates readiness (/api/v1/ping) only. The only liveness gap is the short window while the old server stops and the new one starts listening and opens the database; a recovery restart limits shutdown to five seconds, which keeps that gap far below 15 × 20 = 300 seconds. Runtime exhaustion waits 300 seconds with liveness green before restarting the stack, so the cooldown does not use this budget. An unreachable database still fails liveness, including during a restart in place. If you raise the drain timeout or your server takes long to start listening, raise your probes’ failure budget too.
- Render: set Health Check Path to
/api/v1/ping/live, as inrender.yaml; check strict readiness separately before agent traffic. Render guide. - Docker Compose:
docker compose exec cuttlely curl -fsS http://127.0.0.1:43117/api/v1/ping/live; the supplied main-server services retainrestart: unless-stoppedoralways. - Plain Docker:
docker run -d --restart unless-stopped -p 43117:43117 -v cuttlely-data:/var/cuttlely 'ghcr.io/cuttlely/cuttlely:<version>'. Plaindocker runshould use--restart unless-stopped. The image’s recovery loop restarts the agent runtime in place without exiting the container; the restart policy covers the container process if it exits. - VM behind nginx/Caddy: probe
http://127.0.0.1:43117/api/v1/ping/livefor service restart decisions with a failure budget of at least a few minutes (the image uses 15 s × 20); use strict/api/v1/pingfor agent routing while keeping UI/recovery traffic available. Reverse proxy guide.
On the starting page after an in-place restart, liveness can already answer 200 while sign-in and /api still answer 503. Wait for startup to finish before signing in or calling the API.
An exhausted runtime burst takes a diagnostic snapshot, stays in cooldown with readiness 503, resets the burst and restarts the whole stack in place. The main container process continues running. Only CUTTLELY_EXIT_ON_EXHAUSTED=1 requests a non-zero container exit instead. Runtime recovery settings.
Verify custom gateway probe paths and timing after upgrading; these do not change automatically. A database failure still makes both probes fail. A start that never opened its database needs a restart after the cause is fixed: docker compose restart cuttlely.
docker compose up -d reuses the image you already have. docker compose down keeps the volume. docker compose down -v deletes it.
Stopping. docker compose stop, down and an upgrade let answers that are running finish first, for up to 25 seconds (set CUTTLELY_DRAIN_TIMEOUT_MS, in milliseconds, from 0 to 300000, under environment in the compose file or in Server settings; 0 does not wait). A value saved in Server settings applies on the next shutdown without a restart. New requests get 503 with Retry-After meanwhile. The agent runtime then receives SIGTERM. Its stop grace (CUTTLELY_HERMES_STOP_GRACE_SECONDS, a non-negative whole number; default and invalid-input fallback 15 seconds) is capped by the time remaining in a 28-second total shutdown budget, measured from the start of Node draining. A full 25-second drain leaves about 2–3 seconds for the runtime; a shorter drain leaves up to 15 seconds. Runtime-only restarts use the full configured grace. Every supervisor SIGKILL logs the effective grace. The Compose files retain a 35-second container stop allowance. With plain docker run, use --stop-timeout 35 or longer; Docker’s 10-second default already cuts off the default drain. A custom drain longer than 28 seconds needs a matching platform stop allowance: the runtime still gets at least 2 seconds (or the configured grace if lower) after the drain, plus a moment for cleanup.
Image versions
Section titled “Image versions”Each release is published as ghcr.io/cuttlely/cuttlely:X.Y.Z, and the newest release is also :latest. The changelog lists what changed in each one.
- Pin a release. Set
CUTTLELY_IMAGE=ghcr.io/cuttlely/cuttlely:X.Y.Zin.env, for exampleghcr.io/cuttlely/cuttlely:1.7.17, then rundocker compose up -d. - Move to the newest release. Run
docker compose pull, thendocker compose up -d. Back up the volume first and read the release’s upgrade notes in the changelog. Upgrading Cuttlely has the backup, upgrade and roll back steps. - Build your own checkout. Run
docker compose up -d --build. The build is tagged with theCUTTLELY_IMAGEname, so setCUTTLELY_IMAGE=cuttlely:localin.envto keep it apart from the published image. Smaller images covers leaving Chromium, optional node packs, or the geolocation database out of that build.
Release images from .github/workflows/release-image.yml are linux/amd64. linux/arm64 is opt-in through a manual run’s platforms input and is slow under emulation. Apple silicon runs the linux/amd64 image under emulation. A release pushed with the --local-image --push fallback includes linux/arm64 only when the maintainer’s buildx builder can build it; otherwise it includes linux/amd64.
docker/docker-compose.yml uses the same image and the same SQLite settings if you run Compose from that directory. The service name is cuttlely. docker/Dockerfile is not this image. Building it exits and tells you to use the root Dockerfile. Compose does not build it.
docker compose config prints the file and does not start containers.
Smaller images
Section titled “Smaller images”The default image includes Chromium, the IP geolocation database, and every optional node pack. docker compose up -d --build with no extra arguments keeps all of them, and so does docker build -t cuttlely:local .. The build arguments are independent, so a build can set any of them. The published image ghcr.io/cuttlely/cuttlely is unchanged and still includes all of them. Each argument applies at build time. Changing one means building the image again. To run the image you just built, set CUTTLELY_IMAGE=cuttlely:local in .env and run docker compose up -d.
Leave out Chromium
Section titled “Leave out Chromium”Chromium is there for the Puppeteer and Playwright document loaders. To leave it out, set INCLUDE_BROWSER=0 and build again:
INCLUDE_BROWSER=0 docker compose up -d --builddocker build --build-arg INCLUDE_BROWSER=0 -t cuttlely:no-browser . is the same build. In that image those two loaders fail with this image has no browser. The agent runtime’s browser tool also cannot browse there: it returns success: false, and the server keeps running. INCLUDE_BROWSER accepts only 0 and 1. The default is 1.
Leave out the geolocation database
Section titled “Leave out the geolocation database”The geolocation database (geoip-lite) is what audit events use to record a country and a region, then mask the IP. It is the largest package in the image. A normal build keeps it, and audit events stay the same.
To leave the database out:
CUTTLELY_OMIT_GEOIP=true docker compose up -d --builddocker build --build-arg CUTTLELY_OMIT_GEOIP=true -t cuttlely:local . is the same build. CUTTLELY_OMIT_GEOIP defaults to false. Set it to true and the image build leaves geoip-lite out after the production install. The server still starts. Audit events then have no country and no region, the same result as an IP the database does not know.
Leave out optional node packs
Section titled “Leave out optional node packs”Vector store nodes ship in @cuttlely/node-pack-vector-stores. Tool and MCP server nodes that call an outside service ship in @cuttlely/node-pack-tools-mcp. Cache nodes and memory backends that use an outside service ship in @cuttlely/node-pack-caches-memory. Completion model nodes and the chain nodes that carry the DEPRECATING badge ship in @cuttlely/node-pack-legacy-chains. The default image includes those packs, so the node list matches a from-source install. CUTTLELY_NODE_PACKS adds packs on top of the shipped ones. A blank value adds nothing and removes nothing. To leave the shipped packs out:
INCLUDE_NODE_PACKS=0 docker compose up -d --builddocker build --build-arg INCLUDE_NODE_PACKS=0 -t cuttlely:slim . is the same build. INCLUDE_NODE_PACKS accepts only 0 and 1. The default is 1. That build writes /etc/cuttlely/no-node-packs, so the shipped packs are skipped. Packs named in CUTTLELY_NODE_PACKS still load. In the slim image a saved vector store node, a tool or MCP node from the tools pack, a cache or outside-service memory node, or a completion model or chain node from the legacy chains pack opens as a placeholder that names the pack, including a template that was saved without nodePack, and a prediction returns 422. Optional node packs describes the pack layout.
All three
Section titled “All three”INCLUDE_BROWSER=0 INCLUDE_NODE_PACKS=0 CUTTLELY_OMIT_GEOIP=true docker compose up -d --builddocker build --build-arg INCLUDE_BROWSER=0 --build-arg INCLUDE_NODE_PACKS=0 --build-arg CUTTLELY_OMIT_GEOIP=true -t cuttlely:local . is the same build.
Generic OIDC
Section titled “Generic OIDC”The shipped Compose files pass APP_URL and CUTTLELY_OIDC_CLIENT_SECRET from .env. Set APP_URL to the public HTTPS origin and leave the setup card on CUTTLELY_OIDC_CLIENT_SECRET for the default path. Local development may use HTTP only with localhost, 127.0.0.1, or ::1. If the card names a different environment variable, add that exact name to the Compose service’s environment section; .env entries that are not passed there do not reach the container. Choose the sign-in method.
Run traces
Section titled “Run traces”Traces are off until you turn them on. The root docker-compose.yml and docker/docker-compose.yml pass only the variables they list. They do not use env_file, so a name that exists only in .env and is not in that list never reaches the container, and traces stay off with no error. Both files pass these from .env with ${VAR:-}:
CUTTLELY_OTEL_TRACESCUTTLELY_OTEL_TRACES_ENDPOINTCUTTLELY_OTEL_TRACES_PROTOCOLCUTTLELY_OTEL_TRACES_CONTENTCUTTLELY_OTEL_TRACES_CONTENT_MAXMETRICS_SERVICE_NAME
Set them in .env, then run docker compose up -d. .env is the source of those interpolations. A blank METRICS_SERVICE_NAME is unset: traces use cuttlely, and Service name under Admin > Server Settings > Integrations > Metrics stays editable. docker/docker-compose-queue-source.yml passes those same six variables, blank meaning unset, on the server and the worker. The five CUTTLELY_OTEL_TRACES variables are Admin > Server Settings > Integrations > Traces. Run traces lists every variable, the span attributes, and a local collector at examples/otel/collector.yaml. Metrics stay a separate switch.
Inside the container, localhost is the container, not the machine running otelcol. A collector on the host is http://host.docker.internal:4318/v1/traces. On Linux that name is mapped with extra_hosts: ["host.docker.internal:host-gateway"] on the cuttlely service, and on the queue worker. The root file, docker/docker-compose.yml, and docker/docker-compose-queue-source.yml include that mapping. A collector you add yourself on the same Compose network is http://otelcol:4318/v1/traces. That service is optional. Leave it out of the file you run every day. A native run, Cuttlely and the collector on the same machine with no container, still uses http://localhost:4318/v1/traces.
SQLite is /var/cuttlely/data/database.sqlite on the named volume cuttlely-data. Uploads, harness files, ETL files, logs, the agent runtime home, and version history (/var/cuttlely/versions, see Version history) are the other directories on that volume. The first boot writes encryption.key in /var/cuttlely/data. Losing the volume, or changing FLOWISE_SECRETKEY_OVERWRITE, makes stored credentials unreadable.
Copy .env.example to .env only to change a default. .env is gitignored.
| Variable | Default | Notes |
|---|---|---|
PORT |
43117 |
Host and container. |
HOST |
0.0.0.0 |
|
DATABASE_TYPE |
unset (SQLite) | App database. Compose does not set it. Compose does not start Postgres. |
DATABASE_PATH |
/var/cuttlely/data |
Directory. The file inside it is database.sqlite. |
CUTTLELY_ANALYST |
unset | Set auto to give each workspace its own analyst store, analyst-<tag>.db beside the app file. Auto mode can create and change tables. An explicit Postgres URL is read-only. |
SECRETKEY_PATH |
/var/cuttlely/data |
encryption.key and auth-secret files. |
BLOB_STORAGE_PATH |
/var/cuttlely/storage |
Uploads. |
CUTTLELY_DATA_DIR |
/var/cuttlely |
Harness records and harness-queue.sqlite. |
CUTTLELY_HERMES_HOME |
/var/cuttlely/hermes |
Agent runtime state. HERMES_HOME matches it. |
CUTTLELY_ETL_DIR |
/var/cuttlely/etl |
ETL sqlite and files. |
CUTTLELY_VERSIONS |
unset | Version history is on. Set CUTTLELY_VERSIONS=off in .env, then docker compose up -d, to turn it off. History settings. |
CUTTLELY_DRAFTS |
unset | Drafts are on. Set CUTTLELY_DRAFTS=off in .env, then docker compose up -d, to save to Live. History settings. |
CUTTLELY_OTEL_TRACES |
unset (off) | .env is passed into the container. true sends traces. Anything else sends nothing. Run traces. |
CUTTLELY_OTEL_TRACES_ENDPOINT |
unset | Collector address from .env. Inside the container, use host.docker.internal or a Compose service name, not localhost. |
CUTTLELY_OTEL_TRACES_PROTOCOL |
unset (http in the server) |
http, grpc, or proto. Passed from .env. |
CUTTLELY_OTEL_TRACES_CONTENT |
unset (off) | Sensitive. Adds the question and the answer, the model prompt and reply, tool arguments and results, analyst SQL when the detail still has it, and the analyst run-card preview. A specialist span’s content input is the run-card task, at most 200 characters. Passed from .env. |
CUTTLELY_OTEL_TRACES_CONTENT_MAX |
unset (4000 in the server) |
Sensitive. Characters kept per content attribute. 0 is no limit, which sends the full question and answer text to your collector. Use it only with a collector you trust. Passed from .env. |
METRICS_SERVICE_NAME |
unset (cuttlely on traces) |
Service name on each trace. Blank in .env is unset, so traces use cuttlely and the admin field stays editable. |
LOG_PATH |
/var/cuttlely/logs |
Server log files. Admin > Logs reads this directory for an owner or a role with logs:view. Presets use a range token on the server clock. Custom hour stamps are read as server-local hours. Redaction runs on the joined text. |
CUTTLELY_LOCAL_ADMIN |
true |
Enables the owner account endpoint. The owner password form appears while Local is the durable active method and local users are off. Blank keeps the setting on. Set false for a WorkOS deployment. Sign in. |
CUTTLELY_INSTALL |
docker |
Set by Compose so the start script knows this is Docker and keeps the local account on by default. Leave it as it is. |
CUTTLELY_SERVICE_NAME |
cuttlely |
Compose service name the setup page uses in docker compose logs. Leave it as the service name in this file. |
HTTP_KEEP_ALIVE_TIMEOUT_MS |
65000 |
Idle HTTP connections stay open for proxy reuse. Keep a proxy’s upstream idle timeout below this value. Reverse proxy guide. |
HTTP_HEADERS_TIMEOUT_MS |
66000 |
Time allowed for request headers. It must stay above the keep-alive timeout. |
FLOWISE_SECRETKEY_OVERWRITE |
unset | Leave unset unless you want your own key. Never commit it. |
CUTTLELY_SECRETKEY_OVERWRITE |
unset | The same key. If both are set and the values differ, Cuttlely refuses to start. Never commit it. |
CUTTLELY_IMAGE |
ghcr.io/cuttlely/cuttlely:latest |
The image Compose pulls, and the tag a local build gets. Pin a release with :X.Y.Z. |
Queue files under docker/ are not this install. They build this repository and do not pull an image. See docker/README.md.
Create the first account with sign-in.md. A deploy that cannot open the setup link can create it from host configuration with a Compose secret: From host configuration. SQLite is the default above. A Postgres server you already run uses the variables in from-source.md. A hosted Postgres install is render.md. Analyst mode, including QUERY and a read-only URL, is analyst.md.
Custom MCP servers (stdio)
Section titled “Custom MCP servers (stdio)”Local (stdio) MCP servers are off by default. The Custom MCP node connects over SSE/HTTP unless you explicitly opt into stdio and allow the command and script path.
To enable a local stdio MCP server in Docker, you must pass the CUSTOM_MCP_* variables through to the container. The root docker-compose.yml does not forward these by default. Its environment block is a mapping (KEY: value), so add matching lines there:
services: cuttlely: environment: CUSTOM_MCP_SECURITY_CHECK: ${CUSTOM_MCP_SECURITY_CHECK:-} CUSTOM_MCP_PROTOCOL: ${CUSTOM_MCP_PROTOCOL:-} CUSTOM_MCP_ALLOWED_ENV_VARS: ${CUSTOM_MCP_ALLOWED_ENV_VARS:-} CUSTOM_MCP_ALLOWED_COMMANDS: ${CUSTOM_MCP_ALLOWED_COMMANDS:-} CUSTOM_MCP_ALLOWED_ABSOLUTE_SCRIPT_PATHS: ${CUSTOM_MCP_ALLOWED_ABSOLUTE_SCRIPT_PATHS:-}Then set them in your .env and restart. The rest of this example is for Compose or docker run -v only. Those commands can bind-mount a host script and a data directory. npx cuttlely start cannot: it only mounts the named volume cuttlely-data at /var/cuttlely, it has no extra volume flags, and there is no easy way to put host files into that volume. If you need a custom stdio script, switch to Compose or docker run with -v. --env-file still works on the CLI for environment variables; it does not add mounts.
CUSTOM_MCP_PROTOCOL=stdioCUSTOM_MCP_ALLOWED_COMMANDS=nodeCUSTOM_MCP_ALLOWED_ABSOLUTE_SCRIPT_PATHS=/opt/mcp/servers/fs-server.jsCUSTOM_MCP_ALLOWED_ENV_VARS=The image does not include /opt/mcp/servers/fs-server.js or a /data directory. With Compose, add bind mounts next to the volume already in the file:
services: cuttlely: volumes: - cuttlely-data:/var/cuttlely - ./mcp:/opt/mcp/servers:ro - ./mcp-data:/dataPut the server file on the host at ./mcp/fs-server.js. That path is /opt/mcp/servers/fs-server.js in the container. ./mcp-data is /data. The same paths work with docker run -v ./mcp:/opt/mcp/servers:ro -v ./mcp-data:/data.
Then use this config on the Custom MCP node (paths exist only after those mounts):
{ "command": "node", "args": ["/opt/mcp/servers/fs-server.js", "/data"]}Rules that apply in 1.5.2:
- The command must be in CUSTOM_MCP_ALLOWED_COMMANDS.
- If any args are present, the first must match a path listed in CUSTOM_MCP_ALLOWED_ABSOLUTE_SCRIPT_PATHS. List absolute paths you control. Relative paths are strongly discouraged and only work if you explicitly allow-list that exact relative path.
- Dangerous flags are blocked. Examples:
- npx:
-y,--yes,-c,--call,--shell-auto-fallback,--node-options - node:
-e,--eval,-p,--print,--inspect,--inspect-brk,--experimental-policy,-r,--require,--loader,--experimental-loader,--import,--env-file - python/python3:
-c,-m - docker: subcommands
run,build,exec,compose, and flags-v,--volume,--mount,--volumes-from,--privileged,--cap-add,--security-opt,--device,--entrypoint,--network,--pid,--ipc,--env-file
- npx:
Prefer SSE/HTTP when possible. See the FAQ for more detail and examples.
Operator claim and host overrides
Section titled “Operator claim and host overrides”Legacy installs without a verified host binding use Admin > Server settings > Instance operator > CLAIM and the one-time code in docker compose logs cuttlely. The code is not exposed by the browser Logs API. Routine transfer/revoke and fresh host-proof rebind are in the panel; the CLI is emergency recovery, run with docker compose exec -u node cuttlely pnpm user --email you@example.com --bind-operator.
Every shipped root, directory, queue source/prebuilt and standalone worker Compose service forwards CUTTLELY_INSTANCE_OPERATOR only when present. Unset stays omitted, explicit empty is invalid, none revokes browser authority and JSON overrides the file. Every defined value disables panel claim/transfer/revoke/rebind/recovery. Recreate using the same Compose file/options with docker compose up -d --force-recreate; a restart keeps the previous environment. Workers receive the same configuration for parity, not because they expose administration HTTP routes. See operator onboarding and recovery.