Skip to main content
ClaudeWave

DCL Trust Oracle — x402 MCP Server Deterministic AI audit layer with cryptographic micropayments via x402 protocol

MCP ServersRegistry oficial1 estrellas0 forksPythonMITActualizado today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 8/6/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · -r
Claude Code CLI
claude mcp add dcl-webhook -- python -m -r
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "dcl-webhook": {
      "command": "python",
      "args": ["-m", "-r"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install -r
Casos de uso

Resumen de MCP Servers

# DCL Trust Oracle — x402 MCP Server

[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![MCP](https://img.shields.io/badge/MCP-compatible-green.svg)](https://modelcontextprotocol.io)
[![x402](https://img.shields.io/badge/x402-USDC%20on%20Base-blueviolet.svg)](https://x402.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![dcl-webhook MCP server](https://glama.ai/mcp/servers/Fronesis-Labs/dcl-webhook/badges/card.svg)](https://glama.ai/mcp/servers/Fronesis-Labs/dcl-webhook)
[![Smithery](https://img.shields.io/badge/Smithery-listed-orange.svg)](https://smithery.ai/servers/fronesislabs/dcl-trust-oracle)
[![Score](https://glama.ai/mcp/servers/Fronesis-Labs/dcl-webhook/badges/score.svg)](https://glama.ai/mcp/servers/Fronesis-Labs/dcl-webhook/score)

Deterministic AI audit layer with cryptographic micropayments via x402 protocol.

## What It Does

DCL Trust Oracle provides deterministic policy evaluation for LLM outputs with a tamper-evident audit chain. The system stores only cryptographic hashes and decision metadata — never raw content — enabling verifiable, post-action forensic analysis across distributed AI agents.

Available two ways, both metered per call via x402:

- **REST API** (`webhook_server.py`) — direct HTTP integration, x402-gated with `fastapi-x402`.
- **MCP Server** (`mcp_server.py`) — native Model Context Protocol integration for AI agents, hosted on Smithery, x402-gated with `paymcp`.

Both servers share the same evaluation logic and tamper-evident chain (`dcl_core.py`), and are priced identically.

## Quick Start

### REST API
```
pip install -r requirements.txt
python webhook_server.py
```
Server runs on `http://localhost:8080`

### MCP Server
```
pip install -r requirements.txt
python mcp_server.py
```
Server runs on `http://localhost:8081` (streamable-http transport)

## Tools & Endpoints

### Pre-Action Evaluation

| REST Endpoint | MCP Tool | Price | Description |
| --- | --- | --- | --- |
| `POST /evaluate/fast` | `dcl_evaluate_fast` | $0.01 | Fast policy check for low-risk outputs. Returns tamper-evident `tx_hash`. |
| `POST /evaluate/strict` | `dcl_evaluate_strict` | $0.05 | Deep analysis for high-stakes outputs with higher confidence thresholds. |
| `POST /evaluate/jailbreak` | `dcl_evaluate_jailbreak` | $0.02 | Instruction adherence check — detects prompt injection patterns and role-hijacking attempts. |
| `POST /evaluate/safety` | `dcl_evaluate_safety` | $0.01 | Baseline screening for known harmful text patterns. Optimized for high throughput. |
| `POST /evaluate/quality` | `dcl_evaluate_quality` | $0.03 | Content quality & drift check — evaluates format adherence and contextual drift. |
| `POST /evaluate/batch` | `dcl_evaluate_batch` | $0.10 | Bulk processing — up to 20 items per transaction. Cost-effective for multi-turn history. |

### Session Management

| REST Endpoint | MCP Tool | Price | Description |
| --- | --- | --- | --- |
| `POST /pipeline/start` | `dcl_pipeline_start` | $0.05 | Initializes a long-running audit session for continuous drift tracking. Returns `pipeline_id`. |

### Post-Action Forensics

| REST Endpoint | MCP Tool | Price | Description |
| --- | --- | --- | --- |
| `GET /audit/{tx_hash}` | `dcl_audit_decode` | $0.10 | Basic post-action audit — returns verdict, confidence, agent_id, reason by `tx_hash`. |
| `GET /audit/{tx_hash}/deep` | `dcl_audit_decode_deep` | $0.50 | Deep forensic audit — includes drift context, tamper-evidence indices, environmental metadata. |

### Utility (free, REST only)

| Endpoint | Description |
| --- | --- |
| `GET /health` | Service status and chain length |
| `GET /policies` | List of built-in policy names |
| `GET /chain/status` | Chain integrity, drift mode, drift score |
| `GET /chain/export` | Full chain export with integrity verification |

## Example Response

```json
{
  "verdict": "COMMIT",
  "confidence": 0.95,
  "reason": "All policy checks passed",
  "tx_hash": "0x7a8f3b2c...",
  "chain_index": 42,
  "input_hash": "0x9d4e1f...",
  "policy_version": "1.0.0",
  "timestamp": 1721635200.123,
  "pipeline_id": "abc123",
  "drift_mode": "NORMAL",
  "drift_score": 0.15
}
```

## x402 Integration

All paid endpoints and tools require payment via the x402 protocol before returning a result — no free tier, no bypass. Both the REST API and MCP server settle to the same wallet.

- **Networks:** Base, Avalanche, IoTeX
- **Asset:** USDC
- **Facilitator (REST):** `https://x402.org/facilitator` (via `fastapi-x402`)
- **Facilitator (MCP):** `paymcp` in `Mode.AUTO` — automatic on-chain payment for x402-aware MCP clients, guided payment link (ELICITATION/RESUBMIT) for clients without a wallet. No path skips payment.

## Metadata-Only Architecture

DCL Trust Oracle is designed around a **hash-based audit trail**:

- Raw content never stored — only SHA-256 hashes and decision metadata
- Tamper-evident cryptographic chain (SQLite-backed, WAL mode)
- Chain survives server restarts — audit records persist indefinitely
- Verifiable integrity via `GET /chain/status`
- Full export via `GET /chain/export`
- Shared chain across REST and MCP — a `tx_hash` returned by one interface can be audited through the other

Each audit record contains: `tx_hash`, `prev_hash`, `verdict`, `input_hash`, `policy_hash`, `agent_id`, `reason`, `confidence`, `task_type`, `timestamp`, and `drift_context`.

## Built-in Policies

| Policy | Min Confidence | Purpose |
| --- | --- | --- |
| `default` | 0.70 | General-purpose evaluation |
| `anti_jailbreak` | 0.80 | Detects prompt injection, role-hijacking, DAN-style attacks |
| `safety` | 0.75 | Baseline harmful-pattern screening |
| `content_quality` | 0.85 | Quality assurance, format adherence, drift detection |

Custom policies can be passed inline as YAML via the `policy` field.

## Links

- **Live API:** https://fronesislabs.com/docs
- **MCP Server:** https://mcp.fronesislabs.com
- **MCP Manifest:** https://fronesislabs.com/.well-known/agent.json
- **GitHub:** https://github.com/Fronesis-Labs/dcl-webhook
- **Smithery.ai:** https://smithery.ai/servers/fronesislabs/dcl-trust-oracle
- **Glama.ai:** https://glama.ai/mcp/servers/Fronesis-Labs/dcl-webhook

## Contact

partnership@fronesislabs.com

ai-safetybasebase-networkmcpmcp-protocolmcp-securitymcp-servermcp-serversmcp-servicemcp-toolsoracletrusttrust-and-safetytrust-scorex402

Lo que la gente pregunta sobre dcl-webhook

¿Qué es Fronesis-Labs/dcl-webhook?

+

Fronesis-Labs/dcl-webhook es mcp servers para el ecosistema de Claude AI. DCL Trust Oracle — x402 MCP Server Deterministic AI audit layer with cryptographic micropayments via x402 protocol Tiene 1 estrellas en GitHub y su última actualización registrada es del 2026-08-06.

¿Cómo se instala dcl-webhook?

+

Puedes instalar dcl-webhook clonando el repositorio (https://github.com/Fronesis-Labs/dcl-webhook) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar Fronesis-Labs/dcl-webhook?

+

Nuestro agente de seguridad ha analizado Fronesis-Labs/dcl-webhook y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene Fronesis-Labs/dcl-webhook?

+

Fronesis-Labs/dcl-webhook es mantenido por Fronesis-Labs. La última actividad registrada en GitHub es del 2026-08-06, con 0 issues abiertos.

¿Hay alternativas a dcl-webhook?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega dcl-webhook en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: Fronesis-Labs/dcl-webhook
[![Featured on ClaudeWave](https://claudewave.com/api/badge/fronesis-labs-dcl-webhook)](https://claudewave.com/repo/fronesis-labs-dcl-webhook)
<a href="https://claudewave.com/repo/fronesis-labs-dcl-webhook"><img src="https://claudewave.com/api/badge/fronesis-labs-dcl-webhook" alt="Featured on ClaudeWave: Fronesis-Labs/dcl-webhook" width="320" height="64" /></a>

Más MCP Servers

Alternativas a dcl-webhook