Technical documentation · MCP & local runtime

Documentation

Connect any MCP client to four live systems in one line, verify deterministic SHA-384 and post-quantum ML-DSA-87 receipts offline, or run compiled pure-Rust binaries inside --network none rollout containers with zero rate limits.

1. Run a purchased Foundry pack · 2. Try the Foundry preview and the public MCP · 3. Integrate the runtimes

1. Run a purchased Foundry pack

An off-the-shelf Foundry task pack arrives as one self-contained archive with its SHA-384 digest. The first five minutes:

  1. Verify the archive against its SHA-384 line: save it as pack.sha384 and run shasum -a 384 -c pack.sha384.
  2. Unpack the archive (for example, tar -xzf ztp-foundry-rack-flagship-v1.tar.gz), then shasum -a 384 -c SHA384SUMS in the folder.
  3. Smoke test: bash verify_pack.sh (or bash verify_pack.sh --docker).
  4. Run the Harbor 0.26 or OpenEnv tasks with no network; the archive’s README.md has the rollout commands.

Air-gapped local container runtime

Commercial Foundry task packs and Foundry runtime licences ship compiled, zero-dependency closed-binary pure-Rust system runtimes and verifiers for Linux x86-64, Linux arm64, and macOS arm64 as native Harbor 0.26 tasks and stdio MCP servers.

  • Zero sandbox egress: Rollout workers communicate with the local physics binary over stdio inside docker run --network none containers while your host harness mediates model calls.
  • Cross-architecture determinism: Every Foundry system runtime and the open engine (96,765 open-engine rollout answers; 1.85–15.81 μs per open-engine card step) produce 0 seal divergences across macOS arm64, Linux arm64, and Linux x86-64.
  • Offline scoring, no LLM judge: A separate isolated verifier container recomputes coupled physics against hidden specimen state and verifies physical safety boundaries and SHA-384 seals without any LLM judge.
  • Open-engine samples: The open physics library (Apache-2.0 open engine v0.15.3) is archived on GitHub alongside five 5-task evaluation sample sets on Hugging Face.

2. Try the Foundry preview and the public MCP

The runnable Foundry preview is on Hugging Face: zero-trust-physics-foundry-preview. All four Foundry systems also run live at the public MCP address, with no key.

Connect to the live Vivarium

https://mcp.zerotrustphysics.com/mcp

Four closed systems run on a shared public 15-minute UTC clock: foundry_rack (Liquid-Cooled AI Compute Rack), orbital_bus (Spacecraft Bus), robotics_cell (Robotic Lab Cell) and reactor_xenon (PWR Nuclear Core — Xenon-135 Load-Follow). No account and no API key.

MCP config file (coding agents and custom harnesses)

Add this server entry to your Model Context Protocol configuration:

{"mcpServers": {"zero-trust-physics": {"type": "http", "url": "https://mcp.zerotrustphysics.com/mcp"}}}

Chat assistants with custom MCP connectors

Add a custom MCP connector, enter https://mcp.zerotrustphysics.com/mcp, select no authentication, and enable the connector in your session.

A first call

Each HTTP POST is stateless and self-contained, with no session handshake. list_systems {} names the four systems:

curl -s https://mcp.zerotrustphysics.com/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_systems","arguments":{}}}'

If calling from Python’s standard-library urllib, include an explicit User-Agent header so Cloudflare’s bot filter does not return HTTP 403.

The six Vivarium tools

list_systems
Names the four systems, their clock and their chain length.
describe_system
One system’s setpoints and bounds, declared limits with their sources, public schedule, evidence class and chain semantics. Read it before a first write.
read_system
Indicated channels and the margin to every declared limit: the public plant at the current tick (the same bytes for every visitor), or the head of your own chain.
write_system
Applies bounded setpoints for hold_s seconds. Without a chain_token it forks the public plant; with one it extends your chain (24 steps at most), and heat, wear, charge, propellant, reagent and Xe-135 carry forward. Out-of-range setpoints are refused, never clamped.
grade_episode
Replays the chain, scores it against every declared limit (and the demand curve, for the reactor) and returns signed_receipt, signed ML-DSA-87, with the public key beside it.
verify_receipt
Verifies that receipt: send response_text = signed_receipt and public_key = signature.public_key. matches and signature.holds come back true.

