telos-mcp

v0.1.3
telos-mcp Checked 21 hours ago Published 10 days ago

Model Context Protocol server for TELOS AI Labs governance, with a stub engine: synthetic scores, audit entries and replay results; unsigned integrity-hash…

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

telos_verify_native_receipts

Verify supplied native-v2 historical bytes through the actual receipt SDK. Key-free integrity only. No scorer, signer, production file lookup or engine dispatch. The existing telos_verify keeps its unsigned payload-envelope API.

ParameterTypeDescription
expected_sha256 *string
receipts_base64 *string
start_previous *string

telos_score

Return synthetic scores for a proposed agent action. Stub: scores are derived from the action name, parameters and agent ID; no Purpose Anchor is consulted. The receipt carries a synthetic PA identifier (`pa::<agent_id>::v1`). Returns a synthetic verdict (EXECUTE / CLARIFY / ESCALATE), taken from the same digest with no rule evaluated, plus a 5-dimension score breakdown across purpose, scope, boundary, tool, and chain. Each call also mints an unsigned integrity-hash receipt (shared telos-receipt envelope) that `telos_verify` and the offline telos-verify CL…

ParameterTypeDescription
action_name *string
action_params *object
agent_id *string

telos_verify

Verify an unsigned integrity-hash receipt offline. Recomputes the receipt's integrity hash over its canonical payload using the shared telos-receipt contract. Key-free; not a signature check. Args: receipt_json: The receipt to verify, either as a JSON string or as a JSON object (clients may pass either; both are accepted). Returns: Dict with keys: match (bool), stated_integrity_hash, recomputed_integrity_hash, covered_fields, signing_status, note, reason.

ParameterTypeDescription
receipt_json *

telos_get_pa

Return a fixed synthetic Purpose Anchor for an agent. Stub: purpose statement, hard boundaries, declared scope, allowed tool list, and centroid dimension names. Only agent_id, pa_id and compiled_at vary. telos_score does not read it. Args: agent_id: Agent identifier placed in the synthetic PA. Returns: Dict with keys: agent_id, pa_id, purpose, boundaries, scope, allowed_tools, centroid_dimensions, compiled_at, stub.

ParameterTypeDescription
agent_id *string

telos_audit

Return audit chain entries within a time window. Stub engine: the entries are synthetic (three invented entries for a valid window, fewer for a window too narrow to hold three distinct microsecond timestamps strictly inside it), and the result and every entry carry `stub: true`. Capped at 100 entries to keep MCP payloads bounded. For deeper queries, use the `telos://audit/{date}` resource per-day. Args: start_iso: ISO-8601 window start (e.g. "2026-04-25T00:00:00Z"). end_iso: ISO-8601 window end (must be later than start). Returns: Dict wit…

ParameterTypeDescription
end_iso *string
start_iso *string

telos_replay

Request a counterfactual replay against an alternate config (stub). A counterfactual replay re-runs the decision that produced `receipt_id` under a different governance configuration and reports verdict deltas. In this release the engine is a stub: nothing is queued or run, and the result says so with `status: "stub_not_queued"`. Args: receipt_id: ID of the receipt to replay against. alt_config_path: Path to the alternate config (YAML) to apply. Returns: Dict with keys: job_id, receipt_id, alt_config_path, status, stub.

ParameterTypeDescription
alt_config_path *string
receipt_id *string