L'Atlas / Serveurs MCP / OpenFactory

OpenFactory

tech.openfactory/openfactory

Serveur MCP OK

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
openfactory.tech (espace de noms du registre)
Dépôt
github.com/openFactory-ai/openfactory-codex-plugin
Site
docs.openfactory.tech/en/reference/mcp
Version
1.0.8
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://console.openfactory.tech/api/mcp-stream/plugin/mcp Streamable HTTP
https://console.openfactory.tech/mcp-stream/mcp Streamable HTTP
Outils
192
Catégories
Images, audio et vidéo
Dernière mise à jour
24 nov. 2026
Publication
24 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/tech.openfactory/openfactory.svg)](https://latlas.dev/mcp/tech.openfactory/openfactory)
HTML
<a href="https://latlas.dev/mcp/tech.openfactory/openfactory"><img src="https://latlas.dev/badge/fiche/tech.openfactory/openfactory.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://console.openfactory.tech/api/mcp-stream/plugin/mcp
Dernier résultat
OAuth requis 28 nov. 2026, 10:59 OAuth annoncé (WWW-Authenticate resource_metadata)

Adresse
https://console.openfactory.tech/mcp-stream/mcp
Dernier résultat
OK 28 nov. 2026, 11:14
Temps de réponse
2 131 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
OpenFactory 3.2.0
Outils
192

Historique

DateAdresseRésultatRéponseOutils
28 nov. 2026, 11:14console.openfactory.tech/mcp-stream/mcpOK2 131 ms192
28 nov. 2026, 10:59console.openfactory.tech/api/mcp-stream/plugin/mcpOAuth requis624 ms—

Outils exposés (192, réponse à tools/list, 28 nov. 2026)

list_builds

List 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.

ParamètreTypeRequisDescription
status_filterstring | nullnonFilter by status: queued, ready_to_build, building, built, failed
limitintegernonMaximum number of builds to return
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_build

Get 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.

ParamètreTypeRequisDescription
build_idstringouiThe build ID to retrieve
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_build_status

Read 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.

ParamètreTypeRequisDescription
build_idstringouiThe build ID to check
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_build_evidence

Read 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.

ParamètreTypeRequisDescription
build_idstringouiThe build whose harvested build-script evidence to read.
filestring | nullnonOne evidence file to return, by the exact name listed in `files` (e.g. of-firstrun-gui-session.log). Omit to get all of them. Explicit source: (e.g. source:fedora_build.sh) reads only a supported current build entrypoint, never arbitrary files.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

create_build

Create 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}} ] } }

