Boundary
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Ontral Boundary
Audit an RL or agent-evaluation environment before you train on it. Boundary is an open-source MCP server and CLI. It checks whether an environment's reward actually tracks the task, confirms suspected defects on fresh state, tests the isolation the environment declares, tells you which evidence a change invalidates, and writes evidence packets anyone can verify. It is local-first: no account, no cloud service, no telemetry.
Boundary never says an environment is safe. Every result is scoped: under BoundarySpec S, environment version V and audit profile P, these requirements passed, these failed, these remain unknown.
A measured run
Captured on 2026-11-28 with Boundary 1.0.0 (built wheel, clean virtual environment) on Windows 11 with Docker Desktop 29.6.1, against the bundled Reservation Lab, whose three defects are deliberate. The spec was still DRAFT: approving it needs a human at a terminal, so this run could reproduce and suspect, but not confirm. Measured: boundary inspect 1.4 s, this standard audit 110 s wall time, exit code 3 (incomplete: unknowns remain).
$ boundary audit examples/reservation-lab --mode standard
Audit aud_01M8H605NADCPGY8QAXF4E6AS6: COMPLETED
? TASK_SOLVABILITY UNKNOWN
~ REWARD_SOUNDNESS INCONCLUSIVE
✓ GRADER_CONSISTENCY PASS
~ CROSS_RUN_ISOLATION INCONCLUSIVE
~ PERSISTENCE INCONCLUSIVE
- UNDECLARED_EGRESS UNSUPPORTED
~ HIDDEN_STATE_SEPARATION INCONCLUSIVE
~ RESET_INTEGRITY INCONCLUSIVE
✓ DETERMINISM PASS
Findings:
fnd_01M8H62JWRNNSPEN24QZZDSTYF REWARD_WITHOUT_TASK REPRODUCED
REWARD_WITHOUT_TASK: reward earned; no approved requirement has no independent oracle; confirmation needs an independent oracle or human review; reward 1 (spec probe F1, reproduced 1/1)
fnd_35CHR1XG44MYD9HBSPWAS58W4T CROSS_RUN_STATE SUSPICION [isolation.persistence]
Concurrent runs run_aud_01M8H605NADCPGY8QAXF4E6AS6.isolation.bm10.crossrun.1 (A) and run_aud_01M8H605NADCPGY8QAXF4E6AS6.isolation.bm10.crossrun.2 (B) share state: B read A's marker at main:/data (volume reservation-lab-data)
fnd_4WER3Z0B7J5407RKEGHYF0NNFA CROSS_RUN_STATE SUSPICION [isolation.persistence]
A marker written in run 1 was readable in fresh run 2 at main:/data (volume reservation-lab-data); isolation.persistence forbids carried state (runs run_aud_01M8H605NADCPGY8QAXF4E6AS6.persistence.bm10.persistence.1, run_aud_01M8H605NADCPGY8QAXF4E6AS6.persistence.bm10.persistence.
fnd_510J1ME1NV8VA6G67Z4KAA9VSY HIDDEN_STATE_EXPOSURE SUSPICION [isolation.hidden_paths]
Hidden environment/fixtures/expected_inventory.json (sha256:6b422011157007dd, digest match) is readable by the agent's default user at main:/app/fixtures/expected_inventory.json during the agent phase
Counts: {'confirmed': 0, 'suspected': 4, 'unknown_properties': 7}
Overall: NO_CONFIRMED_FAILURES_WITH_UNKNOWNS
Under BoundarySpec spec_b09870804ea85634 (DRAFT), environment env_db5fff48c5c1bd86 and audit profile standard on docker: 2 properties passed, 0 failed with confirmed evidence, 7 remain unknown, inconclusive, unsupported or not run; untested: 41 more. Not claimable: spec status is DRAFT, not APPROVED; in-scope properties are INCONCLUSIVE, UNKNOWN, UNSUPPORTED, not all PASS.
Evidence: C:\t\bm18\demo\state\evidence\evp_849bbfbda9b5665c\report.md
Next:
- a human must approve the requirements before findings can be confirmed
- confirm this REPRODUCED finding with fresh reproductions
- confirm this SUSPICION finding with fresh reproductions
- write the evidence packetGrader consistency and determinism passed, yet a probe that skips the required retry still earns reward (REWARD_WITHOUT_TASK, reproduced). The expected answer is readable by the agent (HIDDEN_STATE_EXPOSURE), and state carries across runs through an external volume (CROSS_RUN_STATE). After boundary spec approve SPEC_ID and boundary confirm FINDING_ID, findings can reach CONFIRMED; nothing here is shown as PASS that was not checked. The full capture, including boundary inspect, is kept with the release evidence.
Related MCP server: emo-cyber-agent
Install
Boundary needs Python 3.11 or newer. boundary inspect needs nothing else; runtime checks (audits, confirmation, witness replay) need Docker.
uvx ontral-boundary-mcp --helpuv tool install ontral-boundary-mcpThe package installs two commands: boundary (the CLI) and ontral-boundary-mcp (the stdio MCP server, equivalent to boundary mcp serve --stdio).
boundary doctordoctor reports the Python and MCP SDK versions, whether Docker and Compose are available, the state directory and its key, and the approval channels. It prints no secrets.
Use it from an MCP host
Documented setup for Claude Code, once the package is on PyPI:
claude mcp add boundary -- uvx ontral-boundary-mcp --root .Then ask: "Audit examples/reservation-lab with Boundary before I train on it."
What was recorded (COMPAT-CLAUDE-001, Claude Code 2.1.332, 2026-11-28): the server was a locally built 1.0.0 wheel in a clean virtual environment, added by its direct path with claude mcp add --scope project in a scratch project and launched headless with claude -p --strict-mcp-config --mcp-config .mcp.json. The uvx form above was not the recorded command. The workflow completed only after two scripted follow-up user turns that name no tool. Details: docs/CLIENT_COMPATIBILITY.md.
Other hosts are NOT TESTED; docs/MCP_SETUP.md lists the server flags and what has been recorded.
The server exposes 12 tools (boundary_inspect, boundary_spec_draft, boundary_spec_validate, boundary_spec_approve, boundary_audit, boundary_status, boundary_cancel, boundary_confirm, boundary_diff, boundary_evidence, boundary_verify, boundary_get), 12 boundary:// resource templates, 5 guide resources and 4 prompts. Spec approval always needs a human: a host that supports form elicitation shows the exact requirement text; otherwise Boundary answers AUTHORIZATION_REQUIRED and asks you to run boundary spec approve SPEC_ID in a terminal.
Use the CLI
boundary inspect examples/reservation-labboundary spec validate examples/reservation-labboundary spec approve SPEC_IDboundary audit examples/reservation-lab --mode standardboundary evidence build AUDIT_ID --format markdownboundary evidence verify packet.jsonEvery command accepts --json, --root PATH, --state-dir PATH and --config-dir PATH. Exit codes: 0 no confirmed failures, 1 confirmed failures, 2 usage or input error, 3 incomplete or unsupported, 4 internal error. See docs/QUICKSTART.md.
What it does
Question | Boundary |
What exactly is this environment? |
|
What counts as solving it? | A |
Is it solvable as specified? | The reference solution is checked against independent oracles, not only the grader. Without an oracle the result is |
Can reward be had without the task? | No-op, reward-file, mutation and declared-shortcut checks in a sandbox. |
Do isolation assumptions hold? | Persistence, cross-run, hidden-file and reset checks with harmless Boundary-owned markers. |
Is a finding real? | Fresh-state reproduction with controls; only then CONFIRMED. |
Can someone else reproduce it? | A witness: |
What did my change invalidate? |
|
Can I share the result? | Boundary Evidence Format v1 packets (canonical JSON with digests, Markdown, HTML, optional signatures): |
Limits
Not a safety verdict. Results are scoped to a spec, an environment version and an audit profile. UNKNOWN, UNSUPPORTED, NOT_RUN and INCOMPLETE are never shown as PASS.
Not a sandbox or a security scanner. Untrusted environment, grader and probe code runs only in Docker containers with network denied by default. Containers are not a strong isolation boundary; use rootless Docker or a hardened runtime for hostile code. Boundary does not scan networks or third-party hosts.
One environment format. Harbor task directories (
task.toml,instruction.md,environment/,tests/test.sh,solution/solve.sh). Other formats need an adapter (docs/ADAPTER_GUIDE.md).Deep mode is experimental and disabled by default. Model-assisted search needs a configured provider, an explicit request and a recorded consent. It is outside the 1.0 stability promise.
Remote mode (Streamable HTTP) is NOT TESTED in this release's documentation; see docs/MCP_SETUP.md.
Quick audits are never claimable; a claimable result needs an approved spec and the standard profile.
Docs
Quickstart · MCP setup · Client compatibility · BoundarySpec · Evidence format · Architecture · Threat model · Adapter guide · Security policy · Contributing · Changelog
Licensed under the Apache License 2.0 (LICENSE, NOTICE).
Maintainer
Ontral Boundary is published by Ontral AI. Founder and maintainer: prathyuush1.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
MCP-native AI evaluation: rubric audits, eval suites, and proof reports for AI/LLM output.
Verifiable execution records for AI agents: signed receipts, tamper-evident archives and portable evidence bundles, exposed via MCP and REST, with paid verify and anchor calls settled over x402.
Governed MCP: agent audit, provenance, deterministic checks, and receipt-backed FragGate execution.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables deterministic verification of AI agent decisions and actions, providing PASS/FAIL/ABSTAIN verdicts with replayable proofs and an optional signed receipt ledger.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible agent hosts to delegate governed, read-only security audits and reviews of code, applications, agents, prompts, MCP configurations, and cloud environments through evidence-first findings and stable schemas.2Apache 2.0
- AlicenseAqualityBmaintenanceEnables coding agents to probe and audit RL environment verifiers for false passes and false fails by running scans, inits, background audits, and results retrieval as MCP tools. Exposes discovery, repro, and completion-inspection tools so agents can find grading defects before training does.13437 PyPI1Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables coding agents to run bounded local profiling, tracing, benchmarking, and capture operations from explicit artifacts or commands, then inspect typed evidence, provenance, coverage, limitations, and preserved replay sources through MCP tools.-