Back to Browse

Askhuman MCP Server

Developer ToolsModerate5.7MCP RegistryLocal
Free

Server data from the Official MCP Registry

Give agents an ask_human tool: escalate decisions to real people and get judgments back.

About

Give agents an ask_human tool: escalate decisions to real people and get judgments back.

Security Report

5.7
Moderate5.7Moderate Risk

Valid MCP server (2 strong, 3 medium validity signals). 6 known CVEs in dependencies (0 critical, 2 high severity) ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

8 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

AskHuman API key (get one at https://askhuman.thrain.ai)Required

Environment variable: ASKHUMAN_API_KEY

Override the AskHuman API base URL (default https://askhuman.thrain.ai)Optional

Environment variable: ASKHUMAN_BASE_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "ai-thrain-askhuman": {
      "env": {
        "ASKHUMAN_API_KEY": "your-askhuman-api-key-here",
        "ASKHUMAN_BASE_URL": "your-askhuman-base-url-here"
      },
      "args": [
        "-y",
        "@thrain/askhuman-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

AskHuman

The control layer that makes AI agents deployable. Agents call ask_human when they hit a consequential business action (purchase orders, refunds, price changes — anything that moves money, inventory, or customers); the question is delivered to real humans (Slack, Discord, webhook, or a web inbox); the answer flows back to the blocked agent with a human signature, rationale, and full audit trail.

Positioning (decided 2026-07-26): we gate agent-initiated business actions — ops, not code review. Dev workflows (PRs) already have native approval rails; business operations don't. Chartroom dogfooding exercises the mechanics; the market is ops.

Live: https://askhuman.thrain.ai · A thrain.ai product. MIT licensed, free to use.

MCP server: npx -y @thrain/askhuman-mcp (see packages/mcp).

Phase roadmap

  • Phase 0 (this repo, live): escalation-as-a-service — customers' own humans answer. SaaS, no marketplace. Validates the interface.
  • Phase 1: concierge marketplace — route to our human pool (hand-recruited).
  • Phase 2: open supply — worker app, calibration traps, reputation, consensus votes.
  • Phase 3: agent fleets — SLA capacity contracts + compliance audit trails.

Architecture

agent ──MCP `ask_human` / POST /v1/asks──▶ Cloudflare Worker (Hono) ── D1
                                              │
                        Slack / Discord / webhook / web inbox
                                              │
                              human taps tokenized answer link
                                              │
agent ◀── long-poll GET /v1/asks/:id/wait ────┘
  • worker/ — the whole service: API, answer pages, inbox, landing page. Cloudflare Worker + D1, deployed at askhuman.thrain.ai.
  • packages/mcp/ — stdio MCP server exposing ask_human + ask_human_status. Private (not published to npm yet — licence/scope pending, same as Blackout).
  • docs/API.md — the HTTP API contract.

Develop & deploy (this box)

source <(grep '^export CLOUDFLARE_' ~/.bashrc)
export npm_config_cache=/mnt/ext4dev/npm-cache
cd worker
npm install
npm run deploy               # wrangler deploy
npm run db:schema:remote     # apply schema.sql to prod D1

Secrets: ADMIN_SECRET (wrangler secret; also exported as ASKHUMAN_ADMIN_SECRET in ~/.bashrc on the box). Provision accounts:

curl -s -X POST https://askhuman.thrain.ai/admin/accounts \
  -H "x-admin-secret: $ASKHUMAN_ADMIN_SECRET" \
  -H "content-type: application/json" \
  -d '{"name":"Acme","email":"ops@acme.com"}'
# → returns api_key (once!) and inbox_url

Use the MCP server (any MCP client)

export ASKHUMAN_API_KEY=ah_live_...
claude mcp add askhuman -e ASKHUMAN_API_KEY=$ASKHUMAN_API_KEY \
  -- node /mnt/ext4dev/repos/askhuman/packages/mcp/src/index.js

The agent gets an ask_human(question, type, options?, sla_seconds?, max_wait_seconds?) tool that blocks until a human answers (or returns still-pending with resume instructions).

Reviews

No reviews yet

Be the first to review this server!