aethis-mcp
MCP server for the Aethis developer API — eligibility checks via Claude, Cursor, Windsurf
Versions
0.15.1latest0.15.00.13.00.10.00.9.0+ show 10 moreshow less
0.7.20.7.10.7.00.4.30.3.00.2.60.2.20.2.10.2.00.1.0Tools 36
aethis_schema Get the input fields required for an eligibility check. Returns field names, types, descriptions, and allowed values. Use this before calling aethis_decide.
aethis_decide Evaluate eligibility against either a single published ruleset (ruleset_id) or a composed rulebook (rulebook_id). Provide exactly one. A rulebook composes multiple rulesets via outcome_logic — use it for the whole-form decision (e.g. `aethis/uk-fsm`). A ruleset is one section in isolation (e.g. `aethis/uk-fsm/child-eligibility`). Returns eligible/not_eligible/undetermined with optional trace and explanation. When undetermined, includes next_question and optimal_path. Rulebook evaluation always requires an API key; ruleset evaluation can be anonymous against public rulesets.
aethis_next_question Get the optimal next question for a conversational eligibility check. Call with empty field_values for the first question, then add answers and call again until decision is reached. When the ruleset author attached notes to a question (e.g. why it is asked, or legal background), they are surfaced under a Notes block.
aethis_graph Get the ruleset-map graph for a single published ruleset (ruleset_id) or a composed rulebook (rulebook_id) — provide exactly one. Returns {ruleset_id|rulebook_id, slug, name, graph: {nodes, edges, sections, stats}, mermaid}: each node
aethis_explain Get human-readable descriptions of the rules in a ruleset, including criteria groups, requirements, and exception paths.
aethis_explain_failure Diagnose why a ruleset produced an unexpected outcome for specific test inputs. Use during rule authoring when a test fails — returns the diagnosis, criteria with DSL metadata (waivable, review_required), and a targeted hint for fixing the rule.
aethis_list_projects List all projects in the current tenant. Returns project IDs, names, domains, and latest ruleset information.
aethis_list_rulesets List all rule rulesets for a project, including version history. Shows ruleset ID, human-readable name (the section title the ruleset covers, e.g.
aethis_generation_status Check the current generation job for a project without changing it. Returns generation_contract_version, telemetry_availability, server-authoritative worker_lifecycle, retry_readiness, and the active or most recent job
aethis_cancel_generation Request cancellation of one observed generation job and release only its project ownership. First call aethis_generation_status and bind the exact job_id; confirm_job_id protects against accidental target mismatch but does not itself prove human approval. MCP hosts should require destructive-action approval, and agents must obtain a fresh explicit user reply before calling. The response outcome is cancelled or idempotent already_cancelled. Cancellation may be cooperative rather than immediate. It is a destructive mutation and requires an API key.
aethis_discover_rulesets List public showcase rulesets across all tenants. No authentication required. Use this for first-time discovery, demos, or whenever the user asks
aethis_list_rulebooks List rulebooks (composed wholes that bridge multiple rulesets) in the current tenant. Returns rulebook_id, slug (e.g. `aethis/uk-fsm`), name, domain, status (draft/active/archived), version, outcome_logic (the composition Expr AST), ruleset_refs, and timestamps. Use this when the user asks
aethis_usage Show the caller
aethis_rulebook_schema Get the composition + aggregated input fields for a rulebook. Returns the outcome_logic Expr AST (how the bridged rulesets compose, e.g. `A AND (B OR C)`), the list of bridged rulesets (ruleset_name, ruleset_id, slug, status), and the union of all required input fields. Use this BEFORE aethis_decide on a rulebook_id to know what field_values to supply, or to inspect how a rulebook is wired. Pass a rulebook slug (e.g. `aethis/uk-fsm`) or opaque id (`rb_*`).
aethis_create_rulebook Create a new Rulebook — the composed-whole execution unit that bridges multiple rulesets (the parts) via outcome_logic. Created empty: no rulesets, no field vocabulary, no tests, status=
aethis_update_rulebook Update a Rulebook
aethis_archive_project Archive a project. Archived projects are preserved but excluded from listing. This is permanent.
aethis_archive_ruleset Archive a rule ruleset. Archived rulesets are preserved but excluded from /decide resolution. This is permanent.
aethis_create_ruleset Create a new rule ruleset with source text and test cases (TDD). Test cases are required. After creation, call aethis_generate_and_test.
aethis_set_tests Replace the complete reviewed test suite for an existing project after field discovery. Requires 1 to 100 cases and replaces prior tests without creating a project or changing its sources, fields, or guidance. This is destructive. The target API must advertise replacement support before any write. If the response is interrupted, inspect the project before approving another replacement.
aethis_list_guidance List all guidance hints accumulated for a project. Shows the text, source, and active status of each hint. Use before adding new guidance to avoid duplicates.
aethis_add_guidance Add a guidance hint to a project. Use for domain knowledge not in the source text. Then call aethis_generate_and_test to regenerate.
aethis_add_domain_guidance Add a guidance hint at domain level — applies to ALL projects in the domain, not just one project.
aethis_list_domain_guidance List all active guidance hints for a domain. Returns cross-section hints that apply to all projects in the domain.
aethis_discover_sections Discover the logical sections of source legislation for a domain.
aethis_refine_sections Add guidance to improve section discovery, then re-discover sections.
aethis_validate_sections Compare discovered sections against an expected specification.
aethis_discover_fields Discover input fields from the project
aethis_refine_fields Add guidance to improve field discovery, then re-discover. Use when fields are missing, misnamed, or enum values are incomplete. Adds a field_extraction guidance hint and re-runs discovery.
aethis_validate_fields Assert that the discovered fields match an expected field specification.
aethis_set_field_spec Store the expected field specification for a project.
aethis_generate_and_test Generate rules from source text and run all test cases. Triggers generation, polls until complete, then runs tests. Returns pass/fail with regression detection. Usually takes 60-120 seconds; if polling times out, use aethis_generation_status before retrying, and aethis_cancel_generation only when the caller wants to stop the run.
aethis_refine Refine an existing published ruleset: add optional feedback, then make the MINIMAL edit to fix failing test cases while keeping passing tests green, and re-run the full suite (seed-from-existing incremental re-authoring). Use this to fix a specific finding without re-authoring the whole section; use aethis_generate_and_test for a from-scratch rebuild.
aethis_publish Publish the latest rule ruleset. Runs tests first and refuses if they fail unless force=true. Auto-deprecates previous active ruleset.
aethis_review_project Review an authoring project against the deterministic authoring-coach rubric and get skill-building feedback. Returns a score, per-check evidence across grounding / process / lifecycle, strengths, and the single highest-leverage next improvement. Advisory only — it never blocks publishing. The deterministic report needs no LLM key; set coach=true (with an Anthropic key) to add an LLM-synthesised coaching narrative on top of the computed checks.
aethis Permissions 4
network medium filesystem low shell high env_vars low Scan Findings 0
No scan findings.