Datoka Hooks

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

我該用這個嗎

品質與安全性

A
說明品質
97%
結構描述完整度
80%
命名品質
91%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,119Token(工具定義)
~1.1 KB典型回應大小
中等的注意力影響(128k 上下文的 0.87%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `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 個工具