Dokun MCP by usefulapi
Read loyalty card customers; add stamps to loyalty cards in Dokun.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"dokun": {
"url": "https://dokun.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://dokun.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (2)
🟢dokun_list_customers
List the loyalty-card customers of your Dokun business, newest first. Returns at most 200 records (the 200 most recent sign-ups); there is no pagination. Each record has name, email, created_at and marketing_consent_at (null when marketing consent was not given). The emails are card-holder personal data. Dokun API: GET /api/v1/customers.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴dokun_add_stamp(serial, delta, idempotency_key)
Add stamps to a loyalty card. This changes the card balance and can fire a stamp webhook; it cannot be undone through this tool. serial is the card serial number or the full QR text scanned at the counter (sent as is). delta is the number of stamps to add (default 1). Pass idempotency_key (the receipt number, 1-64 printable ASCII) so a retried call does not add the stamp twice; Dokun keeps the first result for 24 hours. Dokun API: POST /api/v1/stamp.
입력 스키마
{
"type": "object",
"properties": {
"serial": {
"type": "string",
"minLength": 1,
"description": "Card serial number, or the full QR text scanned at the counter."
},
"delta": {
"description": "Number of stamps to add (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"idempotency_key": {
"description": "Optional key (for example the receipt number). A repeat with the same key returns the first result.",
"type": "string",
"pattern": "^[\\x20-\\x7E]{1,64}$"
}
},
"required": [
"serial"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거