Connect with MCP.
Use zenture from an AI client that supports remote MCP over Streamable HTTP and OAuth. Your client discovers the tools and calls them on your behalf; you do not need to build a REST integration.
1. Connect your client
Add the following remote server URL in your client’s MCP or connector settings. Complete the OAuth sign-in and authorise zenture access when prompted. The product permission is mcp:run. This connection uses OAuth, rather than the API token shown in the REST examples.
https://mcp.zenture.app
Setup screens and supported features differ by client. Use the tools your connected host actually advertises; a host that cannot make HTTP uploads cannot send files.
2. Evaluate one selected answer
Select the answer you want evaluated and provide the original task and explicit criteria. Preserve citations: factual statements are checked against the HTTP or HTTPS sources cited in the answer. Send the answer as inline text, not as a bare URL or file. The following example checks a simple formatting requirement.
Save a new idempotency_key before each new evaluation. This example shows arguments for the run tool, not an HTTP request or a client configuration file.
{ "task": "The answer must name exactly two colours.", "artifact": { "type": "text", "value": "Blue and green." }, "idempotency_key": "colour_check_001"}
Omitting profile uses standard. Choose fast or detailed only when the user explicitly requests it. Runs use credits; waiting for a result costs no extra credits.
3. Read the result
Copy the run_id returned by run into get_run. Use wait_seconds: 20 to wait for completion (0 to 20 seconds; a longer value is clamped to 20). If the response is still non-terminal, call get_run again for the same Run. A wait timeout does not cancel or restart the Run.
{ "run_id": "<run_id returned by run>", "wait_seconds": 20}
completed means technical completion, not acceptance. Read acceptance_decision to understand whether the evaluated answer is Ready, needs revision (Revise), needs Human review, or has Not enough evidence. The API returns these as ready, revise, human_review and insufficient_evidence. The findings list what to fix, reason and next_action say why and what to do next, and hint guides the next call. billing carries the charge and is returned only with view=full; the full view also adds per-criterion and per-statement detail. A revision Run also reports changes (resolved, open, new). If the retained result is no longer available, the hint says so while the Run stays readable.
Tool reference
| Tool | Use it to |
|---|---|
run | Start an evaluation of one explicitly selected text answer against its task and criteria. |
get_run | Read status and results; optionally wait 0 to 20 seconds (wait_seconds); view=full adds criteria, statements and billing. |
rerun | Re-check a revised answer against an earlier Run; returns each earlier finding as resolved or open, plus new ones. |
list_runs | Find existing Runs, including after an interrupted connection. |
cancel_run | Request cancellation of a Run that is still in progress. |
record_run_outcome | Record what the user decided to do after reviewing the result. |
attach_artifact | Register a file (PDF, DOCX, XLSX, TXT, MD, CSV, JSON, YAML, PNG or JPEG, up to 10 MiB); returns an artifact_ref. |
get_standards | List your standards with their version, restorable_versions and suggested_criterion. |
create_standard | Add a standard in the user's words (at most 8 per owner). |
edit_standard | Change a standard with expected_version plus field edits, restore_version or use_suggested_criterion. |
Recover without starting another Run
After a timeout or lost response, retry run with the saved key and exactly the same task, artifact, profile and predecessor. If no key was saved, use list_runs to identify the existing Run before starting another evaluation. A JSON-RPC request ID is not an idempotency key.
Follow the returned error code and next_action. An idempotency_conflict means the key was reused with a different request; restore the original request when recovering that operation. Missing or expired authorization requires an explicit OAuth login. For PermissionDenied or HTTP 403, check the required permissions: logging in again does not expand access.
Files
attach_artifact is always offered. It registers an actual selected file and returns an artifact_ref; it does not submit a file for evaluation, and file bytes never travel through tool arguments. Which answer you get depends on what the host can do:
- With
file_name,mime_type,byte_sizeandcontent_hash, you get a single-use upload link:upload_url,upload_id,upload_token,artifact_ref,expires_atand anuploadobject (methodPUT,url,headerswithX-Upload-TokenandContent-Type). Send the exact bytes with HTTP PUT to that URL, then callrunwith the reference. - A host that supplies the file bytes with the call gets the
artifact_refback already registered; a host that supplies a file reference has the file fetched for it. No upload is needed. - With only a
file_name, you get anupload_page_urland ahint: the user uploads the file in the browser and returns the reference.
While a file is still being read, run answers artifact_not_ready; retry after retry_after_seconds. The edited outcome in record_run_outcome and the reference_file of run take an artifact_ref. An agent that cannot make HTTP uploads tells the user and asks for the text. Do not substitute a URL or local filesystem path for a selected file.
Use MCP from Python.
The standard installation includes REST, MCP and native authentication. No extra package is needed. Log in explicitly before connecting:
pip install zenturezenture auth login
Use your stored account authorization. API tokens belong to REST and are not used for this connection.
from zenture.mcp import McpClient # Run `zenture auth login` first; connect() never opens a login.# Save a new key before each new evaluation; reuse it only for recovery.with McpClient.connect() as client: client.require_product_tools() run = client.run( task="The answer must name exactly two colours.", artifact={"type": "text", "value": "Blue and green."}, idempotency_key="colour_check_001", ) client.wait_run(run.run_id, timeout=120.0) result = client.get_run(run.run_id, view="full").run print(result.status, result.acceptance_decision)
run() starts work; wait_run() waits within a finite budget. A local timeout does not cancel the Run: keep its ID and read it later. Python get_run() returns a wrapper; read .run for the result.
The wait_seconds argument above belongs to raw MCP tool calls. In Python use wait_run(); do not pass wait_seconds to get_run().