Dokun MCP by usefulapi
Read loyalty card customers; add stamps to loyalty cards in Dokun.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"dokun": {
"url": "https://dokun.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://dokun.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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"
}Comunidad
Evidencia