ORACLE-H MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "ORACLE_SIGNATURE_KEY=${ORACLE_SIGNATURE_KEY}" -e "ORACLE_BASE_URL=${ORACLE_BASE_URL}" oracle-h -- npx -y oracle-h-mcp
Required:ORACLE_SIGNATURE_KEYORACLE_BASE_URL
README.md

Human-on-the-Loop validation for autonomous AI agents

ORACLE-H MCP Server

Human-on-the-Loop validation for autonomous AI agents — via Model Context Protocol

What is ORACLE-H?

ORACLE-H is a safety infrastructure that acts as a mandatory checkpoint for autonomous AI agents. Before executing any critical, destructive, or irreversible action, the agent submits it for human approval via Telegram. The human decides with a single tap.

Agent → oracle_validate → Human gets Telegram alert → Approve/Reject → Agent proceeds

Without ORACLE-H: 4-step workflow succeeds ~81.5% of the time. With ORACLE-H: Same workflow succeeds ~99.6% of the time.

MCP Tools

Tool Description
oracle_validate Submit a risky action for human approval. Returns a request_id.
oracle_poll_status Poll the decision until approved, rejected, or expired.

Quick Start (Demo — no signup required)

# Test immediately with the public demo key
ORACLE_SIGNATURE_KEY=demo-signature-key-change-in-production
ORACLE_BASE_URL=https://oracle-h.online

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "oracle-h": {
      "command": "npx",
      "args": ["-y", "oracle-h-mcp"],
      "env": {
        "ORACLE_SIGNATURE_KEY": "<your-signature-key>",
        "ORACLE_BASE_URL": "https://oracle-h.online"
      }
    }
  }
}

Cursor / Windsurf

Add to your MCP settings:

{
  "oracle-h": {
    "command": "npx",
    "args": ["-y", "oracle-h-mcp"],
    "env": {
      "ORACLE_SIGNATURE_KEY": "<your-signature-key>",
      "ORACLE_BASE_URL": "https://oracle-h.online"
    }
  }
}

Cline (VS Code)

// File: cline_mcp_settings.json
{
  "mcpServers": {
    "oracle-h": {
      "command": "npx",
      "args": ["-y", "oracle-h-mcp"],
      "env": {
        "ORACLE_SIGNATURE_KEY": "demo-signature-key-change-in-production",
        "ORACLE_BASE_URL": "https://oracle-h.online"
      }
    }
  }
}

Roo Code (VS Code)

// File: .roo/mcp.json (project-level)
{
  "mcpServers": {
    "oracle-h": {
      "command": "npx",
      "args": ["-y", "oracle-h-mcp"],
      "env": {
        "ORACLE_SIGNATURE_KEY": "demo-signature-key-change-in-production",
        "ORACLE_BASE_URL": "https://oracle-h.online"
      }
    }
  }
}

GitHub Copilot (VS Code)

Add to VS Code settings.json:

{
  "github.copilot.chat.mcp.servers": {
    "oracle-h": {
      "command": "npx",
      "args": ["-y", "oracle-h-mcp"],
      "env": {
        "ORACLE_SIGNATURE_KEY": "demo-signature-key-change-in-production",
        "ORACLE_BASE_URL": "https://oracle-h.online"
      }
    }
  }
}

n8n

Use the MCP Client Tool node in n8n, running via supergateway:

npx -y supergateway --stdio "npx -y oracle-h-mcp" --port 8811

Then connect n8n's MCP Client Tool to http://localhost:8811/sse

Zed Editor

Add to settings.json:

{
  "context_servers": {
    "oracle-h": {
      "command": {
        "path": "npx",
        "args": ["-y", "oracle-h-mcp"]
      },
      "env": {
        "ORACLE_SIGNATURE_KEY": "<your-signature-key>",
        "ORACLE_BASE_URL": "https://oracle-h.online"
      }
    }
  }
}

Continue.dev

Create .continue/mcpServers/oracle-h.yaml:

name: oracle-h
version: 1.0.0
schema: v1
mcpServers:
  - name: oracle-h
    command: npx
    args:
      - -y
      - oracle-h-mcp
    env:
      ORACLE_SIGNATURE_KEY: <your-signature-key>
      ORACLE_BASE_URL: https://oracle-h.online

LangGraph (Python)

from langchain_mcp_adapters.client import MultiServerMCPClient

async with MultiServerMCPClient({
    "oracle-h": {
        "command": "npx",
        "args": ["-y", "oracle-h-mcp"],
        "env": {
            "ORACLE_SIGNATURE_KEY": "your-key",
            "ORACLE_BASE_URL": "https://oracle-h.online"
        },
        "transport": "stdio"
    }
}) as client:
    tools = client.get_tools()

How it works

  1. Agent calls oracle_validate with action, rationale, projected impact, and TTL
  2. Human receives a Telegram notification with full context and risk analysis
  3. Human taps Approve or Reject directly in Telegram
  4. Agent polls oracle_poll_status until decision arrives
  5. Agent proceeds or aborts based on the human decision

The system includes:

  • 🛡️ Anti-hallucination Watchdog — detects context truncation before submitting
  • 📊 Reliability Calculator — shows the statistica

Tools (2)

oracle_validateSubmit a risky action for human approval. Returns a request_id.
oracle_poll_statusPoll the decision until approved, rejected, or expired.

Environment Variables

ORACLE_SIGNATURE_KEYrequiredThe signature key for authenticating with the Oracle-H service.
ORACLE_BASE_URLrequiredThe base URL for the Oracle-H service.

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "oracle-h": {
      "command": "npx",
      "args": ["-y", "oracle-h-mcp"],
      "env": {
        "ORACLE_SIGNATURE_KEY": "<your-signature-key>",
        "ORACLE_BASE_URL": "https://oracle-h.online"
      }
    }
  }
}

Try it

Before you delete the production database, please submit the action to ORACLE-H for human approval.
I want to deploy these changes to production. Use oracle_validate to get human sign-off first.
Check the status of my pending approval request with ID 12345 using oracle_poll_status.
Execute the financial transaction only after receiving approval via the oracle_validate tool.

Frequently Asked Questions

What are the key features of ORACLE-H?

Mandatory human-in-the-loop validation for autonomous AI agents. Real-time Telegram notifications for approval requests. Anti-hallucination watchdog to detect context truncation. Reliability calculator for workflow success tracking. Support for critical, destructive, or irreversible action gating.

What can I use ORACLE-H for?

Preventing accidental deletion of production databases or critical files. Securing autonomous financial transactions or API payments. Adding a safety layer to automated production deployment pipelines. Ensuring human oversight for high-stakes AI decision-making processes.

How do I install ORACLE-H?

Install ORACLE-H by running: npx -y oracle-h-mcp

What MCP clients work with ORACLE-H?

ORACLE-H works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep ORACLE-H docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare