market

One Hekte market answer per call, paid first over Lightning by a hold invoice in the tool result.

사용해야 할까요

품질 및 안전성

A
설명 품질
93%
스키마 완전성
97%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,089토큰 (도구 정의)
~2.3 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 0.85%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "market": {
      "url": "https://mcp.hektai.com/mcp"
    }
  }
}

원격 엔드포인트

https://mcp.hektai.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (3)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢hekte_ask(class, contract, max_sat, payment_hash, prompt, ...)

Buy one answer on the Hekte market — PAY FIRST, per call, Lightning. Call it with `prompt` alone: the result is an error with `status: "payment_required"`, a Lightning `invoice` (bolt11) for `amount_sat` (whole sats), a `pay_url` a human can open, an `expires_at`, and `retry_with` (`payment_hash`, `retry_token`). Show the human the `pay_url` (or the invoice) and ask them to pay it; then call this tool AGAIN with the SAME `prompt` and `class` plus the `payment_hash` and `retry_token`. Before the payment arrives the retry answers `payment_not_received`; after it, the question is posted as a paid job, a worker answers, the payment settles ON DELIVERY and the answer comes back with who served it and a `receipt`. If nothing is delivered the hold is cancelled (`hold_cancelled: true`) and nothing is charged. No balance is kept, no account exists: one invoice is one call. Refused by name: `prompt_too_large` (over 16384 bytes), `class_unknown`, `invalid_max_sat`, `proof_unknown`, `proof_expired`, `proof_replayed`, `proof_cancelled`, `retry_token_invalid` (the token is not this invoice's), `request_mismatch` (a retry must repeat the paid prompt), `contract_mismatch` (the `contract` named is not 2, this door's).

입력 스키마

{
  "type": "object",
  "properties": {
    "class": {
      "default": "chat",
      "description": "The task class. Only `chat` exists today.",
      "enum": [
        "chat"
      ],
      "type": "string"
    },
    "contract": {
      "description": "The hosted contract number this client speaks — every result of this door names it as `contract` and `retry_with` repeats it (today 2). Omit it if unknown; an older number is refused `contract_mismatch` because its retry shape is not this door's.",
      "type": "integer"
    },
    "max_sat": {
      "description": "Optional cap on this call's price, whole sats. May only LOWER the door's per-call price; a higher value is lowered to it.",
      "minimum": 1,
      "type": "integer"
    },
    "payment_hash": {
      "description": "The `retry_with.payment_hash` value from this tool's `payment_required` result, once a human has paid the invoice. Omit it on the first call; always send it together with `retry_token`.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "prompt": {
      "description": "The question, verbatim — it is posted to the market as the job's input. A retry must repeat it exactly.",
      "type": "string"
    },
    "retry_token": {
      "description": "The `retry_with.retry_token` value from this tool's `payment_required` result. Omit it on the first call; always send it together with `payment_hash`.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}
⚪hekte_balance(contract)

The PRICE of the next `hekte_ask` on this pay-first door: `price_sat` (whole sats, Lightning, per call), `invoice_expiry_s` (how long a minted invoice can be paid), `pay_first: true`, and `open` (whether the door can buy on the market right now). No balance exists here — every call is its own invoice.

입력 스키마

{
  "type": "object",
  "properties": {
    "contract": {
      "description": "The hosted contract number this client speaks — every result of this door names it as `contract` and `retry_with` repeats it (today 2). Omit it if unknown; an older number is refused `contract_mismatch` because its retry shape is not this door's.",
      "type": "integer"
    }
  },
  "additionalProperties": false
}
⚪hekte_job(contract, job_id, payment_hash, retry_token)

One job's lines from this door's BUYER LEDGER (posted, offers, funding, delivery, settlement — ids, sats, times, codes; never the brief or the output), for a job YOUR payment ran: `job_id` must be the one `hekte_ask` returned for this `payment_hash` + `retry_token`. `found: false` = no line names it.

입력 스키마

{
  "type": "object",
  "properties": {
    "contract": {
      "description": "The hosted contract number this client speaks — every result of this door names it as `contract` and `retry_with` repeats it (today 2). Omit it if unknown; an older number is refused `contract_mismatch` because its retry shape is not this door's.",
      "type": "integer"
    },
    "job_id": {
      "description": "The job id `hekte_ask` returned.",
      "type": "string"
    },
    "payment_hash": {
      "description": "The `payment_hash` of the `hekte_ask` that ran this job.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "retry_token": {
      "description": "The `retry_token` of the `hekte_ask` that ran this job.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    }
  },
  "required": [
    "job_id",
    "payment_hash",
    "retry_token"
  ],
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 3개
검증됨버전이 기록되지 않음도구 3개
검증됨버전이 기록되지 않음도구 3개