The door keeps nothing between requests, so re-sending an earlier chain_token branches on purpose. Single-timeline, budget-locked evaluation belongs to the offline Foundry task packs and Exclusive batches.

Connect to the open physics library

https://mcp.zerotrustphysics.com/mcp/open

The open engine v0.15.3, byte for byte (also at /mcp/v0.15.3). A library tool called on /mcp answers OpenLibraryMovedToMcpOpen and runs nothing.

curl -s https://mcp.zerotrustphysics.com/mcp/open \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

list_cards {} lists every time-stepping model the library serves:

curl -s https://mcp.zerotrustphysics.com/mcp/open -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_cards","arguments":{}}}'

The open library tools

Inspect models & specifications

list_cards
Lists all 36 time-stepping models, each with what it computes, its validation against published hardware measurements or reference codes, its largest out-of-sample gap, and its validation tier (compared with measurement, held to a reference calculation, or analytical reference model).
list_solvers
Lists all 25 steady-state, boundary-value, and field solvers with the same validation metadata.
describe_card
Returns one card’s full specification: inputs, SI units, valid ranges, named physical stops, six-part numerical validation sheet, and a runnable example request. Pass "form": "short" for a compact summary.
describe_solver
Returns the same complete six-part specification and runnable example for one field solver.
find_model
Maps a plain-English hardware description to matching models with operating ranges and validation metrics. Retired model IDs return RetiredModel naming the active replacement ID.
cite
Returns plain-text and BibTeX citations for the engine, the Zenodo v2.0 paper, and the primary experimental sources behind any model.

Simulate, sweep & invert

compute_step
Advances a time-stepping card by one step and returns state, conservation residual, and cryptographic seal. (verify_step is preserved as an alias.)
run_trajectory
Integrates a multi-segment trajectory under time-varying loads with a closed conservation ledger and run_seal.
solve
Executes a steady-state or boundary-value field solver and returns its solution and solution_seal.
run_dataset
Executes a deterministic sweep of trajectories or solves sealed under a single Merkle-like dataset_seal.
validate_series
Compares a trajectory or solver sweep directly against measurement arrays you supply and returns exact error metrics.
find_flip
Bisects a load or parameter to locate the exact physical regime boundary or failure threshold, returning sealed runs on both sides.
design_run
Deterministic inverse solver: computes the input loads required to reach a target physical end state with bit-identical reproducibility.

Verify proofs & signatures

verify_tape
Recomputes and verifies a trajectory’s run_seal (and optionally verifies its ML-DSA-87 signature against public_key and seen_nonces).
verify_solution
Recomputes and verifies a solver’s solution_seal and optional signature.
verify_dataset
Recomputes and verifies a sweep’s dataset_seal and optional signature.
verify_receipt
Verifies byte-for-byte payload integrity against receipt_sha384 and verifies the ML-DSA-87 signature.

Every trajectory proof is named run_seal, every solver proof solution_seal, and every sweep proof dataset_seal, each a 96-hex-character SHA-384 digest under zero-trust-physics/seal/v2, followed by receipt_sha384 over the canonical payload.

Post-quantum attestation (open endpoint)

Every receipted answer served at the open HTTP endpoint (compute_step, verify_step, run_trajectory, solve, run_dataset, validate_series, and design_run) carries a FIPS 204 ML-DSA-87 signature over its receipt digest, issue timestamp, 3,600-second expiry, and unique nonce: "signature": {"alg", "key_id", "issued_at", "expires_at", "nonce", "value"}. Stripping the signature wrapper leaves the exact byte-identical unsigned payload produced by air-gapped local binaries.

Operator answer key

