mova-flat-runner

v2.0.6
io.github.mova-compact/mova-flat-runner Checked 1 day ago Published 7 months ago

Governed AI workflows with human approval gates and audit trails for Claude and MCP clients.

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

mova_run

Start a MOVA contract execution. Before calling, read the manifest resource mova://contracts/{contract_type}/manifest to understand required inputs (DataSpec) and available decision options. Built-in contract types: invoice, po, trade, aml, complaint, compliance, credit, supply_chain, churn, contract_gen. For custom registered contracts use mova_contract with action=run.

ParameterTypeDescription
contract_type *stringBuilt-in type: invoice | po | trade | aml | complaint | compliance | credit | supply_chain | churn | contract_gen
inputs *objectContract inputs per the DataSpec in the manifest. Read mova://contracts/{contract_type}/manifest first.

mova_decide

Submit a human decision at a contract gate. Uses ENV kind env.decision.submit_v0. contract_id comes from the mova_run response, not from business IDs.

ParameterTypeDescription
contract_id *stringContract ID from mova_run response
option *stringDecision option_id from the decision gate (e.g. approve, reject, escalate)
reasonstringHuman reasoning for the decision

mova_query

Query contract state or retrieve the signed audit trail.

ParameterTypeDescription
contract_id *string
view *stringstatus = current state | audit = signed receipt | audit_compact = full event journal

mova_registry

Browse the MOVA contract marketplace, connector catalogue, or your own contracts.

ParameterTypeDescription
scope *stringcontracts = public marketplace | connectors = available connectors | my_contracts = your registered contracts
keywordstringOptional filter keyword

mova_connector

Manage connector overrides for your org. Overrides replace the sandbox mock with your real endpoint.

ParameterTypeDescription
action *string
auth_headerstringAuth header name, e.g. X-Api-Key
auth_valuestringSecret value — never echoed back in the response
connector_idstringe.g. connector.ocr.document_extract_v1
endpointstringYour HTTPS endpoint URL
labelstring

mova_contract

Manage your own registered MOVA contracts: list, register, set visibility, delete, run, or check run status.

ParameterTypeDescription
action *string
connector_overridesobjectPer-run connector overrides
contract_idstring
descriptionstring
execution_modestringdeterministic | bounded_variance | ai_assisted | human_gated
inputsobjectInput key-value pairs for run action
required_connectorsarray
run_idstringrun_id from a previous run action
source_urlstringHTTPS URL to the contract JSON
titlestring
versionstring
visibilitystringprivate or public

mova_health

Check MOVA runner health: config completeness, API connectivity, registered validator count, version.