Natural-Language Zero-Knowledge Verification via Skeptical MCP Tools
Organizations: Oklahoma State University, Stillwater, OK, USA
Abstract
Zero-knowledge proofs enable verifying computation without revealing the underlying datasets. Recent studies have demonstrated the practicality of such frameworks for critical application domains such as healthcare. However, analyzing large scale chained proof artifacts introduces challenges in interpretability and usability barriers for non-expert stakeholders which can potentially be resolved using LLM based tools. On the other hand, using MCP tools with LLM integrations introduces a new risk pertaining to correctness of parameters supplied during the proof generation and verification lifecycle. In this paper, we present a natural-language interface to zero-knowledge verifiable computation that is based on the Model Context Protocol (MCP). We introduce a skeptical tools approach that does not place implicit trust in model inputs, but leverages server-side state estimates for checks, validations and completions pertaining to user queries. Using large-scale experimental evaluations across three open-weight model families involving 6000 queries, we demonstrate that our skeptical approach raises task completion rates by up to 23% over conventional methods settling at 93% across for Qwen family of models. Our results ultimately yield concrete, quantified insights into the occurrence of correctness failures, fabrication, and privacy exposures at the interface between LLM agents and zero-knowledge proof systems.
Figures & tables
| ID | Decision | |
| A. Input Skepticism | ||
| A1 | Normalize proof-type spellings (“ks”, “kolmogorov”) to KS, LRT, logistic_accuracy | |
| A2 | Inject a default nonce when none is supplied, rather than letting the model invent one | |
| A3 | Strip any model-supplied user_id ; inject the real identity from the server-side session | |
| A4 | Build the per-proof-type payload (LRT additionally needs smt_list ) in code | |
| B. State Independence | ||
| Source | Mode | Queries | Purpose |
| 1. Normal operations | Isolated | 23 | Tool selection & params |
| 2. Graceful failures | Isolated | 10 | Error handling |
| 3. Context-free ambig. | Isolated | 5 | Ambiguity handling |
| 4. Impossible requests | Isolated | 5 | Capability suppression |
| 5. Out-of-scope + redirect | Isolated | 5 | CoSMeTIC-awareness |
| 6. Multi-step workflows | Seq. | 17 | Redis features (B4–B6) |
| Feature | ID | A | B | C | D | A* |
|---|---|---|---|---|---|---|
| Conversation history | – | ✓ | ✓ | |||
| Identity in prompt | – | ✓ | ||||
| Identity stripping | A3 | ✓ | ✓ | ✓ | ||
| Stateless per-request | B1 | ✓ | ✓ | ✓ | ||
| Fallback job ID | B4 | ✓ | ✓ | ✓ | ✓ | |
| Stored proof type | B5 | ✓ | ✓ |
| Metric | A | B | C | D |
|---|---|---|---|---|
| Tool selection accuracy | 86.3 | 89.0 | 88.4 | 88.6 |
| Parameter Correctness | 100.0 | 100.0 | 100.0 | 100.0 |
| Task completion | 70.2 | 84.5 | 90.3 | 93.0 |
| Source 1 (normal ops) | 56.5 | 87.8 | 97.4 | 99.1 |
| Source 6 (multi-step) | 20.0 | 70.8 | 87.5 | 93.8 |
| Response faithfulness | 100.0 | 100.0 | 100.0 | 100.0 |
| Metric | A | B | C | D | A* |
|---|---|---|---|---|---|
| Login | 47.5 | 77.5 | 88.4 | 93.0 | 85.3 |
| Non-login | 93.5 | 93.5 | 92.9 | 92.9 | 92.9 |
| Qwen3 | Llama | Mistral | Qwen2.5 | ||
|---|---|---|---|---|---|
| 32B | 8B | 24B | 72B | Total | |
| Wrong-port turns | 68 | 70 | 60 | 69 | 267 |
| Stopped after 1 call | 53 | 70 | 60 | 69 | 252 |
| Retried | 15 | 0 | 0 | 0 | 15 |
| Denied the job exists | 48 | 0 | 54 | 0 | 102 |
| ID invalid or not found | 5 | 50 | 5 | 20 | 80 |
| Metric | Model | A | B | C | D | A* |
|---|---|---|---|---|---|---|
| Tool selection | Qwen 32B | 86.3 | 89.0 | 88.4 | 88.6 | — |
| Mistral 24B | 79.4 | 82.0 | 80.3 | 81.0 | — | |
| Llama 8B | 74.1 | 77.4 | 77.8 | 77.3 | — | |
| Task completion | Qwen 32B | 70.2 | 84.5 | 90.3 | 93.0 | 88.5 |
| Mistral 24B | 65.1 | 79.7 | 80.5 | 88.4 | 81.2 | |
| Llama 8B | 54.9 | 69.3 | 68.1 | 78.1 | 66.1 |
| Step | Interaction |
|---|---|
| User | “Prove my data in KS” |
| System | “Your proof has been submitted. Job ID: 1778716348432. You can check the status by asking ‘check my status’.” [Backed by COSMeTIC prover] |
| User | “Check my status” |
| System | “Job 1778716348432: Status is done.” [Backed by COSMeTIC prover] |
| User | “Download my proof” |
| System | “Your proof file has been downloaded. Filename: proofs-1778716348432.zip, size: 378964 bytes. Use the download button to save it.” [Backed by COSMeTIC prover] |
| Qwen 3 32B | Mistral 24B | |||||
| A | B | C | D | C | D | |
| Full Lifecycle (of 5) | 0 | 0 | 5 | 5 | 0 | 0 |
| Tool Selection (%) | 100.0 | 100.0 | 100.0 | 100.0 | 46.7 | 60.0 |
| Task Completion (%) | 60.0 | 80.0 | 94.3 | 100.0 | 83.3 | 93.3 |
| Asset | LLM threat | Mitigation | Evaluated |
|---|---|---|---|
| Circuit binding | Omitted proof_type routes to the wrong analysis | A1, B5 | Wrong-port routing (§ V-C ) |
| Dataset binding | Placeholder user_id binds the proof to the wrong SMT commitment | A3 | Config A vs. A* |
| Proof lineage | Job ID lost across stateless turns | B2, B4 | Source 6 |
| Proof status | Cached status presented as current | B3, B5 | Warning ignored in 4 turns (§ V-D ) |
| Proof validity | Validity inferred from status without verification | verify_ proof | Lifecycle (§ V-E ) |
| Provenance | Zero-tool success claim indistinguishable from a grounded one | C1 labels | Grading validity (§ V-F ) |
Zero-Knowledge Proofs
Zero-knowledge proofs verify that computations or claims are valid without revealing the underlying data.
See all 17 papers