Fetch the 2,592-byte base64 public key from GET /answer-key and verify that its SHA-384 key_id matches:

ca06027a972c81c8630fed9f4ea2d4e91596b9434a88a03b7eb325b24e40645b7090cb705927745e73ee8b272eb1be38
curl -s https://mcp.zerotrustphysics.com/answer-key

Worked example: physical boundary & sealed refusal

Querying a 12-cell, 22 Ah lithium-ion pack analytical reference model (energy/battery_sag, 36.0 V undervoltage cutoff) under a 10-minute 71.44 A discharge:

curl -s https://mcp.zerotrustphysics.com/mcp/open \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -o answer.json \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"run_trajectory","arguments":{"domain":"energy","card":"battery_sag","initial":{"soc":1.0},"dt_s":0.1,"segments":[{"steps":6000,"load":{"current_a":71.44}}],"record_every":6000}}}'

The pack completes all 6,000 steps and finishes 0.0003 V above its 36.0 V cutoff:

"outcome": "completed"
"steps_landed": 6000
"final_state": { "t_s": 6.000000000000679e2, "soc": 4.587878787877244e-1,
                 "terminal_v": 3.600029381817893e1,
                 "cutoff_margin_v": 2.9381817893181505e-4, ... }
"run_seal": "d18acfdf04f5dd59a4baad927675e3b32c17ea57ee7867a20f3e7248634b93b3548210790ff6f935f67bd659662a3fea"
"seal_rule": "zero-trust-physics/seal/v2"
"receipt_sha384": "dccd841682e75b89dc6da7c3a14355ce5ddc37956902d1f13e4dc3ef430c29236f1290fbf278560c3731c661112434dc"
"signature": { "alg": "ML-DSA-87", "key_id": "ca06027a...", "issued_at": ...,
               "expires_at": ..., "nonce": ..., "value": ... }

Increasing current by 0.01 A to 71.45 A crosses the physical cutoff 0.2 seconds before completion, sealing through step 5,998 and naming the exact refusal:

"outcome": "refused"
"reject": "UndervoltageCutoff"
"reject_detail": "Physical Failure: the pack reached the 36.0 V cutoff
  (UndervoltageCutoff). The run is sealed to step 5998. The state at step 5999
  was refused and is not sealed."
"steps_landed": 5998
"run_seal": "fedb254bf6860a0b58117860483061a5719bfed7114b16a1a3dc4c115214ea161befa76cd5d934e9555991cb1ab37b20"

Extrapolation flags vs. physical refusals

Beyond its experimentally tested calibration range, a model continues integrating with the same governing equations and attaches an explicit warning flag (naming the bound, the observed value, and the excursion) to every step. It halts only at a true physical failure boundary or numerical stability ceiling: for example, discharging the Panasonic 18650PF cell card (cell_18650pf, calibrated near 2.9 A) at 5.0 A flags the current excursion on each step until UndervoltageCutoff at step 193, whereas requesting a 17.436 s step above its 10.4616 s Courant/stability ceiling returns an immediate pre-run refusal (DtAboveCeiling).

Independent proof verification

Via verify_tape (recompute + signature verification)

Pass the original request and run_seal, or pass the complete signed payload plus public_key and seen_nonces:

{ ...complete signed run_trajectory payload...,
  "public_key": "<base64 key from GET /answer-key>",
  "seen_nonces": [] }
SignatureDoesNotVerify
Payload or receipt was altered, or signature was not produced by the operator key.
SignatureExpired
Current clock exceeds expires_at (the underlying deterministic physics seals remain valid).
SignatureKeyMismatch
Signature key_id does not match the SHA-384 digest of the supplied public_key.
SignatureNonceReplayed
Signature nonce already appears in the caller’s seen_nonces ledger.

Standalone Python verifier (no engine required)

Verify saved receipts and ML-DSA-87 signatures offline using the open-source Apache-2.0 verification tools:

