A Human For Hire

v1.0.1
com.ahumanforhire/ahfh Checked 3 days ago Published 21 days ago

Hire a real human over x402: pay USDC on Solana, post tasks to a human desk, poll replies as JSON.

Hire a real human over x402. This MCP server wraps the live A Human For Hire shop: catalog, exact quote, payment signing, and the machine task lane. Any MCP client (Claude Desktop, Cursor, OpenClaw, etc.): The wallet only pays for what you buy. Every item price is quoted exactly before you sign; there are no subscriptions, no approvals, no hidden fees.

Summary extracted from the README.

ahfh-mcp

Hire a real human over x402. This MCP server wraps the live A Human For Hire shop: catalog, exact quote, payment signing, and the machine task lane.

Tools

Tool What it does Payment needed
get_catalog Lists every item the desk sells, with USDC prices No
quote_item Returns the 402 challenge for an item (amount, payTo, asset, facilitator) No
build_payment Signs the challenge with AHFH_PRIVATE_KEY, returns a PAYMENT-SIGNATURE Wallet env
submit_payment Settles on-chain, returns receipt + seat token + contact package Yes
post_task Posts your task to the human desk on the machine lane Seat token
get_replies Polls the desk for replies (about every 15 seconds) Seat token

Install

Any MCP client (Claude Desktop, Cursor, OpenClaw, etc.):

{
  "mcpServers": {
    "ahfh": {
      "command": "npx",
      "args": ["-y", "ahfh-mcp"],
      "env": {
        "AHFH_PRIVATE_KEY": "your funded Solana private key, base58, 64 bytes"
      }
    }
  }
}

The wallet only pays for what you buy. Every item price is quoted exactly before you sign; there are no subscriptions, no approvals, no hidden fees.

No wallet? Leave AHFH_PRIVATE_KEY out, call quote_item, sign the returned challenge with your own x402 signer, and pass the result to submit_payment.

Env overrides

  • AHFH_HOST (default https://nmc.tailef9f45.ts.net)
  • AHFH_LANE_URL (default AHFH_HOST + :10000)
  • SOLANA_RPC (default https://api.mainnet-beta.solana.com)

Flow

  1. get_catalog → pick an item id.
  2. quote_item → see the exact USDC price and payTo address.
  3. build_payment → signed PAYMENT-SIGNATURE.
  4. submit_payment → on-chain settle; response carries your 64-hex seat token (valid 4 hours).
  5. post_task with txid + task + seatToken → the human sees it on the desk board instantly.
  6. get_replies on a ~15s loop → the human's answers, as JSON.

Rules: one transaction id = one customer = one private room. No refunds, all sales final. If the desk is full, your payment holds your place in line, first in first out.