once

v0.2.1
io.github.stringsofthemind-oss/once Checked 5 hours ago Published 1 month ago

Developer assessment/setup MCP; admitted Once boundaries protect writes, not sibling connectors.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

once_assess_project Assess project for unsafe retry paths

Use this first when code performs payments, refunds, payouts, bookings, orders, provisioning, database/API writes, consequential messaging, deployments, MCP writes, or other side effects. Scans the project for likely consequential operations without modifying files.

ParameterTypeDescription
includeEstimatesbooleanInclude Once scanner estimates in the report.
projectPathstringAbsolute or relative project directory. Defaults to the MCP server working directory.

once_explain_risk Explain retry risk for a consequential operation

Explain why a specific operation may need Once. Use when an agent or developer is deciding whether a payment, refund, booking, order, provisioning action, database/API mutation, webhook, deployment, MCP write, or other external side effect needs execution-safety protection.

ParameterTypeDescription
operation *stringPlain-language description of the consequential operation.
retryScenariostringOptional timeout, retry, crash, queue-redelivery, or ambiguous-failure scenario.

once_plan_setup Preview Once setup

Preview how Once would be configured in a project without applying setup. Use after assessing a project and before allowing an agent to install or configure Once.

ParameterTypeDescription
projectPathstring
runtimeHttpTargetUrlstringOptional HTTPS target for Runtime HTTP replay protection.

once_setup_project Install and configure Once

Apply Once setup to a project. This may install dependencies and modify project files. Call once_plan_setup first, present the plan to the user, and only call this tool after explicit approval.

ParameterTypeDescription
confirm *stringExplicit confirmation token. Must be exactly SETUP.
projectPathstring
runtimeHttpTargetUrlstringOptional HTTPS target for Runtime HTTP replay protection.

once_plan_protection Plan Once protection

Review candidate operations for Once protection without applying code changes. Use after once_assess_project to understand which call sites are patchable and why.

ParameterTypeDescription
includeAllConfidenceLevelsbooleanInclude all confidence levels rather than the default candidate set.
projectPathstring

once_apply_protection Apply Once protection

Transactionally apply exactly one PATCHABLE Once protection candidate. This modifies source code and creates a backup. Call once_plan_protection first, show the proposed target to the user, and only proceed after explicit approval.

ParameterTypeDescription
confirm *stringExplicit confirmation token. Must be exactly APPLY.
projectPathstring

once_verify_connection Validate local diagnostics and configured Once Cloud connection

Run local read-only diagnostics. With ONCE_API_KEY, also request Cloud connection/truth checks. Read cloudVerified explicitly: ok means the requested diagnostics passed, not that Cloud is configured or any provider action is protected. Does not print the API key.

once_live_proof Get Once live-proof evidence and claim boundaries

Return the current demonstrated Once proof, public evidence links, and safe claim boundaries. Use when deciding whether Once has evidence for duplicate suppression rather than relying on marketing language.