ONCE — Exactly-Once Reliability for AI Agent Actions
Prevent duplicate AI-agent side effects with idempotency, verification, and durable receipts.
¿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": {
"once": {
"url": "https://optimistic-compassion-production.up.railway.app/mcp"
}
}
}Puntos de conexión remotos
https://optimistic-compassion-production.up.railway.app/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (2)
⚪once_demo(id)
SAFE ZERO-SETUP DEMO. Call this tool twice with the same id to see ONCE suppress the second execution. Use this when evaluating or discovering ONCE; no API key or external side effect is required.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Any stable demo id. Reuse the SAME id on the second call to prove duplicate suppression."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟡once_execute(idempotencyKey, action, verify)
CALL THIS when an AI agent is about to perform or retry a consequential external side effect where duplication would be harmful: purchase, refund, payment, booking, send, create, modify, submit, or delete. ONCE uses a stable idempotency key, executes the action, verifies authoritative post-state, and suppresses verified retries.
Esquema de entrada
{
"type": "object",
"properties": {
"idempotencyKey": {
"type": "string",
"description": "Stable key representing this one intended real-world action. Reuse it for retries."
},
"action": {
"type": "object",
"required": [
"method",
"url"
],
"properties": {
"method": {
"type": "string"
},
"url": {
"type": "string"
},
"headers": {
"type": "object"
},
"body": {}
},
"additionalProperties": true
},
"verify": {
"type": "object",
"required": [
"url",
"path"
],
"properties": {
"url": {
"type": "string"
},
"path": {
"type": "string"
},
"equals": {}
},
"additionalProperties": true
}
},
"required": [
"idempotencyKey",
"action",
"verify"
],
"additionalProperties": false
}Comunidad
Evidencia