Datoka Hooks

Public webhook relay with signed observations, retries and verified receivers. Self-service beta.

사용해야 할까요

품질 및 안전성

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

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

컨텍스트 비용

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

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

설치

원클릭 설치

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

{
  "mcpServers": {
    "datoka-hooks": {
      "url": "https://datoka-hooks-test.bhazarstudio.workers.dev/mcp"
    }
  }
}

원격 엔드포인트

https://datoka-hooks-test.bhazarstudio.workers.dev/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (7)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟡register_destination(target, recoveryKey)

Create an isolated access. Keep recoveryKey secret and reuse it only with the same target on retries.

입력 스키마

{
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "maxLength": 2048,
      "format": "uri"
    },
    "recoveryKey": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "target",
    "recoveryKey"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
⚪verify_destination(hookId, managementToken)

Verify the well-known challenge file and activate your destination.

입력 스키마

{
  "type": "object",
  "properties": {
    "hookId": {
      "type": "string",
      "pattern": "^pub-[a-f0-9]{32}$"
    },
    "managementToken": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "hookId",
    "managementToken"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_destination_status(hookId, managementToken)

Read verification/revocation status and challenge.

입력 스키마

{
  "type": "object",
  "properties": {
    "hookId": {
      "type": "string",
      "pattern": "^pub-[a-f0-9]{32}$"
    },
    "managementToken": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "hookId",
    "managementToken"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🔴revoke_destination(hookId, managementToken)

Permanently revoke client access. Previously accepted deliveries finish.

입력 스키마

{
  "type": "object",
  "properties": {
    "hookId": {
      "type": "string",
      "pattern": "^pub-[a-f0-9]{32}$"
    },
    "managementToken": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "hookId",
    "managementToken"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
⚪accept_hook_event(hookId, token, eventId, contentType, bodyBase64)

Enqueue an event for your verified receiver, idempotent by eventId and exact bytes.

입력 스키마

{
  "type": "object",
  "properties": {
    "hookId": {
      "type": "string",
      "pattern": "^pub-[a-f0-9]{32}$"
    },
    "token": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "eventId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
    },
    "contentType": {
      "type": "string",
      "enum": [
        "application/json",
        "text/plain",
        "application/octet-stream"
      ]
    },
    "bodyBase64": {
      "type": "string",
      "maxLength": 87384
    }
  },
  "required": [
    "hookId",
    "token",
    "eventId",
    "contentType",
    "bodyBase64"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_hook_delivery(hookId, token, deliveryId)

Read delivery state and signed observations.

입력 스키마

{
  "type": "object",
  "properties": {
    "hookId": {
      "type": "string",
      "pattern": "^pub-[a-f0-9]{32}$"
    },
    "token": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "deliveryId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    }
  },
  "required": [
    "hookId",
    "token",
    "deliveryId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢verify_hook_receipt(hookId, token, event, receipt)

Verify a relay receipt within your authenticated hook.

입력 스키마

{
  "type": "object",
  "properties": {
    "hookId": {
      "type": "string",
      "pattern": "^pub-[a-f0-9]{32}$"
    },
    "token": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "event": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "receipt": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "hookId",
    "token",
    "event",
    "receipt"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

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