ParamètreTypeRequisDescription
recipestring | objectouiThe build recipe as a JSON object (or a JSON string). Required fields: - name: Name for the build - base_image: Base OS (e.g., "ubuntu-26.04", "debian-trixie", "fedora-39" through "fedora-44", "elster-os") Optional fields: - use_case: Primary use case (e.g., "Development", "Research", "Production s…
promptstring | nullnonThe natural-language request this recipe came from, if there was one. Seeded as the opening user message of the build's chat, so the chat shows what was actually asked for rather than just the generated recipe.
create_chatbooleannonCreate a chat for this build, seeded with the prompt and a recipe card, and link it so the build is reachable from the sidebar and opens the build panel. Leave on unless you're generating bulk/QA builds that would spam the chat list.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)
installer_choicestring | nullnonWhen the installer combo is not yet supported: native, openfactory-installer, calamares, or live_only. If omitted and the combo is uncovered, this tool returns needs_input with a question.
themestring | nullnonAn Omarchy theme id (GET /api/catalog/themes lists them, e.g. tokyo-night). It is recorded as the owner's choice and verified on the finished image; the recipe must apply it (GET /api/catalog/themes/{id} has its palette and bundle). Refused for firmware built by its own tooling (OpenWrt, Zephyr, Gr…
platform_agentbooleannonHave OpenFactory's own goal agent drive this build. It spends your plan's platform AI allowance and is metered against it. Omit it and YOU drive the build with your own model (build_image, then its verification session through get_verification_session).

create_build_from_prompt

Start 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.

ParamètreTypeRequisDescription
promptstringouiOne sentence describing the image you want, exactly as you would type it into the OpenFactory chat. Example: 'a Fedora 42 workstation ISO with an NVIDIA boot splash and docker preinstalled'.
installer_choicestring | nullnonHow the image should install to disk when that matters: native, openfactory-installer, calamares, or live_only.
themestring | nullnonAn Omarchy theme id (GET /api/catalog/themes lists them, e.g. tokyo-night). The build agent applies it and the finished image is verified against it. Firmware built by its own tooling (OpenWrt, Zephyr, GrapheneOS) takes no theme.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_iso_download_url

Get 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.

ParamètreTypeRequisDescription
build_idstringouiThe build ID
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

retry_build

Retry a failed build. Re-queues the build with the same recipe. Use this if a build failed due to a transient error.

ParamètreTypeRequisDescription
build_idstringouiThe build ID to retry
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

update_build_recipe

Replace 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.

ParamètreTypeRequisDescription
build_idstringouiThe build/variant whose recipe to replace
recipestring | objectouiThe COMPLETE updated recipe JSON (or a JSON string). Fetch the current recipe from describe_openfactory_workspace first, modify it, and pass the whole document back — partial recipes will drop the omitted sections.
version_notestring | nullnonShort note describing the change (shown in version history)
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

list_recipes

List 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.

ParamètreTypeRequisDescription
categorystring | nullnonFilter by category: healthcare, industrial, education, municipal, research, ai-development
searchstring | nullnonSearch term to filter recipes by name or description
limitintegernonMaximum summaries to return (default 20, maximum 50).
offsetintegernonZero-based catalog offset; add limit to request the next page.
session_tokenstring | nullnonOptional continuity token returned by other OpenFactory tools.

list_recipe_categories

List all available recipe categories. Returns categories with labels and descriptions to help find the right type of recipe.

ParamètreTypeRequisDescription
session_tokenstring | nullnonOptional continuity token returned by other OpenFactory tools.

get_recipe

Get 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.

ParamètreTypeRequisDescription
recipe_idstringouiThe recipe ID (name) to retrieve
session_tokenstring | nullnonOptional continuity token returned by other OpenFactory tools.

validate_recipe

Validate a recipe without creating a build.

ParamètreTypeRequisDescription
recipestring | objectouiThe recipe as a JSON object (or a JSON string) to validate
session_tokenstring | nullnonOptional continuity token returned by other OpenFactory tools.

create_recipe_from_template

Create 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.

ParamètreTypeRequisDescription
template_idstringouiThe recipe template ID to use as base
namestringouiName for the new recipe
modificationsstring | object | nullnonCanonical recipe fields to merge into the template. Put OS settings such as features, packages, services, networking, and security under os.
session_tokenstring | nullnonOptional continuity token returned by other OpenFactory tools.

get_test_results

Get 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``.

ParamètreTypeRequisDescription
run_idstringouiThe test run ID
offsetintegernonAssertion offset in failure-first order
limitintegernonMaximum assertions per page; use next_offset for long pages and get_test_evidence for full output
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_test_evidence

Read complete retained test evidence in bounded pages, even after VM expiry.

ParamètreTypeRequisDescription
run_idstringouiTest run whose saved evidence should be read
evidence_idstringnonEvidence ID from get_test_results; index lists all retained evidence
offsetintegernonCharacter offset in redacted evidence
limitintegernonMaximum characters to return
session_tokenstring | nullnon
api_keystring | nullnon

get_test_run_screenshot

Return 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.

ParamètreTypeRequisDescription
run_idstringouiThe test run ID whose final/live display to inspect
assertion_idstring | nullnonOptional results[].screenshot_id for the exact per-assertion frame; for v2, a listed v2-step-* or v2-final frame is also accepted; omit for the run's final/live display
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

resume_test_environment

Bring 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.

ParamètreTypeRequisDescription
run_idstringouiThe completed test run whose retained VM snapshot to resume
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

inspect_boot_sequence

Return 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.

ParamètreTypeRequisDescription
run_idstringouiTest run whose early boot screens to inspect
surfacestringnonBoot medium: live or installed
recapturebooleannonReboot the exact retained test VM and save fresh frames; false reads the assertion-time evidence without touching the VM
session_tokenstring | nullnon
api_keystring | nullnon

inspect_installed_disk

Read 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.

ParamètreTypeRequisDescription
run_idstringouiTest run whose installed disk to read
operationenum: "summary" | "ls" | "cat" | "journal"nonsummary, ls, cat or journal
pathstring | nullnonFor ls/cat: an absolute path under /boot, /etc, /var/log, /usr/lib/systemd or /usr/lib/udev/rules.d
vm_idstring | nullnonLogical VM of the run; defaults to primary
quiesce_failedbooleannonStop a still-running VM only after its test finished failed/error, then inspect its disk read-only. Active tests and passing VMs are refused.
session_tokenstring | nullnon
api_keystring | nullnon

list_test_runs

List test runs for your builds. Returns test runs sorted by creation date (newest first).

ParamètreTypeRequisDescription
build_idstring | nullnonFilter by build ID
limitintegernonMaximum number of runs to return
offsetintegernonOffset among authorized runs
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

list_vms

List your running VMs. Shows VMs created from your builds for testing. The response includes a session_token — pass it to subsequent tool calls.

ParamètreTypeRequisDescription
build_idstring | nullnonFilter by build ID
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

create_vm

Create a VM from a built image, using the ARM preview for a PinePhone build. Creates and starts a new VM running the built image.

ParamètreTypeRequisDescription
build_idstringouiThe build ID to create a VM from
namestring | nullnonOptional name for the VM
lab_idstring | nullnonOwned private lab; never a host/network identifier
lab_node_idstring | nullnonStable logical lab role name
networksarray<string> | nullnonLogical networks belonging to this lab
memory_mbintegernonVM memory in MB
vcpusintegernonNumber of virtual CPUs
disk_size_gbintegernonPrimary VM disk size in GB
storage_devicesarray<object> | nullnonOptional extra VM disks/controllers, such as generated NVMe disks
auto_installbooleannonInstall the built ISO to the primary disk and reboot into the installed system instead of leaving the VM on live media
installer_methodstring | nullnonOptional registered install strategy override, such as guest_agent for the OpenFactory Installer compatibility route
installer_typestring | nullnonThe recipe's declared installer ("calamares", "anaconda"). Required with auto_install for a general-purpose desktop image; without it only appliance ISOs resolve an installer
base_imagestring | nullnonBase image slug such as fedora-43, so release-specific installer steps match the release actually being installed
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_vm_install_status

Read progress for an install-to-disk VM deployment.

ParamètreTypeRequisDescription
install_job_idstringouiInstall job ID returned by create_vm
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

start_vm

Start a stopped VM.

ParamètreTypeRequisDescription
vm_namestringouiThe VM name to start
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

stop_vm

Stop a running VM. By default performs a graceful shutdown. Use force=True for immediate power off.

ParamètreTypeRequisDescription
vm_namestringouiThe VM name to stop
forcebooleannonForce stop (power off) instead of graceful shutdown
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

delete_vm

Delete a VM. Stops and removes the VM and its associated resources.

ParamètreTypeRequisDescription
vm_namestringouiThe VM name to delete
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_vm_console_url

Get the VNC console URL for a VM. Returns a URL that can be used to connect to the VM's graphical console.

ParamètreTypeRequisDescription
vm_namestringouiThe VM name
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

guest_command

Run 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.

ParamètreTypeRequisDescription
vm_namestringouiVM name or UUID to run the guest-agent command on. For a build goal this is the of-test-* VM that booted your image: use the vm_name returned by resume_test_environment, or vms[].vm_name / environment.snapshot.vm_name from get_test_results.
actionstringnonLegacy JSON action object. Preferred usage is the structured fields below (`type`, `command`, `script`, etc.). Supported types: {"type": "ping"} — Check if guest agent is available {"type": "exec", "command": "ls -la /tmp"} — Run a shell command (optional: "timeout": 60) {"type": "exec", "script":…
typestring | nullnonPreferred structured action type. Supported values: `ping`, `exec`, `file_read`, `file_write`, `systemd_status`, `systemd_action`.
commandstring | nullnonShell command for `type="exec"`. Use `script` instead for multiline or complex shell work.
scriptstring | nullnonMultiline bash script for `type="exec"`. The server stages it in the guest and runs it, which avoids nested JSON and shell escaping.
pathstring | nullnonPath for `file_read` or `file_write`.
contentstring | nullnonText content for `type="file_write"`.
content_b64string | nullnonBase64-encoded file content for `type="file_write"`. Use this when you need exact bytes.
servicestring | nullnonSystemd service name for `systemd_status` or `systemd_action`.
service_actionstring | nullnonService action for `type="systemd_action"`: `start`, `stop`, `restart`, `enable`, `disable`, or `reload`.
timeoutintegernonTimeout in seconds for `type="exec"` or the legacy JSON action.
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

ssh_test_identity

Prove 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`.

ParamètreTypeRequisDescription
vm_namestringouiThe of-test-* session VM that booted your image: the vm_name returned by resume_test_environment, or vms[].vm_name / environment.snapshot.vm_name from get_test_results.
userstringouiThe login user whose key-only SSH access the owner asked for.
session_tokenstring | nullnonGuest session token from a previous response (anonymous callers).
api_keystring | nullnonOpenFactory MCP API key (registered callers).

get_vm_hardware

Read 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.

ParamètreTypeRequisDescription
vm_namestringouiName of the owner's VM, e.g. of-deploy-…
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

propose_vm_hardware_change

Ask 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.

ParamètreTypeRequisDescription
vm_namestringouiName of the owner's VM to change, e.g. of-deploy-…
reasonstringouiOne plain sentence on why the owner needs this; shown on the card as your reason.
memory_mbinteger | nullnonNew memory in MB
vcpusinteger | nullnonNew number of virtual CPUs
disk_gbinteger | nullnonNew primary disk size in GB (grow only)
displayenum: "standard" | "accelerated" | nullnonstandard, or accelerated (shared GPU)

propose_vm_access_recovery

Ask 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.

ParamètreTypeRequisDescription
vm_namestringouiName of the owner's VM they are locked out of, e.g. of-deploy-…
reasonstringouiOne plain sentence on why; shown on the card as your reason.
username_hintstring | nullnonThe login name you saw in the VM (prefilled on the card; the owner can change it)

set_vm_keep_running

Keep 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.

ParamètreTypeRequisDescription
vm_namestringouiName of the owner's Live VM, e.g. of-deploy-…
keep_runningbooleanouitrue keeps the VM on while no one uses it; false lets it stop again when idle
reasonstringouiOne plain sentence on what the owner asked for; recorded with the change.
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

send_sms

Send 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().

ParamètreTypeRequisDescription
tostringouiRecipient phone number in E.164 format (e.g., +15551234567)
messagestringouiSMS message body. Keep under 1600 characters.
session_tokenstring | nullnonSession token from a previous tool response for session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

call_phone

Place 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.

ParamètreTypeRequisDescription
tostringouiPhone number to call in E.164 format (e.g., +15551234567)
contextstringouiBackground context for the call. Include: who you're calling, why, what you know about them, your name/role for the call. Example: 'Calling John at ABC Motors about a 2019 Honda Civic listed on Craigslist for $15,000. I'm interested in buying it.'
goalstringouiWhat you want to achieve on this call. Be specific. Example: 'Confirm the car is still available, ask about condition, negotiate price down to $12,000, schedule a test drive.'
session_tokenstring | nullnonSession token from a previous tool response for session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

check_messages

Check 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.

ParamètreTypeRequisDescription
limitintegernonMaximum number of messages to return (default 20)
session_tokenstring | nullnonSession token from a previous tool response for session continuity.
api_keystring | nullnonYour OpenFactory MCP API key (optional)

desktop_screenshot

Take 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

annotate_screenshot

Capture 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
boxesstringouiJSON array of highlight boxes to draw, in PIXEL coordinates at the screenshot's native resolution. Each box: {"x1":int,"y1":int,"x2":int,"y2":int,"label"?:str,"color"?:"#rrggbb"}. To box a UI element, pass its bbox [x1,y1,x2,y2] straight from a prior desktop_screenshot element. Default color is gre…
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_click

Click 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
xintegerouiX coordinate to click (from element's center[0])
yintegerouiY coordinate to click (from element's center[1])
buttonintegernonMouse button: 0=left (default), 2=right
doublebooleannonDouble-click instead of single click
screenshot_delaynumbernonSeconds to wait after clicking before taking screenshot (default: 0.15). Increase for actions that trigger animations or dropdowns.
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_drag

Drag-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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
xintegerouiStart X — where to grab (from the element's center[0])
yintegerouiStart Y — where to grab (from the element's center[1])
end_xintegerouiEnd X — where to drop
end_yintegerouiEnd Y — where to drop
screenshot_delaynumbernonSeconds to wait after the drop before screenshotting (default 0.3). Increase for drops that animate/relayout.
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_type

Type 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
textstringouiText to type into the currently focused field
press_enterbooleannonPress Enter after typing (useful for search bars, URL bars)
screenshot_delaynumbernonSeconds to wait after typing before taking screenshot (default: 0.15).
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_key

Press 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).

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
keystringouiKey or key combination to press. Examples: 'Return', 'Tab', 'Escape', 'ctrl+l', 'ctrl+c', 'alt+F4', 'ctrl+shift+t'
screenshot_delaynumbernonSeconds to wait after key press before taking screenshot (default: 0.15).
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_close_tab

Close 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
screenshot_delaynumbernonSeconds to wait after closing the active browser tab before taking a screenshot.
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_open_url

Open 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
urlstringouiURL to open in Brave (e.g., 'https://example.com')
wait_secondsintegernonSeconds to wait for page to load before taking screenshot (default: 5)
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
max_tabsintegernonCap on simultaneous browser tabs. When opening would exceed this, the oldest tab opened by us is closed first (FIFO). Set to 0 to disable. Default: 10.
zoomnumber | nullnonBrowser zoom (1.0 = 100%, 0.8 = 80%). Leave unset for smart per-app defaults — dense dashboards like the cto-gui topology graph open at 80% so more fits on screen. Pass an explicit value to override, e.g. 0.8 to zoom out or 1.0 to force 100%.
include_perfbooleannonInclude per-stage timing metrics in the response.
mobilenullnonOpen in mobile view. true = iPhone (390x844@3 + mobile UA + touch); or a preset name: 'iphone', 'iphone-se', 'android', 'ipad'; or an object {preset?, width?, height?, device_scale_factor?, user_agent?}. The choice sticks to this VM, so later desktop_screenshot and desktop_interact calls stay in mo…
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_interact

Execute 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 wa…

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
actionsstringouiJSON array of actions to execute sequentially. Each action is an object with a "type" field. Supported types: {"type": "click", "x": 500, "y": 300} — left click {"type": "double_click", "x": 500, "y": 300} — double click {"type": "right_click", "x": 500, "y": 300} — right click {"type": "move", "x"…
screenshot_delaynumbernonSeconds to wait after all actions before taking screenshot (default: 0.15).
response_modestringnonResponse detail: full (inline frame + URL + UI elements), screenshot (inline frame + URL, skip OmniParser), preview (small inline JPEG + original screenshot URL, skip OmniParser), none (no capture; blind action only).
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_read_region

Run 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.

ParamètreTypeRequisDescription
vm_namestringouiVM to drive. For a graph launch use its returned of-deploy-* vm_name. For image verification use the of-test-* vm_name returned by resume_test_environment or vms[].vm_name / environment.snapshot.vm_name from get_test_results. For app testing use your own of-desktop-* or of-tester-* VM.
xintegernonTop-left X of region in pixels (default: 0)
yintegernonTop-left Y of region in pixels (default: 0)
widthintegernonRegion width in pixels. -1 (default) means 'to the right edge'.
heightintegernonRegion height in pixels. -1 (default) means 'to the bottom edge'.
include_coordinatesbooleannonIf False (default): use Nanonets OCR 2 and return STRUCTURED MARKDOWN of everything on screen — best for reading terminal output, articles, logs, dialog body text. Markdown preserves tables, code blocks, headings. If True: use EasyOCR and return per-line {text, center, confidence} with screen-space…
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_listen

Listen 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.

ParamètreTypeRequisDescription
vm_namestringouiDesktop VM name (of-desktop-*)
actionstringouiJSON action. Types: {"type":"start"} — begin continuous listening, {"type":"stop"} — stop listening, {"type":"transcript","since_minutes":5} — get recent transcript, {"type":"snapshot","duration":10} — capture N seconds and transcribe now
session_tokenstring | nullnonSession token from a previous tool call
api_keystring | nullnonAPI key for authentication

desktop_speak

Speak 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.

ParamètreTypeRequisDescription
vm_namestringouiDesktop VM name (of-desktop-*)
textstringouiText to speak aloud on the VM
languagestringnonLanguage code: en, de, fr, es, it, pt, pl, tr, ru, nl, cs, ar, zh-cn, ja, hu, ko, hi
speakerstringnonSpeaker voice profile name
session_tokenstring | nullnonSession token from a previous tool call
api_keystring | nullnonAPI key for authentication

authenticate_tester

Log 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.

ParamètreTypeRequisDescription
vm_namestringouiYour tester VM name (starts with 'of-tester-').
target_urlstringouiThe login-walled OpenFactory platform URL you are about to reproduce on, e.g. https://console.openfactory.tech. Must be an *.openfactory.tech site.
include_perfbooleannonInclude timing metrics.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

enumerate_dom_links

List 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 , , , , [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.

ParamètreTypeRequisDescription
vm_namestringouiYour tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-')
tab_filterstring | nullnonOptional URL prefix to pick which browser tab to query. Defaults to the most-recently-active page tab.
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_browser_diagnostics

Capture 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.

ParamètreTypeRequisDescription
vm_namestringouiYour tester/desktop VM name (starts with 'of-tester-' or 'of-desktop-')
collect_duration_msintegernonIf > 0, keep the DevTools session open for this many ms collecting console errors, exceptions, and failed network requests. 0 = snapshot only (no live collection). Clamped to [0, 10000].
tab_filterstring | nullnonOptional URL prefix to pick which browser tab to query.
include_perfbooleannonInclude per-stage timing metrics in the response.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

ensure_tester_vm

Get-or-create your desktop tester VM for an app (idempotent). ONE reused VM per app: call with app=' ' and you always get the same of-tester- - 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.

ParamètreTypeRequisDescription
lab_idstring | nullnonOwned private lab; selects a fresh lab-scoped tester rather than an app pool
lab_network_idstring | nullnonLogical tester network belonging to that lab
appstring | nullnonApp this tester is for, e.g. 'knostra'. Identity is tied to the app's URL host (see app_url): you get ONE reused VM per app/host, shared with that app's test-run pool — the same app always returns the same VM. To run more tests at once, scale the app's pool with scale_tester_pool instead of creatin…
app_urlstring | nullnonThe app's URL, e.g. 'https://staging.knostra.ai'. The tester VM is keyed by this URL's host so every run for the same app/env reuses ONE VM. Pass it whenever known; falls back to keying by `app` when omitted.
memory_mbintegernonVM memory in MB (create only)
vcpusintegernonVirtual CPUs (create only)
persistence_gbintegernonZone-2 persistence disk size in GB (create only). Default 0 = no persistence disk: an ephemeral tester provisions fast and reliably. A persistence disk triggers a first-boot init+reboot that can push provisioning past a client's tool-call timeout (and can leave the guest agent down mid-reboot) — on…
wait_secondsintegernonHow long to wait for the guest agent before returning (0-480). Keep this under your MCP client's per-call timeout (often ~120s): the call returns as soon as the agent is ready (~45-60s for a fresh ephemeral tester), so the default 90 leaves margin and won't hang the tool call to a client-side timeo…
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

scale_tester_pool

Set 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.

ParamètreTypeRequisDescription
appstringouiApp whose tester pool to scale, e.g. 'knostra'.
instancesintegerouiDesired number of tester VMs for this app. 1 (default) = a single reused VM; >1 runs more tests concurrently (one shared pool).
app_urlstring | nullnonThe app's URL, e.g. 'https://staging.knostra.ai'. Pass the SAME url used for runs so scaling targets the same host-keyed pool the lease path uses.
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

start_app_test

Start 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.

ParamètreTypeRequisDescription
app_namestringouiStable app key, e.g. 'knostra' — history groups by this
scenariostringouiStable scenario key, e.g. 'smoke-login' — the benchmark axis
vm_namestring | nullnonTester/desktop VM the test runs in (of-tester-* or of-desktop-*). Omit to auto-lease one from the app's tester VM pool — the response returns the leased vm_name (drive it with desktop_* tools) and a lease_token to pass to finish_app_test so the VM is released back to the pool.
app_urlstring | nullnonURL of the app under test as seen from the VM
idempotency_keystring | nullnonChoose a stable key before the first start, and reuse it with identical inputs after interruption to recover the same run. Requires an explicit vm_name; max 128 characters.
parent_test_run_idstring | nullnonExact deployment test run to include this supporting app test in
target_node_idstring | nullnonLogical VM node in that deployment; required when it has multiple machines
git_repostring | nullnonApp repo name/URL
git_branchstring | nullnonApp branch under test
git_commitstring | nullnonApp commit SHA under test
record_videobooleannonRecord a video of the whole run (also watchable live in the VNC console); per-step seek markers are added automatically. Fetch it via get_app_test_run(run_id).video_url after finish_app_test.
public_reportbooleannonWhether the standalone HTML report URL should be public. Default false keeps report, screenshot, and video artifacts private.
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

record_app_test_step

Record 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.

ParamètreTypeRequisDescription
run_idstringouiThe app test run ID from start_app_test
descriptionstringouiWhat you just did + what you verified, e.g. 'Submitted login form; dashboard rendered with admin workspace'
statusstringnonpassed | failed | error | skipped
notesstring | nullnonOptional detail (expected vs actual on failures)
capture_screenshotbooleannonServer captures the VM screen at this moment via libvirt (works even while a human has the noVNC console open)
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

finish_app_test

Finalize an app test run with its verdict.

ParamètreTypeRequisDescription
run_idstringouiThe app test run ID from start_app_test
statusstringouiFinal verdict: passed | failed | error | skipped
notesstring | nullnonVerdict summary (what passed/failed and why)
lease_tokenstring | nullnonIf start_app_test leased the VM from the pool, pass the lease_token it returned here to release the VM back to the pool.
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

list_app_test_runs

List 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.

ParamètreTypeRequisDescription
app_namestring | nullnonFilter by app key
scenariostring | nullnonFilter by scenario key
statusstring | nullnonFilter by status (running/passed/failed/error/skipped)
parent_test_run_idstring | nullnonFilter supporting tests by exact deployment test run ID
limitintegernonMax runs to return (1-200)
summarybooleannonTrue → grouped per app/scenario history (the benchmark view)
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_app_test_run

Get one app test run, including per-step verdicts and screenshot refs.

ParamètreTypeRequisDescription
run_idstringouiThe app test run ID
include_stepsbooleannonInclude the full step list (False = header only)
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

set_app_test_report_visibility

Toggle whether a standalone app test report is publicly viewable.

ParamètreTypeRequisDescription
run_idstringouiThe app test run ID
public_reportbooleanouiTrue makes the standalone report/screenshot/video URLs public; False makes them owner-only/private again.
session_tokenstring | nullnonSession token from a previous tool response (pass this to maintain session continuity)
api_keystring | nullnonYour OpenFactory MCP API key (optional)

read_email_otp

Read 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.

ParamètreTypeRequisDescription
connection_idstring | nullnonOptional local Composio Gmail connection_id to read from
senderstring | nullnonOptional sender filter, e.g. '[email protected]' or a domain
subject_containsstring | nullnonOptional substring expected in the subject, e.g. 'verification'
code_patternstringnonRegex for the code; the first capture group (or whole match) is returned
within_secondsintegernonOnly consider emails newer than this many seconds
timeout_secondsintegernonHow long to poll for the email before giving up
for_userstring | nullnonRead the OTP for THIS OpenFactory user (id or email) instead of the caller. Only honored for the system agent / super-admins — the Gmail connection may live under a different account than the calling identity.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

create_app_scenario

Create 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.

ParamètreTypeRequisDescription
app_namestringouiStable app key, e.g. 'knostra' — groups history
scenariostringouiStable scenario name, e.g. 'smoke-login'
stepsstringouiJSON array of semantic steps, run in order. Each step: {"action": "open_url"|"click"|"type"|"key"|"assert_text"|"assert_no_error"|"wait"|"email_otp"|"assert_visual"|"drag"|"assert_stable"|"assert_progress"|"network"|"login"|"goal", "target"?: str, "value"?: str, "expect"?: str, "visual_threshold"?:…
descriptionstring | nullnonALWAYS provide this: a concise, human 'what this test verifies' sentence describing the test's GOAL — not a list of steps. Shown at the top of the test panel when the test is opened. E.g. 'Signs in and verifies the Usherpa integration's tool catalog loads.' or 'Sends a long prompt and confirms the…
app_urlstring | nullnonApp base URL as the VM reaches it — a dev server, a deployed app, or any public URL. No build/deploy is required; the vanilla tester VM just opens this URL.
fail_on_error_toastboolean | nullnonDefault True: automatically FAIL the run if a known error bubble/toast appears on any step. Set False only for apps that legitimately render error-like copy.
variablesstring | nullnonOptional JSON object of NON-SECRET default variables for ${VAR} substitution, e.g. {"APP_URL":"http://10.0.2.2:3000","EMAIL":"[email protected]"}. Put passwords / TOTP seeds in `secrets` (they're saved to your key store), not here.
browser_authobject | nullnonRun this test SIGNED IN: restores the owner's prepared, encrypted browser profile (stored once per app origin + Composio account) before the first open_url — no login steps or password secrets needed. Shape: {provider:'composio', connection_id:str}. Requires app_url. Prepare the profile once in the…
secretsstring | nullnonJSON object of SECRET values the steps reference via ${VAR}/${totp:VAR} — password, base32 TOTP seed, etc., e.g. {"PASSWORD":"hunter2","OTP_SECRET":"JBSWY3DPEHPK3PXP"}. Saved (encrypted) in your key store, scoped per app, so the scenario can be re-run later — including bulk re-runs that can't promp…
project_idstring | nullnonProject to file this scenario under (proj-… id from your projects). Makes it show up under that project in the cto-gui graphs / right test panel. Must be a project you own. If omitted, the scenario is filed under your auto-created default 'App Tests' project (every test belongs to a project).
build_idstring | nullnonOptional EXISTING variant/build id to associate (metadata only — reuses a build already present, never triggers a new build). Requires project_id.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_app_scenarios

List your saved GUI test scenarios.

ParamètreTypeRequisDescription
app_namestring | nullnonFilter by app key
project_idstring | nullnonFilter by project (proj-… id)
limitintegernonMax scenarios to return (1-200)
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_scenario

Get a scenario's full definition, hardened cache, and last run.

ParamètreTypeRequisDescription
scenario_idstringouiScenario id from create_app_scenario/list_app_scenarios
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

delete_app_scenario

Delete 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.

ParamètreTypeRequisDescription
scenario_idstringouiScenario id to delete (from list_app_scenarios)
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

assign_app_scenario

Assign 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.

ParamètreTypeRequisDescription
scenario_idstringouiScenario id to (re)file (from list_app_scenarios)
project_idstring | nullnonProject (proj-… id you own) to file the scenario under, so it shows up under that project in the cto-gui graphs / right test panel. Pass null/omit to REMOVE the scenario from its current project.
build_idstring | nullnonOptional EXISTING variant/build id to associate (metadata only — reuses a build already present, never triggers a new build). Cleared if omitted.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

run_app_scenario

Run 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).

ParamètreTypeRequisDescription
scenario_idstringouiScenario id to run
vm_namestring | nullnonTester/desktop VM to run in (of-tester-* or of-desktop-*). Omit to auto-lease one from the app's tester VM pool (queues if all the app's VMs are busy) and release it when the run finishes.
variablesstring | nullnonOptional run-time overrides for ${VAR}/${totp:VAR} in the scenario's steps. Secrets are normally saved when the scenario is created (create_app_scenario.secrets) and pulled from your key store automatically; use this only to override a value for a single run. Merged over the stored values and NOT p…
record_videobooleannonRecord a video of the run (per-step seek markers added; watchable live in the VNC console).
public_reportbooleannonWhether the standalone HTML report URL for this scenario run should be public. Default false keeps report artifacts private.
on_behalf_ofstring | nullnonRun as THIS OpenFactory user (id or email) instead of the caller, so the run uses their tester-VM pool and stored secrets (e.g. a staging protection-bypass token + app login). Only honored for the system agent or a super-admin.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

run_app_test_group

Re-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.

ParamètreTypeRequisDescription
scopestringouiWhat to re-run: 'all' (every saved scenario you own), 'project' (all scenarios in a project), or 'app' (all of one app's).
project_idstring | nullnonRequired when scope='project'
app_namestring | nullnonRequired when scope='app'
delay_hoursnumbernonDefer the re-run by this many hours (0-72, up to 3 days). 0 = run now. The batch is scheduled durably and fires when its time arrives.
on_behalf_ofstring | nullnonRun the batch as THIS OpenFactory user (id or email) instead of the caller, so the scenarios replay on their tester-VM pool with their stored secrets (e.g. a staging protection-bypass token + app login). Only honored for the system agent or a super-admin.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_test_group

Live 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.

ParamètreTypeRequisDescription
batch_idstringouiThe batch id from run_app_test_group
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

cancel_app_test_group

Cancel a running group re-run. The in-flight scenario finishes; remaining ones are skipped.

ParamètreTypeRequisDescription
batch_idstringouiThe batch id from run_app_test_group
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

walk_app

Autonomously 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.

ParamètreTypeRequisDescription
app_namestringouiStable app key, e.g. 'walker-canary' — groups history.
app_urlstringouiSeed URL to crawl. The VM's browser opens this and the walker explores from there.
vm_namestringouiTester or desktop VM (of-tester-* or of-desktop-*) with a Chromium-class browser (DevTools at :9222).
max_statesintegernonMax distinct UI states to visit before stopping. Default 80.
max_depthintegernonMax BFS depth from the seed state. Default 6.
max_wall_secondsintegernonHard wall-clock cap on the whole walk. Default 600.
max_actions_per_stateintegernonMax interactive elements explored per state. Default 50.
destructive_allowedbooleannonWhen False (default) skips elements whose label/selector matches the destructive deny-list (delete/remove/sign out/etc.). When True, the walker clicks 'guarded' (regex-matched) elements AND runs a confirm-dialog probe — but high-stakes ALWAYS_GUARDED elements (delete account / revoke key / drop tab…
destructive_label_allowlistarray<string>nonPer-walk allowlist of element labels to treat as 'safe' even when the destructive deny-list (or ALWAYS_GUARDED) regex matches. Entries are case-insensitive literal substrings by default; prefix 're:' for a regex. Examples: ['remove from cart', 're:^clear ', 're:^reset filter']. Useful when an app u…
modestringnonExploration policy: 'mechanical' (default) = DOM-order BFS, 'ai' = LLM ranks unvisited candidates every state, 'hybrid' = AI for the first ai_seed_states state-seeds then mechanical, 'cot' = task-directed best-first search that stops at the first evidence-backed answer. AI modes require either an a…
taskstring | nullnonRequired when mode='cot'. The task the walker should answer, max 4000 characters.
task_output_schemaobject | nullnonOptional Draft 2020-12 JSON Schema for CoT structured_output. Remote references and schemas over 32 KB are rejected.
allowed_originsarray<string>nonCoT only: up to 10 HTTP(S) origins the task walk may navigate to. The starting origin is always included.
cot_branch_widthintegernonCoT only: number of alternative branches to queue per model decision. Default/max 3.
cot_max_decisionsintegernonCoT only: hard cap on model decisions. Default 20.
ai_goalstring | nullnonGoal sentence the LLM ranker sees when choosing what to click. Defaults to 'Find bugs and explore new flows in this app'. Examples: 'Test the new-project creation flow end-to-end', 'Audit the settings/billing path for permissions bugs'.
ai_seed_statesintegernonHybrid mode only: AI ranks the first N state-seeds, then mechanical BFS takes over. Default 3.
ai_max_decisionsintegernonHard cap on LLM calls per walk. Past this, walker falls back to mechanical for the rest of the walk. Default 12.
fuzz_profilestringnonSafe form policy: 'canned' fills non-sensitive text/select fields, 'boundary' uses valid boundary values where available, and 'skip' does not prepare forms. Transactional submits remain blocked.
mining_verificationstringnonM4.5 harness-verification mode for emitted scenarios. 'off' (default) skips harness verification (M3 behavior — every blocker/major finding becomes a scenario with confidence='low'). 'polling' creates a mining checkpoint per proposed scenario and waits up to 60s for the harness to call submit_scena…
project_idstring | nullnonOptional project_id to file the walk under.
authobject | nullnonWhen provided, walker signs in before BFS so it walks the AUTHED landing page instead of the sign-in form. Shape: {login_url:str, username_var:str, password_var:str, totp_var?:str, email_otp?:{target?:str, sender?:str, subject_contains?:str}, post_login_url?:str, assert_text?:str, on_behalf_of?:str…
browser_authobject | nullnonBrowser-session auth for an encrypted app/account scoped profile. Shape: {provider:'composio', connection_id:str}. Mutually exclusive with legacy auth.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_walk

Get the full walk record: status, totals, states, transitions, findings.

ParamètreTypeRequisDescription
walk_idstringouiWalk id returned by walk_app.
include_statesbooleannonInclude the list of ExplorationState records.
include_transitionsbooleannonInclude the list of ExplorationTransition records.
include_findingsbooleannonInclude the list of Finding records.
include_task_treebooleannonInclude CoT task nodes/tree for mode='cot' walks.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_app_walks

List walks visible to the caller (own walks; admins see all).

ParamètreTypeRequisDescription
app_namestring | nullnonFilter by app key.
project_idstring | nullnonFilter by project id.
statusstring | nullnonFilter by status: running | completed | stopped | error.
limitintegernonMax walks to return (1-200).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

stop_app_walk

Request cooperative cancellation. The explorer polls between actions.

ParamètreTypeRequisDescription
walk_idstringouiWalk id to cancel.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_pending_checkpoint

Long-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=…)

ParamètreTypeRequisDescription
walk_idstring | nullnonFilter pending checkpoints to this walk_id. Mutually exclusive with run_id; one of them should be set.
run_idstring | nullnonFilter pending checkpoints to this scenario run_id.
wait_secondsintegernonLong-poll budget (0-25 s). When 0, returns immediately with whatever's pending. Default 25.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

submit_scenario_checkpoint

Submit a verdict for a paused checkpoint. The waiting walker / runner's next poll picks it up and resumes. Returns the resolved checkpoint record.

ParamètreTypeRequisDescription
checkpoint_idstringouiCheckpoint id from get_pending_checkpoint.
verdictstringouiVerdict the harness has reached for this checkpoint: 'pass' (scenario is a valid repro / step succeeded), 'fail' (scenario doesn't repro the bug / step failed visually), 'investigate' (worth keeping for human review), 'skip' (drop this entirely).
notesstring | nullnonFree-form notes — surfaced on the run report next to the verdict.
replacement_actionobject | nullnonOptional override: an action dict the harness wants the runner to execute instead of the planned next step. Example: {action_type: 'click', target_label: 'Cancel'} to redirect the runner away from a destructive button. Only honored on 'verify' checkpoints; ignored on 'mine' checkpoints.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_checkpoint

Fetch a single checkpoint (pending or resolved) by id. Used by the walker / runner to poll for the verdict on a checkpoint it created.

ParamètreTypeRequisDescription
checkpoint_idstringouiCheckpoint id.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

add_app_database

Provision 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': ...})``.

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
enginestringnonDB engine. M1 supports 'postgres' only; MySQL+Redis are M3.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_app_databases

List databases provisioned for an app (metadata only — no passwords).

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

add_app_bucket

Provision 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'])``.

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_app_buckets

List buckets provisioned for an app (metadata only — no secret_keys).

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

enable_app_auth

Provision 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).

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
providersarray<any> | nullnonOIDC sub-providers to enable. Default ['password']. Valid: password, google, github.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_auth_status

Return 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).

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

rotate_app_auth_secret

Generate 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.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

disable_app_auth

Disable 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.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
purgebooleannonWhen true, also deletes the user pool. IRREVERSIBLE — all app end-users lost.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

create_checkpoint

Capture a manual checkpoint (code SHA + VM snapshot + DB snapshot) for the app. Use BEFORE a risky agent iteration; rollback_app restores the full tuple.

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
notesstring | nullnonFree-form note attached to the checkpoint.
pinnedbooleannonExempt from pruning when True.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_checkpoints

List checkpoints for an app (newest first) + per-app storage usage.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

rollback_app

Bi-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 ' entry.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
checkpoint_idstringouiCheckpoint to roll back to (from list_checkpoints).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

pin_checkpoint

Pin a checkpoint so the retention reconciler never deletes it.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
checkpoint_idstringouiCheckpoint to pin (exempt from pruning).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

delete_checkpoint

Remove a checkpoint. Errors with 'pinned' if the checkpoint is pinned (unpin first via pin_checkpoint with pinned=False).

ParamètreTypeRequisDescription
app_idstringouiApp ID.
checkpoint_idstringouiCheckpoint to delete.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

enable_app_ide

Enable code-server (Web IDE) for the app. Returns the IDE URL at ``https://ide- .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.

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

disable_app_ide

Stop code-server + remove the ide- gateway route. Idempotent — calling on an already-disabled IDE is a no-op.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_ide_status

Current IDE binding for the app: enabled flag, URL, status, timestamps. Returns a default off-binding when never enabled.

ParamètreTypeRequisDescription
app_idstringouiApp ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_app_templates

Browse 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.

ParamètreTypeRequisDescription
categorystring | nullnonFilter by category: web | api | fullstack | static | job | data
qstring | nullnonFree-text search across name + description + tags.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_template

Full manifest for one template: source git URL, runtime defaults, env-variable spec, declared services, rendered README.

ParamètreTypeRequisDescription
template_idstringouiTemplate ID from list_app_templates.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

instantiate_app_template

Create 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.

ParamètreTypeRequisDescription
template_idstringouiTemplate ID from list_app_templates.
namestring | nullnonDisplay name; derived from template if omitted.
envobject | nullnonNon-secret env values from the form (e.g. NEXT_PUBLIC_APP_NAME='My App'). Keys must be in the template's env spec. Secrets are NOT seeded here — use set_app_env(secret_key, value) after for those.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

remix_app

Fork 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.

ParamètreTypeRequisDescription
source_app_idstringouiApp ID of the source app to fork.
namestring | nullnonDisplay name; ' (remix)' if omitted.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

set_app_remixable

Toggle 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.

ParamètreTypeRequisDescription
app_idstringouiApp ID (you must own it).
remixablebooleanouiTrue to allow non-owners to remix when visibility='public'; False to disable.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

set_walk_baseline

Pin a walk as the current baseline for an app. Subsequent walks can be diffed against this baseline. One baseline per (user, app_name).

ParamètreTypeRequisDescription
walk_idstringouiThe walk_id to mark as your current baseline for this app.
app_namestring | nullnonApp name to pin the baseline against. Defaults to the walk's own app_name.
notesstring | nullnonFree-text note about why this walk is the baseline (e.g., 'green after the analytics refactor').
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_walk_baseline

Get the current baseline walk for an app (your own pin). Returns {baseline: null} if none set.

ParamètreTypeRequisDescription
app_namestringouiApp name to look up the baseline for.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_walk_baselines

List every baseline pin you have across all your apps.

ParamètreTypeRequisDescription
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

clear_walk_baseline

Clear the baseline pin for an app. Idempotent (returns {cleared: false} if no baseline was set).

ParamètreTypeRequisDescription
app_namestringouiApp name to clear the baseline for.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

diff_walks

Compute 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.

ParamètreTypeRequisDescription
base_walk_idstringouiThe 'before' walk (usually your baseline).
new_walk_idstringouiThe 'after' walk to compare against base.
use_cachebooleannonReuse the cached diff on disk if it exists. Set False to force recompute.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

walk_recursive_report

Recursive 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.

ParamètreTypeRequisDescription
walk_idstringouiWalk to render as a recursive tree.
baseline_walk_idstring | nullnonIf supplied, each node is annotated with NEW|UNCHANGED|REMOVED|CHANGED status against this baseline.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

walk_findings_to_tickets

Serialize 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.

ParamètreTypeRequisDescription
walk_idstringouiWalk whose findings to convert.
formatenum: "linear" | "jira" | "github"nonTarget ticket format. 'linear' = GraphQL IssueCreateInput; 'jira' = REST v3 issue body; 'github' = REST v3 issue body.
severity_filterenum: "all" | "blocker" | "major" | "minor"nonOnly convert findings at this severity. 'all' drops info-level by default.
baseline_walk_idstring | nullnonBaseline walk_id (required when only_new_since_baseline=true).
only_new_since_baselinebooleannonIf true, only convert findings that are NEW relative to baseline_walk_id (skips persistent + resolved).
team_idstring | nullnonLinear team_id. Required when format='linear'.
project_keystring | nullnonJira project_key. Required when format='jira'.
project_idstring | nullnonLinear project_id (optional).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

run_all_app_scenarios

Kick 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).

ParamètreTypeRequisDescription
app_namestringouiApp name whose saved scenarios should all run.
vm_namestring | nullnonTester VM to run on. Omit to auto-lease one from the app's pool.
project_idstring | nullnonOptional project_id filter.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

walk_site

Autonomously 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.

ParamètreTypeRequisDescription
urlstringouiThe website URL to walk (any reachable site — not just OpenFactory apps).
app_namestring | nullnonGrouping key for baselines/regression. Defaults to the URL host.
profilestringnonBudget bundle: 'quick' (25 states/5min), 'standard' (80/15min), 'deep' (150/30min).
vm_namestring | nullnonOptional of-tester-*/of-desktop-* VM. Omit to auto-lease a Chromium tester (may cold-boot).
wait_secondsintegernonBlock up to this many seconds (0-120) for the walk to finish, returning its summary inline. 0 = return the walk_id immediately.
max_statesinteger | nullnonOverride the profile's max states (1-200).
max_depthinteger | nullnonOverride the profile's max depth (1-12).
max_wall_secondsinteger | nullnonOverride the profile's wall-clock budget (30-1800).
authobject | nullnonLogin preamble — KMS var NAMES only (login_url, username_var, password_var, ...). No plaintext secrets.
browser_authobject | nullnon{provider:'composio', connection_id:'...'} to restore an encrypted browser profile.
mobilenullnonWalk the site in mobile view. true = iPhone (390x844@3 + mobile UA + touch); or a preset name: 'iphone', 'iphone-se', 'android', 'ipad'; or an object {preset?, width?, height?, device_scale_factor?, user_agent?}. Every state screenshot and DOM read in the walk is taken at that viewport, so mobile-o…
project_idstring | nullnonOptional project scope.
session_tokenstring | nullnonSession token echoed back by a prior tool. Replay it on every call.
api_keystring | nullnonOpenFactory MCP API key (alternative to session_token).

get_walk_summary

Token-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).

ParamètreTypeRequisDescription
walk_idstringouiWalk id from walk_site / walk_app.
max_tree_nodesintegernonCap on site-tree nodes returned (1-500).
max_findingsintegernonCap on findings returned (1-200).
session_tokenstring | nullnonSession token echoed by a prior tool.
api_keystring | nullnonOpenFactory MCP API key.

seal_walk_baseline

Seal 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.

ParamètreTypeRequisDescription
walk_idstringouiCompleted walk to seal into an immutable golden state tree.
app_namestring | nullnonBaseline grouping key. Defaults to the walk's app_name.
notesstring | nullnonFreeform note stored with the sealed baseline version.
session_tokenstring | nullnonSession token echoed by a prior tool.
api_keystring | nullnonOpenFactory MCP API key.

check_walk_regression

The 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.

ParamètreTypeRequisDescription
app_namestringouiThe baseline grouping key (from seal_walk_baseline).
walk_idstring | nullnonCandidate walk to check. Omit to use the latest completed walk for this app.
severity_thresholdstringnonMinimum NEW-finding severity that fails the gate: 'blocker' | 'major' | 'minor'.
fail_on_removedbooleannonFail when a baseline state (UX path) disappears in the candidate.
fail_on_changedbooleannonFail on CHANGED states (title/element drift). Off by default — normal during development.
require_sealedbooleannonRequire the baseline to be sealed (immutable). If false, an unsealed pin is allowed.
session_tokenstring | nullnonSession token echoed by a prior tool.
api_keystring | nullnonOpenFactory MCP API key.

propose_fix

Create 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().

ParamètreTypeRequisDescription
finding_idstringouiWalker finding_id to fix.
modeenum: "local-vm" | "github-pr" | "provider-redeploy"nonlocal-vm = edit file in tester VM + restart unit (M1). github-pr = open PR (M2.5). provider-redeploy = push to Vercel/Netlify branch (M3).
notesstring | nullnonFree-text note about the proposed fix.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

apply_fix

Apply 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- `. github-pr / provider-redeploy modes return 501 until M2.5 / M3.

ParamètreTypeRequisDescription
intent_idstringouiFixIntent id from propose_fix.
patchstringouiThe FULL new file content (NOT a unified diff in M1).
target_filestringouiRelative path under /opt/of-apps/ / (or absolute).
vm_namestringouiTester VM name from the App entity. Required in M1.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_fix_intent

Read one FixIntent (status, target_file, suggested_patch, apply_result).

ParamètreTypeRequisDescription
intent_idstringouiFixIntent id.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_fix_intents

List your FixIntents, newest first. Optional walk_id filter.

ParamètreTypeRequisDescription
walk_idstring | nullnonOptional filter: only intents for this walk.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

close_finding

Mark a finding as resolved (fixed/wont_fix/duplicate/not_a_bug). Future run_fix_cycle calls skip already-resolved findings.

ParamètreTypeRequisDescription
finding_idstringouiWalker finding_id to mark as resolved.
resolutionenum: "fixed" | "wont_fix" | "duplicate" | "not_a_bug"ouiHow this finding was handled.
notesstring | nullnonFree-text resolution note.
fix_intent_idstring | nullnonOptional FixIntent id that resolved this finding.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

run_fix_cycle

Propose 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.

ParamètreTypeRequisDescription
walk_idstringouiWalk to fix-cycle against.
baseline_walk_idstring | nullnonWhen set, only fixes findings NEW since baseline.
max_findingsintegernonCap on FixIntents proposed in this cycle.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

build_image

Build 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.

ParamètreTypeRequisDescription
build_idstringouiThe build to prepare, compile, verify, and publish.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).
wait_secondsintegernon

query_build_knowledge

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.

ParamètreTypeRequisDescription
build_idstringouiThe build whose knowledge scope to query.
querystringouiWhat you need to know — a failure summary, feature question, or capability you are about to implement.
kintegernonMaximum evidence hits to return (capped at 12).
include_learned_rulesboolean | nullnonAlso include learned_rules (previously VERIFIED remediations for this build's base image) and config_baseline. Default: only on this session's first call for this build; true repeats them, false omits them.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

check_image_inputs

Find 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.

ParamètreTypeRequisDescription
build_idstringouiThe build whose authored config/ to check.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

request_user_decision

Ask 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[ ]. 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.

ParamètreTypeRequisDescription
build_idstringouiThe build the decision belongs to.
questionstringouiThe fork or problem, phrased for the user.
optionsarray<object>oui2-6 options: [{id, label, description, route?}].
recommendation_option_idstring | nullnonWhich option you would pick — required for a minor/major decision to auto-proceed.
severitystring | nullnonminor | major | destructive. The server coerces UP (unset, no recommendation, drop-scope options, unsolvable → destructive).
kindstringnonarchitecture_fork | unsolvable | clarification.
scopestringnonbuild | platform. "platform": the blocker is the platform (installer driver, verifier, judge budget, engine); the question goes to OpenFactory operators, the owner is not asked, and the goal waits for an operator.
contextstringnonShort markdown context shown on the card.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

prepare_harness_build

Create 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}

ParamètreTypeRequisDescription
recipestring | objectouiThe build recipe as a JSON object (or a JSON string). Required: name, base_image. Put OS features, packages, services, users, networking, and security under os.
promptstring | nullnonThe owner's original natural-language request, if there was one. Persisted privately as durable planning intent and seeded as the opening user message; provide the owner's words, not a narrowed recipe summary.
create_chatbooleannonCreate a chat for this build, seeded with the prompt and a recipe card, and link it so the build is reachable from the sidebar and opens the build panel. Leave on unless you're generating bulk/QA builds.
owning_conversation_idstring | nullnonExisting owner-scoped conversation to bind before goal/worktree preparation. Used by the unified v3 harness.
build_contextobject | nullnonStructured Chat/TTY build selections to apply to the recipe.
platform_agentbooleannonHand this build to OpenFactory's own goal agent instead of driving it yourself. A paid add-on: included with the Builder, Team, Compliance and BYOC Fleet plans, and refused with error_code=upgrade_required on a plan without it. Omit it and YOU drive -- you get the worktree and no platform agent is…
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

platform_fix_start

Start 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'.

ParamètreTypeRequisDescription
sitestringouiTarget platform site: openfactory.tech | console.openfactory.tech | direktor.tech | build.openfactory.tech
instructionstringouiPrecise change description: what is broken/missing, where (page/element), expected behavior, and your repro evidence (run ids, screenshots) from the visual tests.
thread_idstring | nullnonOriginating voice thread id (correlation).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_platform_fix

Read a platform fix record: status (running | implemented | staging | staged | landing | landed | failed | stage_failed | land_failed), commit, changed files, staging/prod URLs, error details.

ParamètreTypeRequisDescription
fix_idstringouiPlatform fix id from platform_fix_start.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

stage_platform_fix

Stage 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.

ParamètreTypeRequisDescription
fix_idstringouiPlatform fix id (status must be 'implemented').
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

land_platform_fix

Land 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.

ParamètreTypeRequisDescription
fix_idstringouiPlatform fix id (status must be 'staged').
scenario_idstringouiRegression scenario id covering this fix.
scenario_run_idstringouiA PASSED run id of that scenario (against the staging URL), <24h old. Landing is refused without a green run.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

connect_cloud_provider

Connect 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.

ParamètreTypeRequisDescription
providerstringouiCloud provider: 'aws', 'gcp', or 'azure'.
namestringouiDisplay name, e.g. 'Production AWS'.
credentialsobjectouiProvider credentials. aws: {access_key_id, secret_access_key, session_token?}. gcp: {service_account_json} (the key-file JSON, as object or string). azure: {tenant_id, client_id, client_secret, subscription_id}.
regionstring | nullnonDefault region, e.g. 'us-east-1', 'europe-west1', 'eastus'.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_cloud_providers

List your connected cloud providers (credentials always redacted).

ParamètreTypeRequisDescription
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

test_cloud_provider

Re-validate a cloud connection against the live provider API and refresh its status.

ParamètreTypeRequisDescription
connection_idstringouiConnection ID from list_cloud_providers.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

disconnect_cloud_provider

Remove a cloud connection and every account env var it projected. Cloud resources themselves are never touched.

ParamètreTypeRequisDescription
connection_idstringouiConnection ID from list_cloud_providers.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_cloud_instances

List cloud instances (EC2 / Compute Engine / Azure VMs) for your connected providers, normalized to one schema.

ParamètreTypeRequisDescription
connection_idstring | nullnonLimit to one connection; omit for instances across ALL connected providers.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

start_cloud_instance

Start a stopped cloud instance. Starting an instance incurs cloud charges on the connected account.

ParamètreTypeRequisDescription
connection_idstringouiConnection ID that owns the instance.
instance_idstringouiProvider instance ID (e.g. i-0abc…).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

stop_cloud_instance

Stop a running cloud instance.

ParamètreTypeRequisDescription
connection_idstringouiConnection ID that owns the instance.
instance_idstringouiProvider instance ID.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

terminate_cloud_instance

PERMANENTLY terminate a cloud instance. Irreversible; requires confirm=true.

ParamètreTypeRequisDescription
connection_idstringouiConnection ID that owns the instance.
instance_idstringouiProvider instance ID.
confirmbooleannonMust be true — termination permanently deletes the instance.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_verification_session

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 `rul…

ParamètreTypeRequisDescription
build_idstring | nullnonThe build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it.
api_keystring | nullnonYour OpenFactory MCP API key, unless it is already the Authorization header
session_tokenstring | nullnonSession token from a previous tool response (a guest cannot verify)
intent_offsetintegernonRead the next page of ready claims using next_intent_offset.

revise_verification_checklist

Change 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.

ParamètreTypeRequisDescription
reasonstringouiWhy, in a sentence or two the owner reads in the chat, e.g. 'Steam, Lutris and GameMode were not requested; the recipe no longer installs them.'
installation_case_scopesobject | nullnonOwner-bound relocation of existing checks: {item_id: {installation_case_ids: [...], phases: [live|installed], replacement_package?: native_name}}. Cases come from accepted os.installer.verification_cases. Explicitly owner-named packages cannot be substituted.
interpretationsarray<object> | nullnonFinite interpretations of vague owner preferences: each {source_quote, interpretation, item_ids}. Quote actual owner words and name concrete existing or simultaneously added checks. The judge independently preserves explicit functionality, exclusions and security. Recorded before the next verificat…
remove_item_idsarray<string> | nullnonIntent item ids to remove (from get_verification_session). Only a feature.* item of an application or game feature you added, have taken out of the recipe and the image's package lists, and the owner never named, can be removed, and a user.* account check once the account is out of the recipe's use…
add_assertionsarray<object> | nullnonChecks to add, each {description, type, params, expected_visual, required (default true), phase (live or installed_system, default live)}: type 'visual' with expected_visual for something the judge must see, or a read-only check (package_installed, file_exists, file_contains, file_permissions, serv…
add_visual_referencesarray<object> | nullnonRequired visual comparisons to add: {claim, source, kind}, using the recipe visual_references format. With owner_message_id, pair a removed agent-chosen reference with the exact same claim and kind to correct only its image source; required status and phases are retained. Owner-supplied sources rem…
owner_message_idstring | nullnonTo correct inherited checks or superseded requirements, cite the latest user message ID. Each corrected check is judged independently against the full owner check. Obsolete custom, desktop, generated account and non-security feature checks may change; account checks stay required and owner-bound; u…
owner_quotestring | nullnonThe owner's exact words asking AGAINST a feature, copied from their message (e.g. 'Do NOT install: GNOME'). A feature named only inside that quote no longer counts as one the owner asked for, so its checks can be removed once it is out of the recipe and package lists.
firmware_tagsobject | nullnon{item_id: 'bios' | 'uefi'} for checks that only one firmware can show, any item included: a Legacy BIOS / DOS-MBR claim 'bios', a separate UEFI boot claim 'uefi'. A tagged check is graded only in a session of that firmware and an untagged one in every session; the build then certifies only when the…
build_idstring | nullnonThe build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it.
api_keystring | nullnonYour OpenFactory MCP API key, unless it is already the Authorization header
session_tokenstring | nullnonSession token from a previous tool response (a guest cannot verify)

start_verification_session

Open 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; reco…

ParamètreTypeRequisDescription
installation_case_idstring | nullnonNative declared installer choice ID. Each choice needs its own fresh recorded session; other cases remain owed.
build_idstring | nullnonThe build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it.
boot_firmwareenum: "uefi" | "bios" | nullnonFirmware the session VM boots, for both its live and installed phases. 'bios' is Legacy BIOS (SeaBIOS), so the installer partitions a DOS/MBR disk; 'uefi' is OVMF. Omit it to keep the platform's choice, which boots any hybrid ISO under UEFI.
disk_fixturestring | nullnonStart the session VM's disk as a prepared layout instead of blank. 'windows-uefi': GPT with an EFI system partition holding placeholder Windows Boot Manager files, a Microsoft reserved partition and an NTFS volume, so the installer offers to install alongside Windows. It holds no Windows; booting i…
live_credentialstring | nullnon'platform': before you act, the platform sets a generated password on the live desktop's active account and delivers it privately as native-login-password, for type_secret at a lock screen or privileged prompt. Disclosed to the judge as a platform step, so it cannot show the image's own credential.…
disk_read_mb_per_sinteger | nullnonCap reads from every disk and CD-ROM of the session VM at this many MB/s (10^6 bytes, 20 to 1000; 20 is a slow USB 2.0 stick) for both phases, for a boot-time claim on slow media. The judge reads the cap off the VM as a platform fact; an install or boot that times out under it is the platform's, no…
browser_clientboolean | nullnontrue for an image whose interface is a web page it serves (Proxmox VE, CasaOS, TrueNAS, OpenMediaVault, Cockpit, a router's admin page): the platform adds its own browser VM (Firefox/Chromium, tester image) on the session's private test network, recorded and sealed with the session. get_verificatio…
api_keystring | nullnonYour OpenFactory MCP API key, unless it is already the Authorization header
session_tokenstring | nullnonSession token from a previous tool response (a guest cannot verify)

record_verification_step

Append 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.

ParamètreTypeRequisDescription
descriptionstringouiWhat you did and what is visibly true as a result, e.g. 'Opened Settings > Appearance; the accent colour reads Orange and the title bars are orange'. One step per intent item. Never record a step for something you did not look at.
statusstringnonpassed | failed | error | skipped
notesstring | nullnonOptional detail — expected versus actual when a claim does not hold
intent_item_idsarray<string> | nullnonThe intent item ids (from get_verification_session) this step demonstrates, at most 8; the judge grades those claims on this frame first.
operation_idstring | nullnonStable opaque ID, at most 128 characters, for this capture. Retry the same ID and content after a lost response.
app_run_idstring | nullnonExpected ledger from get_verification_session. Required with operation_id; a changed artifact or phase is refused.
motion_secondsnumber | nullnonMotion capture, for claims about video, animation or smoothness: the platform samples the VM display for this many seconds (more than 0, at most 10, about 30 fps) before the frame, and gives the judge the updates per second and the longest stall it measured, labelled VM display. Start the motion fi…
capture_vmenum: "session" | "browser_client" | nullnon'browser_client' captures this step's frame (and motion) on the session's browser client instead of the image's VM: for a claim about a web page the image serves, with that page loaded from the image's address and its address bar visible. Only a session started with browser_client=true has one. Omi…
build_idstring | nullnonThe build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it.
api_keystring | nullnonYour OpenFactory MCP API key, unless it is already the Authorization header
session_tokenstring | nullnonSession token from a previous tool response (a guest cannot verify)

finish_verification_session

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.

ParamètreTypeRequisDescription
statusstringouiPhase completion: passed if you found no defects; failed if you found defects after checking the remaining independent claims. Both submit all evidence for independent grading and continue to the installed phase when required. A failed check does not justify ending early. Use error or skipped only…
notesstring | nullnonWhat you verified and anything you could not verify, in plain words
build_idstring | nullnonThe build you are verifying. Required when you drive your own build over the public surface; a platform goal session may omit it.
api_keystring | nullnonYour OpenFactory MCP API key, unless it is already the Authorization header
session_tokenstring | nullnonSession token from a previous tool response (a guest cannot verify)

get_compute_allocation

Read 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.

ParamètreTypeRequisDescription
api_keystring | nullnon
session_tokenstring | nullnon

create_lab

Create a private, owner-only lab within your purchased plan allocation. Retry with the same idempotency_key. No public DNS or gateway is created.

ParamètreTypeRequisDescription
namestringoui
idempotency_keystringoui
api_keystring | nullnon
session_tokenstring | nullnon

list_labs

List only your private labs, with their retained versioned declarations.

ParamètreTypeRequisDescription
api_keystring | nullnon
session_tokenstring | nullnon

get_lab

Read one owned lab's nodes, private networks, secret metadata and evidence lineage.

ParamètreTypeRequisDescription
lab_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

configure_lab_network

Configure 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.

ParamètreTypeRequisDescription
lab_idstringoui
network_idstringoui
internetbooleannon
rulesarray<object> | nullnon
dnsobject | nullnon
api_keystring | nullnon
session_tokenstring | nullnon

delete_lab_network

Remove an owned lab network only after its nodes are removed.

ParamètreTypeRequisDescription
lab_idstringoui
network_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

create_lab_node

Provision 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.

ParamètreTypeRequisDescription
lab_idstringoui
node_idstringoui
build_idstringoui
networksarray<string>oui
memory_mbintegernon
vcpusintegernon
disk_size_gbintegernon
auto_installbooleannon
installer_methodstring | nullnon
installer_typestring | nullnon
base_imagestring | nullnon
admin_usernamestringnon
admin_password_refstring | nullnon
api_keystring | nullnon
session_tokenstring | nullnon

ensure_lab_tester

Provision 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.

ParamètreTypeRequisDescription
lab_idstringoui
network_idstringoui
memory_mbintegernon
vcpusintegernon
api_keystring | nullnon
session_tokenstring | nullnon

delete_lab_node

Remove one owned lab node and its disks; its immutable evidence remains.

ParamètreTypeRequisDescription
lab_idstringoui
node_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

pause_lab

Gracefully stop lab roles, retain data and report its tier-based expiry.

ParamètreTypeRequisDescription
lab_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

resume_lab

Resume owned lab roles after verifying remaining allocation and network policy.

ParamètreTypeRequisDescription
lab_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

delete_lab

Delete 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.

ParamètreTypeRequisDescription
lab_idstringoui
confirmbooleannon
api_keystring | nullnon
session_tokenstring | nullnon

generate_lab_secret

Generate 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.

ParamètreTypeRequisDescription
lab_idstringoui
namestringoui
api_keystring | nullnon
session_tokenstring | nullnon

set_lab_secret

Store a supplied credential encrypted at rest; return its versioned reference.

ParamètreTypeRequisDescription
lab_idstringoui
namestringoui
valuestringoui
api_keystring | nullnon
session_tokenstring | nullnon

list_lab_secrets

List owned lab credential names and versions without plaintext values.

ParamètreTypeRequisDescription
lab_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

delete_lab_secret

Delete all versions of a secret once no deployment references it.

ParamètreTypeRequisDescription
lab_idstringoui
namestringoui
api_keystring | nullnon
session_tokenstring | nullnon

deliver_lab_secret

Deliver 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.

ParamètreTypeRequisDescription
lab_idstringoui
node_idstringoui
referencestringoui
api_keystring | nullnon
session_tokenstring | nullnon

deploy_lab_services

Deploy 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.

ParamètreTypeRequisDescription
lab_idstringoui
node_idstringoui
repositorystringoui
revisionstringoui
compose_pathstringnon
secret_refsobject | nullnon

get_lab_deployment

Read an owned lab role's private deployment status and pinned provenance.

ParamètreTypeRequisDescription
lab_idstringoui
node_idstringoui
api_keystring | nullnon
session_tokenstring | nullnon

create_app

Register 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:// .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.

ParamètreTypeRequisDescription
namestringouiHuman name for the app, e.g. 'my-shop'
git_urlstringouiHTTPS git URL of the app's repository
branchstringnonBranch to deploy (default main)
deployment_typestringnonweb-service (long-running server), static-site, or scheduled-job
portinteger | nullnonPort the app listens on (e.g. 3000)
base_imagestringnonBase variant for deployments (default: debian-trixie)
slugstring | nullnonOptional DNS-safe slug for the app's URL; auto-derived from the name if omitted
visibilitystringnon'public' (anyone with the URL can view) or 'private' (only you — the preview URL is gated by your OpenFactory login).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_apps

List your registered apps.

ParamètreTypeRequisDescription
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app

Get one app's full record (source, slug, status, deploy history).

ParamètreTypeRequisDescription
app_idstringouiApp id from create_app/list_apps
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

deploy_app

Build 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.

ParamètreTypeRequisDescription
git_urlstring | nullnonGit URL to deploy (omit if app_id is given)
app_idstring | nullnonDeploy a registered app by id (uses its git_url/branch/slug)
branchstring | nullnonOptional branch override
run_commandstring | nullnonCommand to start the app, e.g. 'pnpm start' or 'python3 app.py'. Auto-detected for npm/pnpm/Yarn projects (port 3000) and static sites (python3 http.server, port 8080) if omitted.
install_commandstring | nullnonOptional deps install, e.g. 'npm install' or 'pip3 install -r requirements.txt'
build_commandstring | nullnonOptional production build command. For Node repos this is auto-detected from the package.json build script when omitted.
portinteger | nullnonPort the app listens on (>=1024)
visibilitystring | nullnonPreview-URL visibility: 'public' (default) or 'private' (only the owner, gated by login). Defaults to the registered app's setting when app_id is given.
base_imagestring | nullnonOptional base-variant override; registered app default is debian-trixie
use_obsboolean | nullnonPackage through OBS when true; use the image-build hook when false; omit for automatic selection based on OBS health and stack support.
static_output_dirstring | nullnonOutput directory for a built static site, e.g. dist or out
waitbooleannonWait for completion within wait_timeout_seconds; the deployment continues if the wait expires
wait_timeout_secondsintegernonMaximum bounded wait when wait=true (1-540 seconds)
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_deploy_status

Poll an immutable app variant through build, boot, health, and cutover.

ParamètreTypeRequisDescription
app_idstringouiApp id from create_app/deploy_app
deploy_idstring | nullnonDeployment id; defaults to latest
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

create_app_from_prompt

Turn 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= , mode='hybrid')`` for self-test

ParamètreTypeRequisDescription
briefstringouiOne-sentence description of what the app should do. Saved to App.origin.brief for future iteration.
template_git_urlstringouiHTTPS git URL of a template repo to bake into a fresh app variant.
namestring | nullnonOptional display name. Derived from the brief if omitted.
visibilitystringnon'public' (anyone with URL can view) or 'private' (gated by your OpenFactory login).
branchstringnonTemplate repo branch.
base_imagestringnonBase variant for the deployment.
use_obsboolean | nullnonUse OBS when true, the image hook when false, or automatic selection when omitted.
waitbooleannonWait briefly for the asynchronous deployment to finish.
wait_timeout_secondsintegernon
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

iterate_app

Dispatch 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.

ParamètreTypeRequisDescription
app_idstringouiApp ID (from create_app or create_app_from_prompt).
instructionstringouiWhat to change in plain language. Examples: 'make the header green', 'add a CSV export button', 'fix the broken submit button'. A repair agent applies the change to the app in its sandbox VM and redeploys.
context_envelopeobject | nullnonOptional context about where the change applies (route, page, etc.).
thread_idstring | nullnonOptional prior thread id to continue an existing request.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

get_app_build_status

Return 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().

ParamètreTypeRequisDescription
app_idstringouiApp ID from create_app_from_prompt.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_app_env

List 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).

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

set_app_env

Upsert 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}``.

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
setobject | nullnonUpsert dict of KEY → value. Keys must match ^[A-Z_][A-Z0-9_]{0,127}$ (uppercase + digits + underscore, ≤128 chars). Values ≤8 KiB. OPENFACTORY_ prefix reserved.
deletearray<any> | nullnonOptional list of KEY names to remove from the app's env.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

reveal_app_env

Decrypt and return a single app env var's plaintext value. Writes an audit entry recording the actor, app_id, name, and timestamp.

ParamètreTypeRequisDescription
app_idstringouiApp ID (UUID from create_app).
namestringouiEnv var name to decrypt.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

list_account_env

List 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}]}``.

ParamètreTypeRequisDescription
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

set_account_env

Upsert/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).

ParamètreTypeRequisDescription
setobject | nullnonUpsert dict of KEY → value. Same validation as set_app_env.
deletearray<any> | nullnonOptional list of KEY names to remove from account env.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

reveal_account_env

Decrypt and return a single account env var. Writes an audit entry.

ParamètreTypeRequisDescription
namestringouiAccount env var name to decrypt.
session_tokenstring | nullnonSession token
api_keystring | nullnonMCP API key

desktop_start_recording

Start 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.

ParamètreTypeRequisDescription
vm_namestringouiTester/desktop VM to record (of-tester-* / of-desktop-*)
fpsintegernonFrames per second (1-5; default 2)
formatstringnonVideo format: mp4 (H.264) or webm (VP9)
labelstring | nullnonOptional human label
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

desktop_stop_recording

Stop a recording and finalize the video. Returns the fetchable video_url.

ParamètreTypeRequisDescription
recording_idstringouirecording_id from desktop_start_recording
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_recording

Get a recording's status + metadata (status, duration_ms, size_bytes, video_url).

ParamètreTypeRequisDescription
recording_idstringouirecording_id to inspect
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

list_recordings

List recordings for a VM, newest first.

ParamètreTypeRequisDescription
vm_namestringouiTester/desktop VM whose recordings to list
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

test_workflow

Autonomously 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.

ParamètreTypeRequisDescription
app_namestringouiStable app key for history grouping, e.g. 'knostra'
scenariostringouiStable scenario key, e.g. 'booking-smoke'
instructionsstringouiThe workflow + what 'works' means, e.g. 'Open /booking, fill the demo form, submit, and verify a confirmation appears.'
vm_namestring | nullnonTester VM to test in (of-tester-*/of-desktop-*). Omit (recommended) to auto-lease one from the app's tester pool — it queues if every VM is busy and is released automatically when the run finishes, so two tests never share a VM.
app_urlstring | nullnonURL to open first (as seen from the VM)
max_stepsintegernonMax agent steps (1-20)
waitbooleannonIf true, block until the agent finishes and return the verdict inline (may hit your MCP client's call timeout for long runs). Default false: return immediately with a run_id; poll get_app_test_run(run_id) for the verdict + video.
session_tokenstring | nullnonSession token from a previous tool response
api_keystring | nullnonYour OpenFactory MCP API key (optional)

get_harness_skill

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``.

ParamètreTypeRequisDescription
namestringouiGuide name: openfactory-compute (build and verify an image yourself; start here), replicate-this-machine, openfactory-build (what each file of an image does, by operating system; read its companion files by path), policy-system-generation, policy-control-authoring or policy-document-publication.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).
resource_pathstring | nullnonRead one path from resources, including SKILL.md. Set limit=12000 for clients with small response limits.
offsetintegernonCharacter offset when paging a text resource.
limitinteger | nullnonMaximum characters from a text resource. Follow resource.next_offset for the rest.

get_feature_reference

Read 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- .chroot (NNNN- .hook.chroot on Debian and Elster) and a companion to hooks/live/ , both with write_build_config. A hook that exits unless ENABLE_ is true needs `export ENABLE_ =true` after its first line. Keep the rest of a hook verbatim: it carries workarounds for the distribution.

ParamètreTypeRequisDescription
feature_idsarray<string> | nullnonAll features to read in one call, even when only one is needed. Omit to get the feature index; maximum 32.
categorystring | nullnonRestrict the index to one category directory, e.g. 'desktop', 'services', 'security'. Ignored when feature_ids is given.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

finalize_build_plan

Validate and launch one complete authored plan; no prior submissions or buffer.

ParamètreTypeRequisDescription
planstring | object | nullnonComplete BuildPlan JSON. Omit in a goal workspace to read .openfactory/build-plan.json.
queuebooleannonFalse validates the authored plan without launching it.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

get_build_group

Read a build group's per-node child statuses (fresh, merged).

ParamètreTypeRequisDescription
group_idstringouiThe build group to inspect.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

start_build_group_node

Start 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.

ParamètreTypeRequisDescription
group_idstringouiThe build group whose node build to start.
node_idstringouiThe topology node_id to start building now.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

list_build_config

List 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``).

ParamètreTypeRequisDescription
build_idstringouiA build your own agent drives.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

read_build_config

Read 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``.

ParamètreTypeRequisDescription
build_idstringouiA build your own agent drives.
pathstringouiPath relative to config/, for example hooks/live/0500-timezone.chroot.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

write_build_config

Write 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.

ParamètreTypeRequisDescription
build_idstringouiA build your own agent drives.
filesstring | array<any>ouiFiles to write, as [{path, content}] or [{path, content_b64}], each with an optional mode of 420 (0644) or 493 (0755). Paths are relative to config/. Hooks are always made executable.
deletestring | array<any> | nullnonPaths of files you wrote earlier, to remove in the same change.
notestring | nullnonWhat this change does, recorded with it.
session_tokenstring | nullnonSession token from a previous tool response. IMPORTANT: Always pass the session_token from the most recent tool response to maintain session continuity.
api_keystring | nullnonOpenFactory MCP API key (optional).

list_internal_repositories

List the package source repositories you own.

Aucun paramètre.

create_internal_repository

Create, seed, clone, and authorize an internal-only Git repository.

ParamètreTypeRequisDescription
namestringouiShort tenant-local repository name.
descriptionstringnonOne-line purpose written to README.md.

attach_internal_repository

Clone and authorize an existing repository owned by this tenant.

ParamètreTypeRequisDescription
namestringouiRepository id or unambiguous name returned by list_internal_repositories.

publish_internal_repository

Publish 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.

ParamètreTypeRequisDescription
namestringouiAttached repository id, checkout name, or unambiguous label returned by list_internal_repositories.
branchstring | nullnonBare branch name to publish -- the branch you pushed. Omit for 'work', which is where file writes over MCP commit. Not a refname and not a path.

write_internal_repository

Commit 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.

ParamètreTypeRequisDescription
namestringouiAttached repository id, name, or unambiguous label returned by list_internal_repositories.
filesstring | array<any>ouiFiles to write, as [{path, content}] or [{path, content_b64, mode}]. Paths are repository-relative. Binaries and file modes are supported.
messagestringouiCommit message.
deletestring | array<any> | nullnonRepository-relative paths to remove in the same commit.
base_revisionstring | nullnonOmit to commit on top of the current work tip. Pass 'main' to restart work from the published main and re-apply these files. Pass a commit SHA to require the work tip to be exactly that.

submit_obs_package

Build 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.

ParamètreTypeRequisDescription
repositorystringouiAttached internal repository id, checkout name, or label -- the one holding the source you want built, as returned by list_internal_repositories.
packagestringouiSource-package name to build it as. Becomes the OBS package name and the last segment of the project path; use the Debian source package name from your debian/control.
revisionstringnonBranch, tag, or SHA that must already exist in the published repository. Call publish_internal_repository first.
targetsarray<string> | nullnonPackage target ids such as debian-13, ubuntu-24.04, fedora-44. Defaults to the target implied by the build's base image.
build_idstring | nullnonBuild this package is being made for. Scopes the OBS project to that build, picks the default target from its base image, and records the submission on the build row.
build_dependenciesarray<string> | nullnon
build_preferencesarray<string> | nullnon
rebuild_policystring | nullnon
reconcile_stalled_publicationbooleannonReconcile only stale successful Debian publication through native project metadata, without resubmitting source; preserves explicit disables, ownership, admission and signature checks.
retry_stalled_failed_sourcebooleannonOpt in to one failed-only native retry per selected target after confirming this exact Debian source revision; ordinary ownership and package allowance checks remain required.

get_obs_package_status

Read 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.

ParamètreTypeRequisDescription
projectstringouiFull OBS project path returned by submit_obs_package, or build: to observe this account's package project for an authorized build. The alias does not prove an unrecorded source revision.
packagestringouiOBS package name returned by submit_obs_package.
include_repository_key_digestbooleannonRead the authorized project's native public signing-key SHA256, for authenticating a portable package bundle; returns no key or credential bytes.

get_obs_package_log

Return 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.

ParamètreTypeRequisDescription
projectstringouiFull OBS project path returned by submit_obs_package.
packagestringouiOBS package name returned by submit_obs_package.
repositorystring | nullnonOBS repository such as Debian_13. Defaults to the first repository OBS reports a result for.
archstringnonBuild architecture.
tail_linesintegernonHow many trailing log lines to return (max 2000).
start_byteinteger | nullnonOptional bounded historical search offset. Requires repository and search_text.
last_completedbooleannon
search_textstring | nullnonLiteral text to find within one bounded log window, with nearby context. Requires start_byte and repository.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://console.openfactory.tech/api/mcp-stream/plugin/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http openfactory https://console.openfactory.tech/api/mcp-stream/plugin/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : openfactory ; URL : https://console.openfactory.tech/api/mcp-stream/plugin/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : openfactory ; Server URL : https://console.openfactory.tech/api/mcp-stream/plugin/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "openfactory": {
      "url": "https://console.openfactory.tech/api/mcp-stream/plugin/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "openfactory": {
      "type": "http",
      "url": "https://console.openfactory.tech/api/mcp-stream/plugin/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "openfactory": {
      "url": "https://console.openfactory.tech/api/mcp-stream/plugin/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "openfactory": {
      "httpUrl": "https://console.openfactory.tech/api/mcp-stream/plugin/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.openfactory]
url = "https://console.openfactory.tech/api/mcp-stream/plugin/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

OpenFactory · L’Atlas · Test du

Markdown
[OpenFactory — L’Atlas](https://latlas.dev/mcp/tech.openfactory/openfactory)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.