protogrid

Search / tech.openfactory/openfactory

OpenFactory

R0· no sign-in

Build custom Linux OS images from recipes and test them in VMs with your OpenFactory account.

v1.0.8 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality68new
Trust96of 100
Uptime, 30 days95%
Latency p50470 msp95 1307 ms

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "openfactory": {
      "type": "http",
      "url": "https://console.openfactory.tech/mcp-stream/mcp",
      "headers": {
        "Authorization": "Bearer ${OPENFACTORY_TOKEN}"
      }
    }
  }
}
claude mcp add --transport http openfactory https://console.openfactory.tech/mcp-stream/mcp --header "Authorization: Bearer ${OPENFACTORY_TOKEN}"
[mcp_servers.openfactory]
url = "https://console.openfactory.tech/mcp-stream/mcp"
bearer_token_env_var = "OPENFACTORY_TOKEN"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "openfactory": {
      "type": "remote",
      "url": "https://console.openfactory.tech/mcp-stream/mcp",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer {env:OPENFACTORY_TOKEN}"
      }
    }
  }
}
{
  "mcpServers": {
    "openfactory": {
      "type": "http",
      "url": "https://console.openfactory.tech/mcp-stream/mcp",
      "headers": {
        "Authorization": "Bearer ${OPENFACTORY_TOKEN}"
      }
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=openfactory&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vY29uc29sZS5vcGVuZmFjdG9yeS50ZWNoL21jcC1zdHJlYW0vbWNwIiwiaGVhZGVycyI6eyJBdXRob3JpemF0aW9uIjoiQmVhcmVyICR7T1BFTkZBQ1RPUllfVE9LRU59In19"
}
{
  "servers": {
    "openfactory": {
      "type": "http",
      "url": "https://console.openfactory.tech/mcp-stream/mcp",
      "headers": {
        "Authorization": "Bearer ${OPENFACTORY_TOKEN}"
      }
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22openfactory%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fconsole.openfactory.tech%2Fmcp-stream%2Fmcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22Bearer%20%24%7BOPENFACTORY_TOKEN%7D%22%7D%7D"
}
{
  "mcpServers": {
    "openfactory": {
      "httpUrl": "https://console.openfactory.tech/mcp-stream/mcp",
      "headers": {
        "Authorization": "Bearer ${OPENFACTORY_TOKEN}"
      }
    }
  }
}
extensions:
  "openfactory":
    enabled: true
    name: "openfactory"
    type: streamable_http
    uri: "https://console.openfactory.tech/mcp-stream/mcp"
    headers:
      "Authorization": "Bearer ${OPENFACTORY_TOKEN}"
    timeout: 300

Placeholders to fill from your own secret store: ${OPENFACTORY_TOKEN}. The registry never accepts secret values.

Quality 68 / 100new

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorization83 · weight 15
  • pass
    auth.prmProtected Resource Metadata (RFC 9728) published
  • pass
    auth.as_metadataauthorization server metadata reachable
  • warn
    auth.cimdonly Dynamic Client Registration, deprecated in 2026-07-28 in favour of CIMD
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene56 · weight 30
  • warn
    tools.descriptions1 of 192 tools have a description under 20 characters
  • warn
    tools.description_length12 tools have descriptions over 1,024 characters, which crowds the context
  • pass
    tools.schemasevery tool has an object input schema
  • fail
    tools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: get_build_status (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_build_evidence (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_iso_download_url (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
  • fail
    tools.token_costabout 61,403 tokens to load every tool, a large share of an agent's context
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool, prompt or resource definitions
  • pass
    tools.poisoningno instructions aimed at the model in tool, prompt or resource definitions
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pull, stability.new_linkstool history recorded for 5 of the 7 days needed
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

192 tools, about 61,403 tokens to load them all · tool set cbdd9bb5c382 · tools last changed 2026-11-27 · checked 2026-11-29 14:15 UTC

Definition changes

  • get_harness_skillchangeddescription, input schemano new version
    before

    Fetch a packaged OpenFactory harness skill (instructions + references). Remote sessions have no filesystem access to this host, so the canonical skill markdown is served in-band. Follow the returned skill exactly as if it were installed locally. ``resources`` lists its companion files; a small skill's are included in ``references``. Pass one as ``resource_path`` to read that file alone.

    after · 82% of words in common

    Fetch a packaged OpenFactory harness skill (instructions + references). Remote sessions have no filesystem access to this host, so the canonical skill markdown is served in-band. Follow the returned skill exactly as if it were installed locally. ``resources`` lists its companion files; a small skill's are included in ``references``. Pass one as ``resource_path`` to read that file alone. To keep long text within the client's response limit, pass ``resource_path`` and ``limit=12000`` and follow ``resource.next_offset``.

  • finish_verification_sessionchangeddescriptionno new version
    before

    Hand the current phase in. The platform seals its recording. Hands in the phase get_verification_session named. This is irreversible: once finishing is requested the phase cannot be cancelled or reopened. Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims. If the build has an installed phase and you finish the LIVE phase with passed or failed, the platform installs the image to disk and boots it (status installing); poll get_verification_session until the installed phase is ready, show the claims again there, and finish it the same way. Finishing the live phase with error or skipped stops before installation. A failed phase still gets independent grading of its recording and native command facts; its valid checks stay passed, while the artifact cannot be certified. Otherwise the platform judges what was recorded: read the verdict with get_test_results and get_test_run_screenshot(run_id, "session-judge"); only a judged pass of every phase can certify the build.

    after · 91% of words in common

    Hand the current phase in. The platform seals its recording. Hands in the phase get_verification_session named. This is irreversible: once finishing is requested the phase cannot be cancelled or reopened. Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims. If the build has an installed phase and you finish the LIVE phase with passed or failed, the platform installs the image to disk and boots it (status installing); poll get_verification_session until the installed phase is ready, show the claims again there, and finish it the same way. Finishing the live phase with error or skipped stops before installation. A failed phase still gets independent grading of its recording and native command facts; its valid checks stay passed, while the artifact cannot be certified. Otherwise the platform judges what was recorded. Poll get_verification_session for the verdict. A judged pass of every required phase and installation case can certify the build.

  • get_verification_sessionchangeddescription, input schemano new version
    before

    Read your goal's verification session: its state, its VM, and what it is graded on. Your build is verified by ONE recorded session that you drive yourself, on the of-test-* VM named here. That `vm_name` is the `vm_name` argument of every desktop_screenshot, desktop_read_region, desktop_interact, desktop_open_url and guest_command call you make for this build — there is no other machine, and you do not create one. The one exception: a session started with browser_client=true names the platform's browser VM in `browser_client.vm_name` (with the image's `server_address`), for a web UI the image serves; drive it with the desktop tools and record its frames with record_verification_step(capture_vm='browser_client'). Driving your own build from an outside MCP client, pass its `build_id` to all four session tools; the platform judge grades your recording just the same. `status` is provisioning (the platform is booting the image), ready (drive it), installing (the platform is installing to disk; hands off), judging (handed in), or the terminal verdict passed/failed/error. `admission_pending` means the saved launch has no run record yet; retry the `diagnostic_next_tool` on the same image. Failed artifact finalization requires build_image before a verification launch can be admitted. `intent_items` are the claims the platform judge will grade the recording against: walk them one at a time and record a step for each, passing its `id` in `intent_item_ids`. Each item's `rule` is how it is graded: platform (decided by the platform's own root check; a bound terminal frame is optional, shown beside the platform's result), evidence (one clear frame of it, and no later frame contradicting it, so the screen you finish on decides the no-dialog claim; a claim about how the desktop looks counts only as the desktop renders it, never as on-screen text naming the value), console (shown on the text console). A feature item's `assertion` is the check behind the claim -- its `type` and `params` name the package, command or path to show. `required` false means the judge not seeing this claim (insufficient) does not fail the run; a claim it sees contradicted still fails it. `seconds_remaining` and the budget are the platform's, not yours. `delivery` is the platform's current evidence-based decision on policy 2: verified, ready_with_limitations, or blocked. Ready with limitations can finish through complete_goal after disclosing all limitations; it grants no full certificate and never changes last_verdict. `interpretations` are the audited finite readings of vague owner preferences. `last_verdict` is None until the judge has graded the run; then it holds `overall`, the `termination` reason, `counts`, and per item its `outcome` (pass | fail | insufficient | infra), `reason`, what was `missing` and the `frames` it was graded on. `sessions_left_on_this_artifact` is how many more judged sessions these exact bytes allow after this run (a run still open counts as one that will be judged; one the platform ends as an error is not charged). At 0 only a changed image can be verified again: start_verification_session refuses. It is None for a build-group node, whose group keeps its own count. `status` refused means the platform would not launch a session for this artifact at all: `refusal` holds the reason, the exact refusal text and the next step. Nothing will open until the image changes. A failed run can have no session because provisioning stopped first. `error_message` and `diagnostic_next_tool` then point to its evidence: inspect that run before deciding whether the image or platform needs repair. When its `failure_kind` is infrastructure the platform failed it, and `message` says what to do instead. `phase` is live or installed (installing between them). `installed_phase` says whether this build's admitted intent includes the installed system; when it is true the session has TWO phases on this one run: finish the live phase with finish_verification_sess

    after · 94% of words in common

    Read your goal's verification session: its state, its VM, and what it is graded on. Your build is verified by ONE recorded session that you drive yourself, on the of-test-* VM named here. That `vm_name` is the `vm_name` argument of every desktop_screenshot, desktop_read_region, desktop_interact, desktop_open_url and guest_command call you make for this build — there is no other machine, and you do not create one. The one exception: a session started with browser_client=true names the platform's browser VM in `browser_client.vm_name` (with the image's `server_address`), for a web UI the image serves; drive it with the desktop tools and record its frames with record_verification_step(capture_vm='browser_client'). Driving your own build from an outside MCP client, pass its `build_id` to all four session tools; the platform judge grades your recording just the same. `status` is provisioning (the platform is booting the image), ready (drive it), installing (the platform is installing to disk; hands off), judging (handed in), or the terminal verdict passed/failed/error. `admission_pending` means the saved launch has no run record yet; retry the `diagnostic_next_tool` on the same image. Failed artifact finalization requires build_image before a verification launch can be admitted. In ready, `intent_items` lists the claims to show. Read additional pages by passing `next_intent_offset` as `intent_offset`. Record a step for each, passing its `id` in `intent_item_ids`. Each item's `rule` is how it is graded: platform (decided by the platform's own root check; a bound terminal frame is optional, shown beside the platform's result), evidence (one clear frame of it, and no later frame contradicting it, so the screen you finish on decides the no-dialog claim; a claim about how the desktop looks counts only as the desktop renders it, never as on-screen text naming the value), console (shown on the text console). A feature item's `assertion` is the check behind the claim -- its `type` and `params` name the package, command or path to show. `required` false means the judge not seeing this claim (insufficient) does not fail the run; a claim it sees contradicted still fails it. `seconds_remaining` and the budget are the platform's, not yours. `delivery` is the platform's current evidence-based decision on policy 2: verified, ready_with_limitations, or blocked. Ready with limitations can finish through complete_goal after disclosing all limitations; it grants no full certificate and never changes last_verdict. `interpretations` are the audited finite readings of vague owner preferences. During provisioning, installing and judging, `poll_after_seconds` tells you when to check again. The claims are returned when the phase is ready. `last_verdict` is None until the judge has graded the run; then it holds `overall`, the `termination` reason, `counts`, and the first claims that need attention with their `outcome`, `reason`, `missing` and `frames`. Use get_test_results for the full report. Certification requires a judged pass of every required phase and installation case on the current image. `sessions_left_on_this_artifact` is how many more judged sessions these exact bytes allow after this run (a run still open counts as one that will be judged; one the platform ends as an error is not charged). At 0 only a changed image can be verified again: start_verification_session refuses. It is None for a build-group node, whose group keeps its own count. `status` refused means the platform would not launch a session for this artifact at all: `refusal` holds the reason, the exact refusal text and the next step. Nothing will open until the image changes. A failed run can have no session because provisioning stopped first. `error_message` and `diagnostic_next_tool` then point to its evidence: inspect that run before deciding whether the image or platform needs repair. When its `failure_kind` is infrastructure the platform failed it, and `message` says wha

  • query_build_knowledgechangeddescriptionno new version
    before

    Search OpenFactory's record of what has worked in real builds. Ask one focused question per concept ("time zone fedora", "branding debian", "users autologin gdm", "installer anaconda") or per failure text, one call at a time. A concept card comes back whole: the files that concept needs, with their content and the checks that prove them. `learned_rules` are verified rules for the build's base image and come with the first call for a build unless include_learned_rules asks for them. Read-only; a response is at most 32 KB.

    after · 82% of words in common

    Search OpenFactory's record of what has worked in real builds. Ask one focused question per concept ("time zone fedora", "branding debian", "users autologin gdm", "installer anaconda") or per failure text, one call at a time. A concept card comes back whole: the files that concept needs, with their content and the checks that prove them. `learned_rules` are verified rules for the build's base image and come with the first call for a build unless include_learned_rules asks for them. Use k=2 and include_learned_rules=false for a focused lookup. The read-only response is capped at 24 KiB before MCP encoding.

  • desktop_interactchangedinput schemano new version
  • desktop_open_urlchangedinput schemano new version
  • desktop_close_tabchangedinput schemano new version
  • desktop_keychangedinput schemano new version
  • desktop_typechangedinput schemano new version
  • desktop_dragchangedinput schemano new version

Showing the latest 10. Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 96 / 100

provenance85
liveness100
freshness100
hygiene100

+repository +dns-namespace +website +reachable +uptime-100% +updated-5d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days, https://console.openfactory.tech/api/mcp-stream/plugin/mcp95% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://console.openfactory.tech/api/mcp-stream/plugin/mcp streamable-httpoauth2 AS: https://console.openfactory.tech/api/mcp-oauthyes95%470 ms1307 ms–2026-11-29
https://console.openfactory.tech/mcp-stream/mcp streamable-httpnoneyes100%523 ms857 ms2025-11-252026-11-29

Tools (192)

add_app_bucketProvision a managed MinIO bucket for an app + publish AWS_* credentials into the app's env automatically. M1 behavior: 1. Verify caller owns the app 2. POST to libvirt :8001 /api/app-infra/buckets (stub mode by default — no real MinIO VM needed for M1) 3. PUT 5 env keys (OF_S3_ENDPOINT, OF_S3_BUCKET, OF_S3_ACCESS_KEY, OF_S3_SECRET_KEY, OF_S3_REGION) into the app's env via the producer API 4. Append bucket_id to App.bucket_refs 5. Return {bucket_id, status, env_keys, env_published} When ``OPENFACTORY_STORAGE_PRODUCER_TOKEN`` is unset, step 3 is skipped and the connection dict (INCLUDING secret_key — shown exactly once) is returned in the response so the caller can manually publish via ``set_app_env(app_id, set={...})``. App code reads with explicit kwargs: ``boto3.client('s3', endpoint_url=os.environ['OF_S3_ENDPOINT'], aws_access_key_id=os.environ['OF_S3_ACCESS_KEY'], aws_secret_access_key=os.environ['OF_S3_SECRET_KEY'])``.
add_app_databaseProvision a managed Postgres database for an app + publish ``DATABASE_URL`` into the app's env automatically. M1 behavior: 1. Verify caller owns the app 2. POST to libvirt :8001 /api/app-infra/databases to allocate the DB (stub mode by default — no real Postgres VM needed for M1) 3. PUT DATABASE_URL into the app's env via the producer API (the password never crosses MCP back to the caller) 4. Append db_id to App.db_refs 5. Return {db_id, status, env_keys, env_published} When ``OPENFACTORY_DB_PRODUCER_TOKEN`` is unset, step 3 is skipped and the connection URL is returned in the response — the caller must publish it manually via ``set_app_env(app_id, set={'DATABASE_URL': ...})``.
annotate_screenshotCapture the desktop and draw labeled highlight boxes on it, then return the annotated screenshot URL. Use this right after writing UI code to visually highlight the element you just added: call desktop_screenshot to read the new element's bbox, then annotate_screenshot with that box (and a label like "new: Submit button"). Coordinates are pixel-space — pass an element's bbox [x1,y1,x2,y2] directly, so the box lands exactly on the element. The annotated image is saved as evidence and returned as a fetchable URL.
apply_fixApply a patch to a deployed app and restart its systemd unit. M1 is local-vm only: writes the file via the guest agent, then `systemctl restart of-app-<slug>`. github-pr / provider-redeploy modes return 501 until M2.5 / M3.
assign_app_scenarioAssign a scenario to a project (and optionally an existing variant), or remove it. This only sets metadata — it never touches the scenario's steps or hardened element cache, and never triggers a build. Provide ``project_id`` (and an optional existing ``build_id``) to file the scenario under that project; omit ``project_id`` to remove it from its project. Only scenarios you own.
attach_internal_repositoryClone and authorize an existing repository owned by this tenant.
authenticate_testerLog your tester browser into a login-walled OpenFactory platform site so you can reproduce and VERIFY authenticated UI. Call this BEFORE open_url / test_workflow / walk_app on console/build/direktor.openfactory.tech. Injects a short-lived session for a scoped, NON-admin tester identity as the NextAuth session cookie (httpOnly — settable only via DevTools, not JS), so the next navigation to that site is already logged in. Only supports *.openfactory.tech platform sites; managed apps (*.apps.openfactory.tech) use their own app-auth secrets (enable_app_auth) instead.
build_imageBuild the image of one of your builds and open its verification. The image is made from the saved recipe and the files you wrote. The recipe delivers packages and repositories; anything else reaches the image only as a file or hook written with write_build_config, so a recipe alone builds a stock image. For client-driven Fedora live remasters, the saved recipe's package list and selected supported signed repositories are prepared here. check_image_inputs previews what is missing. Confirm a requested build with the user before its first image; rebuilding to fix a defect is part of that build. A new dispatch can replace the prior image and its verification result. On a plan that caps image attempts it uses one; `allowance` here and in check_image_inputs says what is left, and a null limit means the plan does not cap them. The call returns after at most wait_seconds (0 to 300) and the work continues: poll get_build_status and get_verification_session. `dispatched` says whether this call started an image. When it is false the answer is about the image that already exists, and a change to the recipe or to your files since then starts a new one. image_built reports assembly and success reports the verified lifecycle.
call_phonePlace a real-time AI voice phone call. An AI voice agent conducts the conversation using the context and goal you provide. The agent speaks naturally, listens to the other person, and responds in real-time — like having an assistant make the call for you. This tool blocks until the call completes (typically 1-5 minutes). Returns a full transcript and outcome summary. The call uses speech-to-text for listening and text-to-speech for speaking, powered by Claude for natural conversation management.
cancel_app_test_groupCancel a running group re-run. The in-flight scenario finishes; remaining ones are skipped.
check_image_inputsFind what is missing from a build before building its image. Compares the saved recipe with the files you wrote and returns every gap at once in `problems`: packages, repositories and signing keys, accounts nothing creates, settings no file applies (time zone, kernel arguments, hooks, startup scripts), and hooks that download during the build. `notes` lists what could not be checked and `next_step` says what to do. For a client-driven Fedora live remaster it includes the packages and supported signed sources taken from the recipe. This check does not change the build or use the build allowance. `allowance` says how many image attempts the plan leaves; a null limit means the plan does not cap them. It checks configuration, not RPM availability or whether the image boots and works.
check_messagesCheck incoming SMS messages and recent call logs for your workspace. Returns SMS messages received in the last 24 hours and recent call history. Use this to see replies to your SMS messages or missed calls.
check_walk_regressionThe agentic UX-regression gate. Diffs a candidate walk against the active SEALED baseline and returns a verdict FIRST: pass — no UX path removed, no new finding at/above the threshold fail — a state disappeared, a new blocker/major appeared, or the sealed baseline failed hash verification (tampered) no_baseline — nothing sealed yet (walk + seal_walk_baseline first) Call this after an agent changes the app's code to confirm the user experience still holds. ``comparability_warnings`` flag budget/mode mismatches that could cause false failures.
clear_walk_baselineClear the baseline pin for an app. Idempotent (returns {cleared: false} if no baseline was set).
close_findingMark a finding as resolved (fixed/wont_fix/duplicate/not_a_bug). Future run_fix_cycle calls skip already-resolved findings.
configure_lab_networkConfigure an isolated lab network, .test DNS and explicit node traffic. rules: [{source: 'entry', target: 'workspace', protocol: 'tcp', port: 8080}]. dns: {'files.workshop.test': 'entry'}. Subnets and runtime names are assigned by the platform. Internet enables public HTTP/HTTPS only; management, metadata, private ranges and other labs remain inaccessible.
connect_cloud_providerConnect a cloud account. Credentials are encrypted at rest, validated live against the provider, and (for the default connection per provider) projected into your account env so deployed apps can use the cloud directly. Returns the masked connection plus the validation result.
create_appRegister an app (a git repo to deploy) on OpenFactory. This creates the App record (name, source, slug, visibility). Deploy it with deploy_app(app_id=…) to build a fresh immutable variant and get a URL at https://<slug>.apps.openfactory.tech (web-service apps). To test an app that's ALREADY hosted elsewhere (Vercel, etc.), you don't need this — just point a scenario at its URL with create_app_scenario.
create_app_from_promptTurn a one-sentence brief into a queued immutable app deployment. The returned ``app_id`` can be passed to: - ``iterate_app(app_id, instruction='make the header green')`` to record an iteration (M2 will actually apply it) - ``get_app_build_status(app_id)`` to check current state - ``set_app_env(app_id, set={KEY:val})`` to inject env vars - ``walk_app(app_url=<url>, mode='hybrid')`` for self-test
create_app_scenarioCreate a reusable GUI test scenario stored on OpenFactory. Tests any URL the tester VM can reach — a local dev server, a deployed app, or a public site — on a vanilla Ubuntu+Firefox tester VM. No build and no image are required. Define the flow once in plain language; run it later (and repeatedly) with run_app_scenario. The first run hardens it (caches where each element is) so re-runs are fast and self-healing.
create_buildCreate a new build from a recipe. The recipe defines the base OS, features, packages, and configuration for the Linux image. The build is queued and its worktree prepared; by default YOU drive it from there with your own model -- OpenFactory runs no LLM for it. Call build_image(build_id), then drive its verification session: get_verification_session(build_id=...) names the VM and the claims a platform judge grades. Pass platform_agent=True to hand the build to OpenFactory's goal agent instead (metered platform AI). By default the build also gets a chat, seeded with `prompt` (if given) and a recipe card, and linked so it shows up in the sidebar and opens the build panel. Pass create_chat=False to suppress that. Interactive build-terminal agents that need the worktree path use prepare_harness_build instead. The response includes a session_token — pass it to all subsequent tool calls (list_builds, get_build_status, etc.) to maintain session continuity. Example recipe: { "name": "My Custom Server", "base_image": "debian-bookworm", "description": "A minimal web server", "os": { "features": ["ssh", "nginx"], "packages": ["htop", "vim"], "services": [ {"name": "ssh", "config": {"port": 22}} ] } }
create_build_from_promptStart an OpenFactory build from a one-sentence description. The prompt is delivered to a new conversation's goal session -- the same agent that serves the Build UI. It reads the request, writes the recipe, builds the image, verifies it, and repairs failures on its own. Nothing is authored by the caller. This spends platform AI: the goal session runs on OpenFactory's model and is metered against your plan's AI allowance. Use ``create_build`` instead when you already hold a complete recipe and want to drive it with your own model. The goal owns the build, so there is no build id yet when this returns: poll ``list_builds`` for the returned ``conversation_id`` and follow the build with ``get_build_status(build_id)``. If the agent needs a decision from you, it asks in the conversation, which you can open in the Build UI.
create_checkpointCapture a manual checkpoint (code SHA + VM snapshot + DB snapshot) for the app. Use BEFORE a risky agent iteration; rollback_app restores the full tuple.
create_internal_repositoryCreate, seed, clone, and authorize an internal-only Git repository.
create_labCreate a private, owner-only lab within your purchased plan allocation. Retry with the same idempotency_key. No public DNS or gateway is created.
create_lab_nodeProvision only an owned private-lab role from a pinned built artifact. This mandatory lab scope lets a session goal provision roles without exposing unrestricted VM lifecycle tools to an image-build goal.
create_recipe_from_templateCreate a new recipe based on an existing template. Start with a pre-built template and customize it for your needs. Returns the modified recipe ready to use with create_build.
create_vmCreate a VM from a built image, using the ARM preview for a PinePhone build. Creates and starts a new VM running the built image.
delete_app_scenarioDelete a saved app test scenario (its definition + hardened element cache). Only deletes scenarios you own. Past run reports/videos are NOT removed — they live under their run ids. Idempotent: a missing scenario returns success.
delete_checkpointRemove a checkpoint. Errors with 'pinned' if the checkpoint is pinned (unpin first via pin_checkpoint with pinned=False).
delete_labDelete owned lab resources and credentials. Explicit confirm=true is required. Retained test evidence follows its existing retention policy. Does not delete unrelated VMs, networks, or other customers' resources.
delete_lab_networkRemove an owned lab network only after its nodes are removed.
delete_lab_nodeRemove one owned lab node and its disks; its immutable evidence remains.
delete_lab_secretDelete all versions of a secret once no deployment references it.
delete_vmDelete a VM. Stops and removes the VM and its associated resources.
deliver_lab_secretDeliver one owned secret version to a role's root-only guest file. Returns its guest path, never plaintext. Use native OS/application tools reading that file for administrator bootstrap, rotation or recovery.
deploy_appBuild a fresh app-baked OpenFactory variant and deploy it blue-green. The exact Git revision is resolved with your connected GitHub account, dependencies and the app are built through OBS or a live-build hook, and a new live VM boots only after the ISO is complete. The VM receives runtime env, starts the packaged service, passes health checks, and then atomically replaces the old gateway route. No install/build work runs in the live VM. To test an app hosted elsewhere (Vercel, AWS, …) you do NOT need this — pass the hosted URL straight to create_app_scenario.
deploy_lab_servicesDeploy an owned published Git commit's digest-pinned Compose services privately. The prepared role must contain Docker Compose and systemd. Secrets are explicit {VARIABLE: 'SECRET_NAME:version'} references. No hosted application gateway route is registered. Uses the existing deployment reconciler.
desktop_clickClick at coordinates on your desktop, then return screenshot + elements. Use desktop_screenshot first to find element coordinates, then click using the center coordinates from the elements array.
desktop_close_tabClose the currently active browser tab, then return screenshot + elements. This sends the normal human browser shortcut Ctrl+W to the desktop VM. Use it after extracting what you need from a page, unless that tab has an unsaved form, draft, active download, authentication flow, or pending user approval.
desktop_dragDrag-and-drop on your desktop: press at (x, y), move to (end_x, end_y), release. Use desktop_screenshot first to get the source element's center, then pick a drop point. Good for moving a graph/canvas node, reordering a list, dragging a slider, or dropping one item onto another. PANNING: on an interactive canvas — a node graph (React Flow topology), a map (Google Maps), a diagram, an image viewer — drag across EMPTY canvas space (not on a node/marker) to PAN the view. If part of what you want is off-screen, pan toward it instead of assuming it isn't there. Pair with scroll-to-zoom (see desktop_interact's scroll action) to navigate large canvases: zoom out to get an overview, pan to the region of interest, zoom in to act.
desktop_interactExecute a sequence of actions on the VM's desktop, then return the screen. The post-action screenshot comes back as an inline image (plus its URL and OmniParser elements), so you can see what your actions actually did. On a build's of-test-* VM this is the ONLY way to click, type, press keys, scroll or drag — batch the steps of one interaction here (e.g. click a field, type text, press Enter). Keep batches short: the whole call shares a 25-second budget, which explicit wait actions extend. An optional verification_capture (or motion_capture) action runs the native recorder concurrently with this sequence (delay_seconds counts from dispatch, not its position in the array). It requires the ready session's build_id and app_run_id plus a stable operation_id; the native recorder still enforces all guards. The response includes verification_capture metadata alongside the action frame (with display_motion for a motion_capture). NAVIGATING CANVASES (node graphs, maps, diagrams, image viewers): you are not limited to what's currently on screen — you can zoom and pan. • scroll = ZOOM on a canvas. Scroll over EMPTY canvas space (not on a node or card, which may capture the wheel) with a meaningful amount (e.g. 6–10) — direction "up" zooms in, "down" zooms out. Small amounts may not move the view noticeably. • drag across EMPTY canvas space = PAN (use a drag action in this tool). Typical flow for a large graph/map: scroll down to zoom OUT for an overview → drag to pan to the area you want → scroll up to zoom IN before clicking. If something seems missing or cut off, zoom out / pan before concluding it's absent.
desktop_keyPress a key or key combination on your desktop, then return screenshot + elements. Common keys: Return, Tab, Escape, Backspace, Delete, Home, End, ctrl+l (focus URL bar), ctrl+w (close tab), ctrl+c (copy), ctrl+v (paste), alt+F4 (close window).
desktop_listenListen to audio from a desktop VM and get transcriptions. Captures system audio (PulseAudio monitor) from the desktop VM, sends it through the Whisper STT service, and returns transcribed text. Use 'start' to begin continuous background listening, then 'transcript' to query what was said. Use 'snapshot' for a quick one-shot capture.
desktop_open_urlOpen a URL in Brave on the VM (falls back to Chromium or Firefox if Brave isn't installed on the VM). REQUIRES the QEMU guest agent: the browser is launched inside the guest. Without the agent, run the same steps as ``desktop_interact`` actions — key "ctrl+l", type the URL, key "Return". Do NOT use this to "prove" a kiosk, an autostarted browser, or a homepage: it opens a SECOND browser window, so what appears here says nothing about what the image starts on its own. Screenshot the untouched session instead. Sends Ctrl+L (focus address bar) → types URL → Enter → waits for page load → takes the screenshot and parses elements. This is a convenience tool; the same sequence can be expressed as key/type actions in ``desktop_interact``. To prevent runaway tab accumulation in long-running agent sessions, the tool keeps at most `max_tabs` browser tabs open and closes the oldest one (FIFO) when a new URL would push past the cap. The cap is enforced via Chromium DevTools on loopback inside the VM, so it applies to Brave / Chromium / Edge but not Firefox. Set max_tabs=0 to opt out for one-off sessions.
desktop_read_regionRun a real vision-language OCR model on a region of the VM's display and return all its text. Returns TEXT ONLY — there is no image in this response. Call ``desktop_screenshot`` when you need to see the pixels. UNLIKE desktop_screenshot (which returns OmniParser's filtered UI-element list — only button and icon labels), this runs a transformer-based OCR model on the raw pixels and returns ALL the text. Use this when you need to: • Read terminal output • Read browser page body content (articles, docs, error messages) • Read dialog body text • Verify exact text that OmniParser's UI filter drops TWO MODES: • Default (include_coordinates=False): Nanonets OCR 2 returns structured markdown with preserved tables, code blocks, headings, and lists. Optimized for READING. • Opt-in (include_coordinates=True): EasyOCR returns per-line text + pixel centers. Optimized for CLICKING on something you read. Region defaults to the full screen. Pass x/y/width/height to OCR a sub-region. Coordinates in `lines[]` responses are always in full-screen pixel space, so the center values can be fed directly to a ``desktop_interact`` click action.
desktop_screenshotTake a screenshot of the VM's display and look at what is on screen. Returns three things: the frame itself as an inline image (downscaled only above 1280 px on the long edge — fleet VMs render 1280x800, so you normally see native pixels), the full-resolution URL, and OmniParser's list of detected UI elements with coordinates in the screenshot's NATIVE resolution. Feed an element's center straight into a ``desktop_interact`` click action. Works on the run's of-test-* VM and needs no guest agent: the frame is captured from the hypervisor's framebuffer, so it also works on a greeter, an installer, or a system whose session is broken. Look at the image before trusting the element list: OmniParser reports what it recognized, not what is on screen. Call this first to orient yourself.
desktop_speakSpeak text aloud on a desktop VM using text-to-speech. Generates speech via the XTTS service and plays it through the VM's audio output. Supports 17 languages and voice cloning.
desktop_start_recordingStart recording a VM's screen to a video file. Runs server-side on the libvirt capture path, so you can keep watching the VM's live VNC console and keep driving it with the desktop_* tools while it records. Returns a recording_id and a video_url (fetchable once stopped). Call desktop_stop_recording(recording_id) to finish.
desktop_stop_recordingStop a recording and finalize the video. Returns the fetchable video_url.
desktop_typeType text on your desktop, then return screenshot + elements. The text is typed into whatever field currently has focus. Click on an input field first if needed.
diff_walksCompute a diff between two walks. Joins states by content-addressed state_id and findings by dedup_key. Returns added/removed/changed states plus new/resolved/persistent findings, sorted by severity. Cached on first call so subsequent reads are instant.
disable_app_authDisable per-app auth. Doesn't touch the OF_AUTH_* env vars automatically — the operator should call set_app_env(delete=[ 'OF_AUTH_ISSUER', ...]) separately to fully clean up.
disable_app_ideStop code-server + remove the ide-<slug> gateway route. Idempotent — calling on an already-disabled IDE is a no-op.
disconnect_cloud_providerRemove a cloud connection and every account env var it projected. Cloud resources themselves are never touched.
enable_app_authProvision per-app OIDC auth + auto-publish ``OF_AUTH_*`` into env. M1 flow: 1. Verify caller owns the app 2. Service.enable() creates realm + client (stub mode by default) 3. App.auth block persisted (NO client_secret — that's in env only) 4. Publish OF_AUTH_ISSUER + OF_AUTH_CLIENT_ID + OF_AUTH_CLIENT_SECRET + OF_AUTH_JWKS_URL via the producer API 5. Return {realm, client_id, issuer_url, jwks_url, env_published, env_keys}. When OPENFACTORY_AUTH_PRODUCER_TOKEN is unset, returns client_secret + env_payload inline (one-shot — discard after use).
enable_app_ideEnable code-server (Web IDE) for the app. Returns the IDE URL at ``https://ide-<slug>.apps.openfactory.tech``. Always private + owner-only by spec (gateway-side enforcement lands in M1.5). Idempotent — calling on an already-running IDE returns the existing binding without re-provisioning.
ensure_lab_testerProvision an owned, lab-scoped browser VM from the platform's pinned tester. The tester uses only the named lab network and consumes the same account allocation. It is ephemeral; remove its node after retaining evidence.
ensure_tester_vmGet-or-create your desktop tester VM for an app (idempotent). ONE reused VM per app: call with app='<your app>' and you always get the same of-tester-<you>-<app> VM (the same one the app's test-run pool uses). Reuses it if running, restarts it if stopped, creates it from the pinned tester ISO (XFCE + Firefox) if missing. Ordinary testers do not autostart after host reboots and can be reclaimed by idle retention when unleased and unreferenced. Explicitly pinned warm-pool testers retain autostart and pool protection. Delete a tester explicitly with delete_vm when you no longer want it. Ephemeral by default (no persistence disk) so a fresh tester comes up fast and agent-ready within a typical tool-call timeout; pass persistence_gb>0 to add a Zone-2 disk whose contents survive reboots. Then drive it with desktop_open_url / desktop_screenshot / desktop_click etc., and record what you test with start_app_test.
enumerate_dom_linksList every clickable / interactive element on the active page via DevTools. Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Returns DOM-truth: every <a>, <button>, <form>, <input>, [role=button|link|tab|menuitem], [onclick], [data-testid] with css selector, accessible name, href, viewport flags, disabled flag, and bounding box in CSS pixels. Pair with desktop_screenshot (vision-based, returns what LOOKS clickable) for cross-check: enumerate_dom_links returns what IS clickable. The walker treats DOM enumeration as ground truth and OmniParser bboxes as pixel-coordinate hints.
finalize_build_planValidate and launch one complete authored plan; no prior submissions or buffer.
finish_app_testFinalize an app test run with its verdict.
finish_verification_sessionHand the current phase in. The platform seals its recording. Hands in the phase get_verification_session named. This is irreversible: once finishing is requested the phase cannot be cancelled or reopened. Finish only after walking every independent claim; bind each observed defect to a failed step and continue checking unrelated claims. If the build has an installed phase and you finish the LIVE phase with passed or failed, the platform installs the image to disk and boots it (status installing); poll get_verification_session until the installed phase is ready, show the claims again there, and finish it the same way. Finishing the live phase with error or skipped stops before installation. A failed phase still gets independent grading of its recording and native command facts; its valid checks stay passed, while the artifact cannot be certified. Otherwise the platform judges what was recorded. Poll get_verification_session for the verdict. A judged pass of every required phase and installation case can certify the build.
generate_lab_secretGenerate an encrypted, versioned lab credential; return only its reference. Existing names stage a new version. Explicit deployment references activate it after the application's credential rotation procedure. The owner reveals credentials through the authenticated console, never this MCP response.
get_appGet one app's full record (source, slug, status, deploy history).
get_app_auth_statusReturn the current auth binding for the app. NEVER returns the client_secret — use reveal_app_env(name='OF_AUTH_CLIENT_SECRET') if you need it (audited).
get_app_build_statusReturn the build/deploy status for an app plus live iteration-thread state — origin (brief + iterations), current URL, deploy history count, env version drift signal, and each in-flight change's status (queued/working/ done/failed) with the agent's result evidence. For general app inspection, use list_apps() / get_app().
get_app_deploy_statusPoll an immutable app variant through build, boot, health, and cutover.
get_app_ide_statusCurrent IDE binding for the app: enabled flag, URL, status, timestamps. Returns a default off-binding when never enabled.
get_app_scenarioGet a scenario's full definition, hardened cache, and last run.
get_app_templateFull manifest for one template: source git URL, runtime defaults, env-variable spec, declared services, rendered README.
get_app_test_groupLive status of a group re-run: per-scenario status, which VM each ran on, and pass/fail counts. Poll this until status is completed/cancelled/error.
get_app_test_runGet one app test run, including per-step verdicts and screenshot refs.
get_app_walkGet the full walk record: status, totals, states, transitions, findings.
get_browser_diagnosticsCapture browser diagnostics — console errors, failed requests, page health. Uses Chromium DevTools Protocol — Brave/Chromium tester VMs only (Firefox does not expose CDP at :9222). Snapshot mode (collect_duration_ms=0) returns the current page's URL, title, viewport metrics, performance timing, document size, ready state, and the contents of window.__ofErrors if a page hook has populated it. Live-collect mode keeps the CDP session open and captures Log entries (>= warning), console.error/warn calls, uncaught exceptions, network loading failures, and 4xx/5xx responses that fire during the window. Typical use from a walker: call right after a state transition with collect_duration_ms=2000 to capture errors triggered by the page settling.
get_buildGet full details of a specific build including its recipe. Use this to see the complete configuration of a build, including the recipe, packages, and all settings. Also returns the originating chat pointer (`conversation_id`, `conversation_title`) and the redacted user prompt (`originating_request`) when those were stored. `overall_status` is this build's own outcome and `build_goal_state` its goal's, as get_build_status describes.
get_build_evidenceRead what a build left behind: why it failed, and its diagnostic logs. `failed_hook` and `failure_excerpt` describe a failed image build. `evidence` holds the end of each log harvested from the build, such as of-firstrun-gui-session.log, of-firstrun-vm-phase.log, of-nspawn-boot.log and of-boot-session-results.txt; `file` selects one by name. These explain a build whose image was made but did not do something its recipe declared, which produces no test run. Empty evidence means nothing was harvested. `file` can instead name the build script this image uses, as source:fedora_build.sh, source:debian_build.sh, source:ubuntu_build.sh, source:opensuse_build.sh, source:arch_chroot.sh, source:elster_build.sh, source:proxmox_build.sh or source:build.sh, to see exactly which inputs it reads. The *_diagnostics fields summarize the platform's own side of the attempt in fixed categories. Reading changes nothing.
get_build_groupRead a build group's per-node child statuses (fresh, merged).
get_build_statusRead the current state of a build. `status` ready_to_build means the workspace is prepared and nothing has been compiled. `built` means the image exists; `test_status` says how its verification went, so a built image can have failed or errored there. `test_detail` and `error` carry the reason. `overall_status` is the build's own outcome: built_unverified means it is not certified. `decision_answers` holds answers to questions the build asked. After a failure, `failed_hook` names the hook that stopped the image and `failure_excerpt` shows its output. `diagnostic_next_tool` names the tool that explains the failure: get_test_results takes latest_test_run_id, and get_build_evidence takes the build_id.
get_checkpointFetch a single checkpoint (pending or resolved) by id. Used by the walker / runner to poll for the verdict on a checkpoint it created.
get_compute_allocationRead your purchased hosted allowance, own usage and remaining budget. Returns no physical host capacity or other customers. Allowance is not dedicated hardware availability. Free accounts can inspect this report. `image_allowance` is what the plan leaves of image attempts your own agent dispatches; a null limit means the plan does not cap them.
get_feature_referenceRead the feature library: what a feature installs and the hook that configures it. Without feature_ids it returns the index of features, optionally for one category. With feature_ids it returns each feature's definition (packages per distribution, repository and key), the verbatim text of its hook when it has one, and `companions`, the files that hook reads. A hook goes to hooks/live/NNNN-<feature>.chroot (NNNN-<feature>.hook.chroot on Debian and Elster) and a companion to hooks/live/<its exact name>, both with write_build_config. A hook that exits unless ENABLE_<FEATURE> is true needs `export ENABLE_<FEATURE>=true` after its first line. Keep the rest of a hook verbatim: it carries workarounds for the distribution.
get_fix_intentRead one FixIntent (status, target_file, suggested_patch, apply_result).
get_harness_skillFetch a packaged OpenFactory harness skill (instructions + references). Remote sessions have no filesystem access to this host, so the canonical skill markdown is served in-band. Follow the returned skill exactly as if it were installed locally. ``resources`` lists its companion files; a small skill's are included in ``references``. Pass one as ``resource_path`` to read that file alone. To keep long text within the client's response limit, pass ``resource_path`` and ``limit=12000`` and follow ``resource.next_offset``.
get_iso_download_urlGet artifact access details for a completed build. Returns a browser download URL when the caller has export access, or a structured account/Builder action when they do not. The build must be in a terminal 'built' or 'completed' status.
get_labRead one owned lab's nodes, private networks, secret metadata and evidence lineage.
get_lab_deploymentRead an owned lab role's private deployment status and pinned provenance.
get_obs_package_logReturn the tail of one package's OBS build log. The default is a bounded current snapshot, never a stream. Set last_completed=true to inspect the last finished native build even while dependencies have scheduled another one. It is historical diagnostic output, not proof that the current source is published. Counts describe that retrieved window, not the complete historical log. To find a failure outside the tail, supply repository, start_byte and literal search_text; next_byte_offset advances one bounded window, and matches include context. Preserve overlap when searching a string across adjacent byte windows. The tail is where a build log says why it failed; the head is boilerplate chroot setup. This returns lines only -- read them, decide what is wrong, fix the source in your repository, ``publish_internal_repository``, and resubmit the same project at the new revision.
get_obs_package_statusRead what OBS currently says about one package. One read, no waiting. Returns the raw per-repository/per-architecture rows plus a single collapsed ``status`` (``queued``, ``building``, ``succeeded``, ``failed``, ``unresolvable``, ``broken``) and whether the resulting APT repository is actually servable. ``succeeded`` and ``published`` are two different facts and this tool keeps them apart. OBS reports a package as built well before the publisher has written a signed index, and live-build's first ``apt-get update`` against a repository with no ``Release``/``Packages``/``Release.key`` is fatal. Only ``published: true`` means an ISO may pull from ``repo_url``. When the submission record carries the revision you asked for, ``published`` additionally requires binaries stamped with *that* revision to be in the index, so a stale prior build cannot look like your new one. Binary names come from that exact source revision's Debian manifest; all of them must be present with the expected revision, even when none shares its name. RPM/APK publication instead requires the exact uploaded source marker and clean, successful, published native results for every requested architecture, in addition to a servable native index. Old dirty or pending jobs never establish publication of a new submission. This tool never tells you what to do next. "queued" does not mean wait, "failed" does not mean regenerate -- you have the recipe, the source and the log, and the decision is yours.
get_pending_checkpointLong-poll for the oldest pending harness checkpoint visible to the caller. Returns ``{checkpoint: {...} | null, pending_count: int}``. The checkpoint's ``prompt`` + ``context`` (which includes proposed scenario_steps + finding + screenshot_url for mining checkpoints, or step_index + step_description for replay checkpoints) is what the harness should evaluate. Then call ``submit_scenario_checkpoint(checkpoint_id, verdict, …)`` to resume the paused walker / runner. Common harness loop: while walking: r = get_pending_checkpoint(walk_id=walk_id, wait_seconds=25) cp = r.get("checkpoint") if not cp: continue # Read screenshot URL, inspect proposed scenario, etc. verdict = "pass" if scenario_looks_solid else "fail" submit_scenario_checkpoint(cp["checkpoint_id"], verdict=verdict, notes=…)
get_platform_fixRead a platform fix record: status (running | implemented | staging | staged | landing | landed | failed | stage_failed | land_failed), commit, changed files, staging/prod URLs, error details.
get_recipeGet full details of a specific recipe. Returns the complete recipe including all packages, services, and configuration. Use this to understand what a recipe contains before using it as a template for a build.
get_recordingGet a recording's status + metadata (status, duration_ms, size_bytes, video_url).
get_test_evidenceRead complete retained test evidence in bounded pages, even after VM expiry.
get_test_resultsGet the results of a test run. Returns bounded individual assertion evidence, a deterministic failure classification, VM/snapshot information, and the exact next diagnostic tools. A failed run with ``results`` populated has usable evidence even when the optional legacy ``logs`` string is absent. Pages with verbose checks can contain fewer than ``limit`` entries. Follow ``next_offset``.
get_test_run_screenshotReturn an assertion frame, recorded final display, or resumed live display. This does not require a reachable guest agent. Use it to inspect visual evidence before deciding whether a failed assertion belongs to the image or to the verifier/platform.
get_verification_sessionRead your goal's verification session: its state, its VM, and what it is graded on. Your build is verified by ONE recorded session that you drive yourself, on the of-test-* VM named here. That `vm_name` is the `vm_name` argument of every desktop_screenshot, desktop_read_region, desktop_interact, desktop_open_url and guest_command call you make for this build — there is no other machine, and you do not create one. The one exception: a session started with browser_client=true names the platform's browser VM in `browser_client.vm_name` (with the image's `server_address`), for a web UI the image serves; drive it with the desktop tools and record its frames with record_verification_step(capture_vm='browser_client'). Driving your own build from an outside MCP client, pass its `build_id` to all four session tools; the platform judge grades your recording just the same. `status` is provisioning (the platform is booting the image), ready (drive it), installing (the platform is installing to disk; hands off), judging (handed in), or the terminal verdict passed/failed/error. `admission_pending` means the saved launch has no run record yet; retry the `diagnostic_next_tool` on the same image. Failed artifact finalization requires build_image before a verification launch can be admitted. In ready, `intent_items` lists the claims to show. Read additional pages by passing `next_intent_offset` as `intent_offset`. Record a step for each, passing its `id` in `intent_item_ids`. Each item's `rule` is how it is graded: platform (decided by the platform's own root check; a bound terminal frame is optional, shown beside the platform's result), evidence (one clear frame of it, and no later frame contradicting it, so the screen you finish on decides the no-dialog claim; a claim about how the desktop looks counts only as the desktop renders it, never as on-screen text naming the value), console (shown on the text console). A feature item's `assertion` is the check behind the claim -- its `type` and `params` name the package, command or path to show. `required` false means the judge not seeing this claim (insufficient) does not fail the run; a claim it sees contradicted still fails it. `seconds_remaining` and the budget are the platform's, not yours. `delivery` is the platform's current evidence-based decision on policy 2: verified, ready_with_limitations, or blocked. Ready with limitations can finish through complete_goal after disclosing all limitations; it grants no full certificate and never changes last_verdict. `interpretations` are the audited finite readings of vague owner preferences. During provisioning, installing and judging, `poll_after_seconds` tells you when to check again. The claims are returned when the phase is ready. `last_verdict` is None until the judge has graded the run; then it holds `overall`, the `termination` reason, `counts`, and the first claims that need attention with their `outcome`, `reason`, `missing` and `frames`. Use get_test_results for the full report. Certification requires a judged pass of every required phase and installation case on the current image. `sessions_left_on_this_artifact` is how many more judged sessions these exact bytes allow after this run (a run still open counts as one that will be judged; one the platform ends as an error is not charged). At 0 only a changed image can be verified again: start_verification_session refuses. It is None for a build-group node, whose group keeps its own count. `status` refused means the platform would not launch a session for this artifact at all: `refusal` holds the reason, the exact refusal text and the next step. Nothing will open until the image changes. A failed run can have no session because provisioning stopped first. `error_message` and `diagnostic_next_tool` then point to its evidence: inspect that run before deciding whether the image or platform needs repair. When its `failure_kind` is infrastructure the platform failed it, and `message` says what to do instead. `phase` is live or installed (installing between them). `installed_phase` says whether this build's admitted intent includes the installed system; when it is true the session has TWO phases on this one run: finish the live phase with finish_verification_session and the platform installs the image to disk and boots the installed system (`install` shows its progress; the VM refuses input meanwhile). Poll until status is ready again with phase installed, then show every listed claim again on the installed system -- the judge grades that recording separately -- and finish once more. Both phases must pass to certify. If `installed_phase` is false but the owner requires installation, use revise_verification_checklist to add required `phase: "installed_system"` checks with an enabled drivable installer. A textual installed claim with the default live phase does not schedule installation. This is the supported checklist revision path, and preserves existing checks and budgets. `status` artifact_check means a phone image, which has no session at all: `artifact_checks` are the sealed checks it is certified on, and `run_id` is the run complete_goal certifies. `status` no_verification_run means a Raspberry Pi image, which has neither: say so plainly in the chat and end your turn.
get_vm_console_urlGet the VNC console URL for a VM. Returns a URL that can be used to connect to the VM's graphical console.
get_vm_hardwareRead an owner VM's memory, CPUs, disk, display, guest-agent state and plan caps. Read-only. Use it before proposing a hardware change, and to explain to the owner what their VM has and what their plan allows.
get_vm_install_statusRead progress for an install-to-disk VM deployment.
get_walk_baselineGet the current baseline walk for an app (your own pin). Returns {baseline: null} if none set.
get_walk_summaryToken-bounded digest of a walked website: status + coverage, the site state tree (routes, titles, inbound actions, per-node finding counts), a findings digest (top by severity), a capability inventory (forms, inputs, internal/external links), a console/HTTP error rollup, the structural ``tree_hash``, and active-baseline status. Safe to call on any walk without blowing context (unlike the raw get_app_walk dump).
guest_commandRun commands and manage files on a VM via the QEMU guest agent. This tool provides direct access to VMs without SSH — it uses the QEMU guest agent to execute commands, read/write files, and manage systemd services. The VM must be running and have the guest agent installed. Use this for server administration, configuration, debugging, and automation tasks on VMs managed by OpenFactory.
inspect_boot_sequenceReturn the saved boot contact sheet and selected GRUB/Plymouth frames. Assertion-time evidence is a 0.5-second contact sheet of the native boot recording so the visual judge can see GRUB and Plymouth even when a single selected cell is firmware or a login TTY. Cells are large enough to read a GRUB menu, and the recorder follows guest GOP resizes instead of cropping to the 640x480 handshake. A recapture is diagnostic only: it adds frames and never revises the original assertion verdict. If the VM expired or now boots a different medium, rerun the same verification contract rather than substituting an unrelated VM.
inspect_installed_diskRead the disk a test run installed, while its VM is shut off. Use it when a run reports that the installed disk did not boot or that its guest agent never connected: the disk shows whether the installer wrote a bootable system (and whether that system then booted) or whether the fault is the platform's. It is read-only and never changes a verdict. Operations: ``summary`` (filesystems, what inspection mounted, /etc/os-release, /boot/efi/EFI, /boot/loader/entries); ``ls`` and ``cat`` of a path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d (``cat`` returns at most the last 64 KiB); ``journal`` (the installed system's last 400 journal entries). A running VM, or one the run no longer retains, is answered with a sentence. If a finished failed run's VM is still running, set ``quiesce_failed=True`` to stop that disposable test VM before inspection. Active tests are refused.
instantiate_app_templateCreate a new app from the template. Returns the new app_id + declared_services list. Caller chains add_app_database / add_app_bucket / enable_app_auth for any declared services, then deploy_app(app_id) to bake a fresh variant and bring the app live.
iterate_appDispatch a natural-language change to an app and have it applied for you. A repair agent reproduces, applies the change to the app deployed in its sandbox VM, redeploys, and verifies. Works on any app you own that has a git source. Poll ``get_app_build_status(app_id)`` for the live thread status (queued -> working -> done/failed). Persisting the change back to your git repo (via a connected GitHub integration) is a follow-up capability.
land_platform_fixLand a staged fix to production: verifies the green-scenario gate and that every commit names the fix that produced it (Openfactory-Goal), then pushes via the blessed pipeline (monorepo: ai-deploy; openfactory.tech: fast-forward main + push). Returns immediately — poll get_platform_fix until 'landed', wait out the deploy, then re-run the scenario against the production URL.
list_account_envList account-level env vars (shared defaults across all your apps). These flow into every app deploy BEFORE app-level vars (app overrides on collision). Use for shared secrets like a personal API key that multiple apps need. Returns ``{entries: [{name, value:"********", source, updated_at}]}``.
list_app_bucketsList buckets provisioned for an app (metadata only — no secret_keys).
list_app_databasesList databases provisioned for an app (metadata only — no passwords).
list_app_envList the app's env vars (masked — values returned as ``********``). Returns ``{entries: [{name, value:"********", source, producer, updated_at}], env_version, applied_env_version}``. Use ``reveal_app_env`` to decrypt a specific value (audited).
list_appsList your registered apps.
list_app_scenariosList your saved GUI test scenarios.
list_app_templatesBrowse the app-templates gallery. No auth required — templates are public read. Returns summaries (id, name, description, category, tags, declared_services). Fetch full manifests via get_app_template.
list_app_test_runsList app test runs (newest first), or the per-scenario verdict rollup. Use summary=True to compare results across runs/commits for each app_name + scenario pair.
list_app_walksList walks visible to the caller (own walks; admins see all).
list_build_configList the image code you have written for a build, and where you may write. ``authoring.mode`` says what this base allows: config (write_build_config works), recipe_only (its builder reads only the recipe) or not_available. ``authoring.writable_paths`` describes each place and what uses it. ``files`` are the files you wrote, with sha256, size and mode. The package list the platform derives from your recipe can be read too (``recipe_files``).
list_buildsList your OpenFactory builds. Returns a list of your builds with basic information like name, status, and features. Use get_build for full details including the recipe.
list_checkpointsList checkpoints for an app (newest first) + per-app storage usage.
list_cloud_instancesList cloud instances (EC2 / Compute Engine / Azure VMs) for your connected providers, normalized to one schema.
list_cloud_providersList your connected cloud providers (credentials always redacted).
list_fix_intentsList your FixIntents, newest first. Optional walk_id filter.
list_internal_repositoriesList the package source repositories you own.
list_labsList only your private labs, with their retained versioned declarations.
list_lab_secretsList owned lab credential names and versions without plaintext values.
list_recipe_categoriesList all available recipe categories. Returns categories with labels and descriptions to help find the right type of recipe.
list_recipesList available pre-built recipes. OpenFactory provides ready-to-use recipes for common use cases like healthcare systems, industrial automation, AI development, and more. Use search/category to narrow the result, offset for the next page, and get_recipe to see full details of a specific recipe. This tool never emits the entire catalog in one response.
list_recordingsList recordings for a VM, newest first.
list_test_runsList test runs for your builds. Returns test runs sorted by creation date (newest first).
list_vmsList your running VMs. Shows VMs created from your builds for testing. The response includes a session_token — pass it to subsequent tool calls.
list_walk_baselinesList every baseline pin you have across all your apps.
pause_labGracefully stop lab roles, retain data and report its tier-based expiry.
pin_checkpointPin a checkpoint so the retention reconciler never deletes it.
platform_fix_startStart a host-side platform-website fix: an ad-hoc git branch/worktree plus a host coding session that implements + commits the change (never pushes). Returns immediately — poll get_platform_fix(fix_id) until status is 'implemented' (then stage_platform_fix) or 'failed'.
prepare_harness_buildCreate a build + prepared worktree WITHOUT queueing the autonomous pipeline. Create-without-queue primitive for the interactive build terminal: the calling agent is the single driver and orchestrates the build itself, so this must be used instead of create_build (which would queue a second, autonomous pipeline over the same recipe). Pass ``platform_agent=True`` to buy out of that and have OpenFactory's own goal agent drive instead; it is the only way to get one here, and it needs a plan that includes it. When a conversation is bound, cancels that conversation's previous active interactive build first. It never cancels another unbound caller's build. It creates and persists the record, canonicalizes the recipe, prepares the primed worktree (deterministic distro and package inputs), and marks the build "building". No email notifications fire on this path — the user is present in the terminal. The returned ``agent_mode`` (author | report-only) governs authoring: report-only is the worker-owned pipelines only (pi-gen, pmbootstrap), whose ``configure()`` writes the config later, during ``build_image`` dispatch, so their agent authors nothing (``agent_mode_notice`` restates the rule). Every other worker returns author, because the preparation path is actuators only and the agent is the sole author of ``config/``. Returns: {build_id, worktree_path, branch_name, agent_mode, session_token}
propose_fixCreate a FixIntent for a walker Finding. M1 does NOT auto-generate a patch; the returned intent carries the finding context and the caller supplies the actual patch via apply_fix(). M2 wires LLM patch generation via Context.sample().
propose_vm_access_recoveryAsk the owner to set a new password for an account in their own VM. For an owner who has forgotten the password of the OS in their VM. The owner types the new password into the approval card, which sends it straight to the platform: it never reaches you, and you must never ask for it in the chat. Without a guest agent the VM restarts and the platform also installs the QEMU guest agent, so afterwards guest_command can run admin commands without the owner's password. The outcome arrives as your next input.
propose_vm_hardware_changeAsk the owner to approve a hardware change to their VM; you never make it. The platform checks the change first (plan, trial and capacity), then puts an approval card in this chat that says exactly what would change. The owner's answer arrives as your next input. A refusal comes back instead of a card: tell the owner once, with its manage_url when it has one, and do not retry it. Growing the disk does not grow the guest's partition or filesystem; do that with guest_command after it is applied.
publish_internal_repositoryPublish a repository's pending work to its main branch. Writes land on the work branch; this moves main to that tip in one step. Give branch to publish another branch instead. Packages are built from main.
query_build_knowledgeSearch OpenFactory's record of what has worked in real builds. Ask one focused question per concept ("time zone fedora", "branding debian", "users autologin gdm", "installer anaconda") or per failure text, one call at a time. A concept card comes back whole: the files that concept needs, with their content and the checks that prove them. `learned_rules` are verified rules for the build's base image and come with the first call for a build unless include_learned_rules asks for them. Use k=2 and include_learned_rules=false for a focused lookup. The read-only response is capped at 24 KiB before MCP encoding.
read_build_configRead one file you wrote into a build, or its recipe-derived package list. Text comes back as content; anything else as base64. At most 256 KiB is returned, with the full size in ``size_bytes``.
read_email_otpRead a 2FA / one-time code from a Composio-connected Gmail. Call this mid-test when a sign-in prompts for an emailed code: it polls the target user's recent Gmail (via Composio) for a matching message and returns {code}. Then type it with desktop_type. Requires an ACTIVE Composio Gmail connection for the target user.
record_app_test_stepRecord one step of the running app test, with server-side screenshot. A failed capture never loses the step — it is persisted with screenshot_error instead.
record_verification_stepAppend one narrated step to the platform's ledger for this session. The platform takes the screenshot, on the session's own VM, at this moment: you never supply the frame you are graded on. So put the subject on screen BEFORE you call this — close the menu you opened, raise the window, dismiss the dialog — because the judge samples the whole recording and an occluded frame proves nothing. Bind every step to the claim(s) it shows with `intent_item_ids`. Without them the judge has to guess which frame belongs to which claim from the words on screen. An id that is not one of this session's intent items is refused, with the valid ids. Goes to the session get_verification_session named, on that session's VM — you never choose the run. Budget-checked: when the session wall clock or the step count is spent, this refuses and the platform judges what was recorded.
remix_appFork a public+remixable app (or your own app regardless of flags). HARD security rule per spec: env values, secrets, DB contents, auth binding, checkpoints, and IDE state are NEVER copied — only the git_url + deployment_type + template lineage carry over. Set fresh secrets via set_app_env / provision fresh services via add_app_* after this returns.
request_user_decisionAsk the owner to choose, when only they can. `status` auto_defaulted means the question is already answered: build answer.option_id and go on. A minor question with a recommended option always comes back that way. `status` pending means a person has to answer: do the work that does not depend on it, then read get_build_status for decision_answers[<decision_id>]. scope="platform" reports a failure only OpenFactory can fix. It stops the build until an OpenFactory operator answers, so it is for when no other work is left. It is not needed for a failed verification run the platform caused: that costs nothing and the image can still be improved. Never ask the owner to waive a verification phase.
resume_labResume owned lab roles after verifying remaining allocation and network policy.
resume_test_environmentBring back the test VM of a completed run. Returns the `vm_name` of the of-test-* VM that run used, for looking at and probing the same machine the evidence came from. Resuming does not extend `retained_until`; after it the VM is gone and only a new run brings the environment back. A judged VM can go sooner, a day after its verdict or last use.
retry_buildRetry a failed build. Re-queues the build with the same recipe. Use this if a build failed due to a transient error.
reveal_account_envDecrypt and return a single account env var. Writes an audit entry.
reveal_app_envDecrypt and return a single app env var's plaintext value. Writes an audit entry recording the actor, app_id, name, and timestamp.
revise_verification_checklistChange which claims a build's verification is graded on, with a reason the owner sees. The claims get_verification_session lists were fixed when the build was admitted. You may add read-only checks for what you built, record what a vague preference means as concrete checks, tag checks for one firmware, and remove the checks of an application or game the owner never asked for, once it is out of the recipe and the package lists. When the owner asked against a feature, pass their exact words as owner_quote. owner_message_id cites the owner's latest chat message for this build when an inherited or superseded claim has to change; each corrected check is judged against everything the owner asked. For a whole new recipe, pass only owner_message_id and the reason after the new recipe is saved. Refused, with the reason per item: the owner's own request, platform, hygiene, installer, base image, security, compliance and reference-image claims, a feature still installed or that the owner named, an account the recipe creates, and a check a revision added. Nothing changes unless every requested change is allowed. Changes apply from the next session. At most three revisions that remove or replace checks; additions and firmware tags are free.
rollback_appBi-directional rollback. The service captures a pre-rollback safety checkpoint FIRST, then applies the rollback (stop unit → revert VM disk → restore DB → start → health check). Returns the safety cp's id so you can roll forward again if the rollback was a mistake. M1 stub mode: no real disk reverts (M1.5 wires real libvirt snapshots). Schema + state transitions are real — App.deploy_history gets a synthetic 'rolled-back to <SHA>' entry.
rotate_app_auth_secretGenerate a new client_secret + republish via producer API. M1 ships the rotation; old-secret grace window lands in M1.5 once the real provider adapter is wired.
run_all_app_scenariosKick off a batch run of every saved scenario for this app. Thin wrapper over the existing run_app_test_group(scope='app', app_name=...) primitive. Returns a batch_id pollable via get_app_test_group(batch_id).
run_app_scenarioRun a saved scenario in a VM and record the result as an app test run. First run = hardening (resolves each element via OmniParser, slow). Later runs replay from cache (fast) and only re-resolve steps whose UI changed. The response reports, per step, whether it was served from cache or parsed. Secrets (password, 2FA TOTP seed) are normally stored when the scenario is created and pulled from the key store automatically; pass `variables` only to override a value for this single run (substituted into ${VAR}/${totp:VAR}, never persisted).
run_app_test_groupRe-run a whole group of saved app-test scenarios in the background. Returns immediately with a batch_id; the scenarios replay on the app's tester-VM pool (multiple in parallel, one per free pool VM), each isolated with a fresh browser tab. Poll get_app_test_group(batch_id) for live progress, or cancel_app_test_group(batch_id). One batch per user at a time. Pass delay_hours (0-72) to defer the re-run up to 3 days: the call returns a 'scheduled' batch right away and the run fires automatically when its time arrives (durable across restarts). A scheduled batch does not block running other tests now, and cancel_app_test_group cancels it before it fires. Starting a batch requires a registered OpenFactory user authenticated with an MCP API key. Anonymous guest sessions may not schedule batch work.
run_fix_cyclePropose a fix cycle: create FixIntents for every blocker/major finding (or NEW since baseline if supplied), up to max_findings. M1 STUB — returns the plan without executing. Caller drives apply_fix() per intent. M2 auto-executes via LLM patch generation.
scale_tester_poolSet how many tester VMs an app keeps (explicit performance opt-in). The default is ONE VM per app. Raise `instances` to run more tests at the same time. Eagerly creates new instance VMs and deletes idle surplus ones to match; leased (in-use) instances are kept until they free up. Returns the resulting pool status.
seal_walk_baselineSeal a completed walk into an IMMUTABLE golden state tree and pin it as the active baseline for (you, app_name). Computes a structural ``tree_hash`` (comparable across walks) and a tamper-evidence ``content_hash``, then freezes the walk: its states, transitions, findings, and screenshots can no longer be modified or deleted, and the baseline history is append-only. This is the anchor ``check_walk_regression`` compares future walks against so agentic code changes can't silently break UX.
send_smsSend an SMS text message to a phone number. The platform automatically assigns a phone number from the shared pool. Use this for outreach, follow-ups, appointment reminders, or quick messages. The recipient will see the message from an OpenFactory-managed phone number and can reply — check replies with check_messages().
set_account_envUpsert/delete account-level env vars in a single transaction. These propagate into every subsequent app deploy you own (account vars are merged in BEFORE app vars, so app-level keys override account-level).
set_app_envUpsert and/or delete env vars on an app in a single transaction. Bumps ``app.env_version`` if any var actually changed; deploy_app picks up the new version on the next run (compare ``env_version`` to ``applied_env_version`` to see drift). At least one of ``set`` / ``delete`` required. Returns ``{env_version, redeploy_hint}``.
set_app_remixableToggle the remixable flag on your own app. Combined with visibility='public' (set via create_app or deploy_app), this opens your app up to forks from other users.
set_app_test_report_visibilityToggle whether a standalone app test report is publicly viewable.
set_lab_secretStore a supplied credential encrypted at rest; return its versioned reference.
set_vm_keep_runningKeep the owner's Live VM running while no one uses it, or turn that off. Use it only when the owner asks for a VM to stay on unattended (a server, a long job), or asks to turn that off; never on your own initiative. It takes effect at once.
set_walk_baselinePin a walk as the current baseline for an app. Subsequent walks can be diffed against this baseline. One baseline per (user, app_name).
ssh_test_identityProve key-only SSH login on a session VM with a session-scoped identity the platform provisions. The owner's requirement is sshd's policy -- public keys accepted, passwords and root refused -- not one particular key, and a verification cannot wait for the owner's own key: headless-pentest-debian (ae4fb901, 2026-10-20) parked for it with 41 of 45 checks passing. This is the one sanctioned change to a session VM: the platform generates an ed25519 key in the VM's tmpfs, authorizes it for `user`, and probes over loopback -- key login (a shell as the user), password login with keys disabled (refused), root login (refused) -- and reads sshd's effective settings. The key never enters the image; the disposable VM is the only place it exists. Record the returned facts in a verification step bound to the owner's SSH checks, with the same probes shown in a terminal frame when a claim's rule is `evidence`.
stage_platform_fixStage an implemented fix onto the local dev servers (the tester VM can reach the returned staging_url). Returns immediately — poll get_platform_fix until 'staged', then verify the repro + run the regression scenario against the staging URL.
start_app_testStart recording an app test run (one scenario execution). Drive the app with desktop_* tools yourself; after each meaningful step call record_app_test_step — the server captures the VM screen at that moment as evidence. Close with finish_app_test.
start_build_group_nodeStart ONE node's build in a conductor-driven build group (ordered fan-out). A multi-node conductor calls this per node, in dependency order, to start each node's autonomous build. Other nodes are untouched, so you control the order (e.g. bring up a router/switch or a shared base image before the nodes that depend on it). Monitor with get_build_group / get_build_status.
start_cloud_instanceStart a stopped cloud instance. Starting an instance incurs cloud charges on the connected account.
start_verification_sessionOpen a new verification session on the image a build already has. Use it to start the session build_image saved, after a session ended before the image was looked at, after the platform itself failed a run, or to present a claim again when the recorded evidence was wrong and the image is right. An image that really has a defect needs a fix and build_image, which opens its own session. Presenting unchanged evidence again to get a different grade is not a reason. Refused while a run of this build is still in flight, and once three sessions have judged these exact bytes. A session that ended as an error is not counted. When those three left claims insufficient but failed none, one more is allowed. One session covers the live and, when there is one, the installed phase. Poll get_verification_session until it is ready. boot_firmware opens a session on the firmware a check needs (Legacy BIOS or UEFI); each session is judged on the untagged checks and those of its firmware. disk_fixture="windows-uefi" puts an existing Windows on the disk. disk_read_mb_per_s slows the boot media for a claim about slow media. live_credential='platform' is for a live session whose lock screen needs a password the image never gave you. browser_client=true is for an image whose interface is a web page it serves (Proxmox, CasaOS, Cockpit, a router's admin page): the platform adds its own recorded browser VM on the session's private network, named in get_verification_session's browser_client.vm_name; record its frames with record_verification_step(capture_vm='browser_client').
start_vmStart a stopped VM.
stop_app_walkRequest cooperative cancellation. The explorer polls between actions.
stop_cloud_instanceStop a running cloud instance.
stop_vmStop a running VM. By default performs a graceful shutdown. Use force=True for immediate power off.
submit_obs_packageBuild one of your published internal repositories as a package. Returns once the source is accepted and does not wait for the compile: poll get_obs_package_status and read get_obs_package_log after a failure. The revision is resolved in what you published, so publish it first. When get_obs_package_status reports published true, add each binary package to os.custom_obs_packages in the recipe and build the image. build_dependencies names source packages already submitted for this build whose repositories are searched before the distribution's, closest first; repeat the list on each submission. build_preferences chooses at most 16 binary packages when a dependency has several providers; repeat it too. rebuild_policy="local" keeps a Debian source with archive-only build dependencies from being rebuilt when those change, and cannot be combined with build_dependencies.
submit_scenario_checkpointSubmit a verdict for a paused checkpoint. The waiting walker / runner's next poll picks it up and resumes. Returns the resolved checkpoint record.
terminate_cloud_instancePERMANENTLY terminate a cloud instance. Irreversible; requires confirm=true.
test_cloud_providerRe-validate a cloud connection against the live provider API and refresh its status.
test_workflowAutonomously TEST a GUI workflow and report whether it works. OpenFactory's AI drives the tester VM (sees the screen, clicks/types) toward your goal, recording each step to the app-test harness with video. This spends platform AI and is metered against your plan's AI allowance; it is refused once that allowance is used. To use your own model instead, drive the VM yourself with desktop_screenshot / desktop_interact. ASYNC BY DEFAULT: this returns right away with a run_id while the AI keeps driving the VM in the background, so your MCP client's call never blocks/times out. Poll get_app_test_run(run_id) — when status flips to passed/failed/error the run.verdict_notes holds the verdict and run.video has the recording. Pass wait=true to block for the verdict inline instead (short workflows only). Run ensure_tester_vm first, and make sure the app is reachable from the VM.
update_build_recipeReplace a build's canonical recipe and graph. Validates and canonicalizes the complete recipe. The resulting immutable recipe revision is also the console graph's source, so graph changes are visible immediately without a second write. Topology and test edits do NOT rebuild the image; changes to os.features / packages / services take effect on the next ``build_image`` attempt. The response reports ``recipe_hash_before``/``recipe_hash_after`` and ``changed``. ``changed: false`` means this call stored the same document that was already there — it is not a repair, and rebuilding from it produces the same image.
validate_recipeValidate a recipe without creating a build.
walk_appAutonomously walk a web dashboard and record what's there + what breaks. Opens ``app_url`` in the tester VM's browser, then BFS-walks every interactive control it finds (clicks each in turn), deduping UI states by fingerprint (route_template + dom_signature). For each visited state it captures a screenshot, the DOM-truth interactive-element list, and any console / network errors that fire during the post-action settle window. Findings are persisted with severity (blocker/major/minor/info) and deduped by message — repeat errors collapse to one record. Returns IMMEDIATELY with the walk_id; the actual walk runs in a background asyncio task. Poll ``get_app_walk(walk_id)`` to watch progress, or ``stop_app_walk(walk_id)`` to cancel. M2 scope: mechanical BFS only — no AI mode, no auth flow, no checkpoints, no scenario emission (those come in M3/M4/M4.5/M2.D). The tester VM browser MUST be Chromium-class (Brave/Chromium/Chrome/Edge) — Firefox does not expose CDP at :9222 and the walker hard-fails on snapshot.
walk_findings_to_ticketsSerialize a walk's findings into ticket payloads ready to POST to Linear / Jira / GitHub. Returns the JSON body each system expects; the operator (or a follow-up MCP webhook in M2) handles the actual POST.
walk_recursive_reportRecursive BFS-tree view of a walk's UI state graph. Each node carries route_template, depth, finding counts, and (if a baseline is provided) its NEW/UNCHANGED/REMOVED/CHANGED status.
walk_siteAutonomously walk a website and bring back a structured map of it. BFS-walks every interactive control from ``url`` on a Chromium tester VM, deduping UI states by fingerprint, recording a content-addressed state tree plus per-state screenshots, DOM-truth elements, and any console / network errors. Runs in ``mechanical`` mode so the resulting tree is deterministic and comparable across runs (the basis of the regression gate). ``vm_name`` is optional — omit it and a Chromium tester is leased (and cold-booted if needed) automatically. With ``wait_seconds`` > 0 the tool blocks up to that long and returns the walk summary inline if it finishes; otherwise it returns the ``walk_id`` to poll with ``get_walk_summary``. Workflow: walk_site → get_walk_summary → seal_walk_baseline → (after code changes) walk_site again → check_walk_regression.
write_build_configWrite image code into a build: files for the image, hooks, package lists, repositories. This is how everything a recipe does not deliver reaches the image: time zone, users, services, desktop settings, wallpaper, kernel arguments, any configuration file. Files under includes.chroot/ are copied into the image at the same absolute path (on Debian and Elster a hook writes them), and scripts under hooks/ run as root inside the image while it is built. On Fedora, Ubuntu and Debian a boot-session/NN-name.json and NN-name.sh boot a throwaway copy of the image with network while it is built, run the script in it and keep the paths the declaration names: that is how Flatpaks and apps that only finish installing in a running system are in the image offline. The change overwrites each path in ``files`` and removes each path in ``delete``, all or nothing. It is used by the next build_image; it does not change an image already built. At most 500 paths and 4 MiB per call. list_build_config names the places this build's base accepts, and a refused path says what to do instead. Never include passwords, keys or tokens: everyone who gets the image can read them. Run check_image_inputs afterwards, then build_image.
write_internal_repositoryCommit files into an attached internal repository over MCP. This is the write path for a caller with no shell on this host. Commits land on the repository's ``work`` branch and NEVER on ``main``: ``main`` is what OBS builds and what an ISO installs, and it only moves when you call ``publish_internal_repository``. Each call adds ONE commit on top of the current ``work`` tip and amends no earlier commit. That commit overwrites each path in ``files`` and removes each path in ``delete``, so send only the files that change. ``base_revision`` is how you reconcile with a ``main`` that moved: pass ``'main'`` to restart ``work`` from the published tip, discarding ``work`` commits that were never published, and re-apply these files on top of it. Pass a SHA to make the write conditional on ``work`` still being where you last saw it.

Schemas: list_tools.

Prompts and resources (2 prompts)

Prompts

build_until_verifiedBuild until verified. Builds an OpenFactory image and keeps fixing and rebuilding it until its verification passes.
replicate_this_machineReplicate this machine. Builds a verified, bootable OpenFactory ISO that replicates this machine's operating system.

Definitions only, never their content. Full lists: prompts, resources.

Similar MCP servers

Official server.json
{
  "name": "tech.openfactory/openfactory",
  "title": "OpenFactory",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://console.openfactory.tech/api/mcp-stream/plugin/mcp",
      "type": "streamable-http"
    },
    {
      "url": "https://console.openfactory.tech/mcp-stream/mcp",
      "type": "streamable-http",
      "headers": [
        {
          "name": "Authorization",
          "isSecret": true,
          "description": "Optional: Bearer of_mcp_… OpenFactory MCP key for the full tool set; omit to run as a guest"
        }
      ]
    }
  ],
  "version": "1.0.8",
  "repository": {
    "url": "https://github.com/openFactory-ai/openfactory-codex-plugin",
    "source": "github"
  },
  "websiteUrl": "https://docs.openfactory.tech/en/reference/mcp",
  "description": "Build custom Linux OS images from recipes and test them in VMs with your OpenFactory account."
}