Run a side effect exactly once under retries, redelivery, and concurrent workers.
MCPpedia last refreshed this data
io.github.aurumflux20/once-kernel is an MCP server that run a side effect exactly once under retries, redelivery, and concurrent workers. Its tool list has not been published yet over sse, requires no API key, and scores 82/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-aurumflux20-once-kernel": {
"args": [
"once-kernel"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Run a side effect exactly once under retries, redelivery, and concurrent workers.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'once-kernel' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked once-kernel against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
The missing developer UI for Spring Boot and Quarkus!
A curated list of skills, tools, tutorials, and capabilities for AI coding agents (Claude, Codex, Antigravity, Copilot, VS Code)
MCP Security Weekly
Get CVE alerts and security updates for io.github.aurumflux20/once-kernel and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Run any side effect exactly once — even when 1,000 callers demand it at the same instant.

⚡ once — STORM DEMO
1,000 concurrent attempts to charge order #777 ($49.00)
ACTUAL EXECUTIONS : 1 ← the whole point
served same answer : 1,000 / 1,000
elapsed : 0.1s
💰 double-spend prevented this run: $48,951.00
That's not a mock — it's a live attack you can run right now:
pip install once-kernel
python -m once.demo
Networks retry. Users double-click. Queues redeliver. AI agents re-fire tools at machine speed. Any of these turns one payment into two, one email into three, one server into two hundred.
Most teams hand-roll an idempotency table — and most of those are quietly broken under concurrent load: two identical requests both pass the "already done?" check, then both execute. The bugs are subtle, the failures are money.
once is that table done right, once, for everyone — a tiny idempotency kernel with the four defenses hand-rolled versions miss:
IdempotencyConflict, never someone else's cached answer.from once import Once
o = Once()
def charge():
return gateway.charge(order_id="ord_1", amount_cents=4900)
# Retries, double submits, webhook redelivery, agent fan-out → runs ONCE
result = o.run("pay:ord_1", {"order": "ord_1", "amount_cents": 4900}, charge)
One box, several processes, no database server — SQLite, nothing to install:
from once import Once
from once.sqlite import SqliteStore
o = Once(SqliteStore("/var/lib/myapp/once.db")) # schema auto-created
Survives restarts and works across processes (WAL mode). The default MemoryStore does neither — it is per-process, so the moment you run a second worker each one keeps its own private idea of what already ran, and the guard silently stops guarding.
Several machines — share state through the Postgres you already run:
from once import Once
from once.pg import PostgresStore
o = Once(PostgresStore("postgresql://user:pass@host/db")) # table auto-created
Async (FastAPI, agents) — sync side effects go to a worker thread, waiters park on the event loop (no thread-pool starvation under duplicate storms; there's a test that proves it):
from once import AsyncOnce
ao = AsyncOnce()
result = await ao.run("pay:ord_1", payload, charge)
| If this happens | You get |
|---|---|
| Same key + same payload, again | The stored result — no second execution |
| Same key + different payload | IdempotencyConflict — never a silent wrong answer |
| 1,000 concurrent first requests | One executor; everyone else coalesces (wait=True) or is told to wait |
| Executing worker dies | Lease expires → another caller takes over |
| "Dead" worker wakes up late | Fenced out — cannot complete, cannot fail, cannot corrupt |
| Long job outliving its lease | heartbeat() keeps it protected |
| Your function raises | Key freed — a later retry may execute |
The honest model (put this o