git clone https://github.com/johnkruze/zero-trust-physics
pip install dilithium-py==1.5.1
curl -s https://mcp.zerotrustphysics.com/answer-key \
  | python3 -c 'import json,sys; print(json.load(sys.stdin)["public_key"])' > answer_key.b64

Running the repository’s verifier with --public-key answer_key.b64 confirms run_seal, receipt, and signature independently (exit code 0 when all proofs hold).

Open HTTP preview limits

Public HTTP preview only. The rate, step, and concurrency caps below apply strictly to the shared unauthenticated open library endpoint (https://mcp.zerotrustphysics.com/mcp/open). Commercial Foundry task packs and runtime licences execute locally inside your own --network none rollout containers with zero rate limits, zero concurrency queues, and unlimited parallel CPU workers.
Vivarium
300 requests/min per IP on /mcp, one call in flight, before HTTP 429 with Retry-After.
Rate & payload limits
300 requests/min and 4 concurrent requests per IP (16 global in-flight) on the open endpoint before HTTP 429 with Retry-After. Request bodies up to 4 MiB on trajectory/dataset/verification tools and 2 MiB on others.
Trajectory & sweep bounds
Up to 1,000,000 steps and 10,000 recorded states per trajectory; up to 300 runs (1,000,000 total steps) per run_dataset.
Solver batch budget
Up to 64 solves or 15 seconds of worst-case solver time per run_dataset plan on the open connection (for example, 1 solve of 2D charring ablation ablator_slab or icf_hotspot_burn, 4 of fuel_rod_triga_jsi, 30 of atom_dft).
Shared long-work slot
The public endpoint executes one heavy solve or >10,000-step sweep at a time (60 s timeout) and returns Too many concurrent physics tasks. immediately rather than queuing; retry after a brief pause.
Context-window tip
Chat assistants often truncate tool outputs above ~150 KB; pass a larger record_every stride when running long trajectories interactively.

3. Integrate the runtimes

Teams writing and grading their own tasks at cluster scale license the Foundry runtimes and verifiers under Runtime & private infrastructure (scoped & invoiced).

How the runtime executes

Air-gapped local binary
stdio · --network none
Included in every Foundry task pack and runtime licence. Runs inside your own --network none rollout containers with zero internet egress, zero rate limits, zero concurrency queues, and linear scaling across thousands of parallel CPU worker cores.
Live Vivarium
https://mcp.zerotrustphysics.com/mcp
Public, unauthenticated: the four Foundry systems on a shared clock, through six tools, with signed grades.
Open library
https://mcp.zerotrustphysics.com/mcp/open
Public, unauthenticated: the open engine v0.15.3, to inspect specs, run simulations, and verify SHA-384 + ML-DSA-87 proofs.

Help

Questions while you build, an invoice or a PO: team@zerotrustphysics.com. You hear back within one business day.

Reference links

Off-the-shelf Foundry task packs
https://zerotrustphysics.com/offers/#flagship
Exclusive batches, custom environments & runtime licensing
https://zerotrustphysics.com/offers/#scoped
Open-weight sets & open-engine samples
https://zerotrustphysics.com/offers/#samples
The open physics library
https://zerotrustphysics.com/systems/
Agent context (llms.txt)
https://zerotrustphysics.com/llms.txt
Operator answer key
https://mcp.zerotrustphysics.com/answer-key
Technical paper (v2.0, Zenodo)
https://doi.org/10.5281/zenodo.23517223

For agents and engineers

Connect your agent.

Point any MCP client at this address and your agent can read, drive and grade four running systems: the AI compute rack, the spacecraft bus, the lab cell and a PWR core. No key needed.

https://mcp.zerotrustphysics.com/mcp

A first call: list_systems {}. Then read a system, write to it, and get a signed grade.

No LLM judge · --network none · CPU-native Rust · SHA-384 proofs, identical on Linux x86-64, Linux arm64 and macOS arm64.

curl -s https://mcp.zerotrustphysics.com/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_systems","arguments":{}}}'

The open physics library is at https://mcp.zerotrustphysics.com/mcp/open. A first call there: list_cards {}