Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Descripción del creador (original en inglés)
Your agent asks before it acts, so the same real-world action is attempted at most once.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
RATCHET_API_KEY, RATCHET_BASE_URLLos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Funciona en Claude para web, escritorio y móvil:
https://ratchetgate.com/mcpAbre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"ratchet": {
"command": "npx",
"args": [
"-y",
"ratchet-mcp"
],
"env": {
"RATCHET_API_KEY": "your-value",
"RATCHET_BASE_URL": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add --transport http ratchet https://ratchetgate.com/mcpclaude mcp add ratchet --env RATCHET_API_KEY=your-value --env RATCHET_BASE_URL=your-value -- npx -y ratchet-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"ratchet": {
"url": "https://ratchetgate.com/mcp"
}
}
}Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"ratchet": {
"command": "npx",
"args": [
"-y",
"ratchet-mcp"
],
"env": {
"RATCHET_API_KEY": "your-value",
"RATCHET_BASE_URL": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"ratchet": {
"type": "http",
"url": "https://ratchetgate.com/mcp"
}
}
}Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"ratchet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ratchet-mcp"
],
"env": {
"RATCHET_API_KEY": "your-value",
"RATCHET_BASE_URL": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
ChatGPT solo se conecta a servidores en internet:
https://ratchetgate.com/mcpLos nombres de los menús pueden variar un poco según el plan y con el tiempo.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
RATCHET_BASE_URL envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Todavía no hemos leído la lista de herramientas de este servidor; revisamos los endpoints por turnos.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026
Quien lo publicó (ratchetgate.com) no es el dueño del repo (thearchitect0x-glitch); puede que otra persona lo haya listado
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Aún sin revisar; revisamos los endpoints por turnos
Aún sin revisar; revisamos los endpoints por turnos
Aún sin revisar; leemos la lista de herramientas cuando revisamos el endpoint
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 0 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: RATCHET_API_KEY
Funciona de las dos formas: instálalo en tu computadora o conéctate a la versión en la nube.
El repo de GitHub cambió por última vez –, y la última versión (0.3.0) llegó al registro hace 2 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también funcionan las apps que aceptan servidores MCP remotos, como ChatGPT en modo desarrollador.
En la misma categoría: Spec Driven Development, Remote Desktop Commander, SuperCollider
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
An effect gate for AI agents. Your agent asks before it does anything it cannot take back — charge a card, ship a deploy, publish a package, send the email — and gets a durable decision, so the same real-world action is attempted at most once across crashes and retries. Agents can also read back what a run already did, and spend against a limit they cannot raise.
Agents retry. LLM control flow is non-deterministic, network calls fail ambiguously, and processes die mid-action. The result is duplicate emails, double charges, and repeated writes — and nothing in the stack knows which. Vendor idempotency keys help for the few vendors that offer them, and never across separate agent processes or model providers.
Ratchet does not execute your actions. It holds a durable decision record in front of them.
POST /v1/effects/begin → decision: execute | duplicate | in_flight
| blocked | approval_required | denied
Only execute authorises the caller to act.
| Architecture | High-level design — what the gate is and what it deliberately is not |
| Assurance case | Threat model, trust boundaries, and the argument for each security requirement — including what is *not* defended |
| Roadmap | What the next year holds, and what will never be built |
| Governance | Who decides, and what happens if they stop |
| Contributing | How to report a bug or propose a change |
| Security policy | How to report a vulnerability, and how fast you hear back |
| Code of conduct | What is expected, and who to tell |
| Known limitations | Everything that is not true yet, stated plainly |
If your process dies between "go" and "done", most systems quietly let the next caller retry. Ratchet won't. The lease expires and the effect becomes `indeterminate` — a known unknown, surfaced instead of buried. What happens next is the policy you declared for that effect type:
on_indeterminate | Behaviour | Use for |
|---|---|---|
block (default) | No automatic retry. A human or verifying agent resolves it. | Anything irreversible |
retry | A fresh attempt is granted, up to max_attempts. | Vendors that are genuinely idempotent |
probe | Caller must verify at the vendor and record evidence first. | Charges, transfers, payouts |
Exactly-once delivery is not achievable in a distributed system and this project does not claim it. What Ratchet guarantees is at-most-once initiation, a recorded outcome that later callers replay, and an explicit state for the case nobody else admits exists.
Requirements: Node 20.11+, Docker (for local Postgres).
npm install
cp .env.example .env # defaults work for local development npm run dev:db # Postgres on :5433 via Docker npm run migrate npm run dev # control plane on :8787 npm run dev:worker # lease reaper + webhook delivery (separate terminal)
Then open http://localhost:8787, or drive it from the shell:
bash examples/curl/walkthrough.sh
npm run seed populates a workspace with realistic state — a completed effect, a duplicate, an indeterminate one, and one awaiting approval — so the console has something to show.
AUTH_SECRET=$(openssl rand -base64 32) docker compose up --build
# 1. Ask, before you act.
curl -X POST http://localhost:8787/v1/effects/begin \ -H "Authorization: Bearer $RATCHET_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "effect_type": "email.send", "idempotency_key": "welcome:user_123", "payload": { "to": "sam@example.com" }, "estimated_cost_micros": 800 }'
curl -X POST http://localhost:8787/v1/effects/eff_.../report \ -H "Authorization: Bearer $RATCHET_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "lease_token": "lt_...", "outcome": "succeeded", "result": { "message_id": "msg_9f2" } }'
The one rule: report failed only when you *know* the action did not reach the outside world. If you are unsure — a timeout, a dropped connection — report nothing. The lease lapses and Ratchet records an honest indeterminate. A false failed is worse than silence, because it licenses a duplicate.
Derive the key from the work, deterministically.
| Good | Broken |
|---|---|
welcome-email:user_123 | uuid4() |
invoice:2026-08:acct_88123 | "send-" + Date.now() |
pr:acme/api:feature-auth | f"job-{attempt_number}" |
A key that changes on every attempt makes every retry look like new work.
Ratchet sits in your critical path, so decide this before integrating: on an outage your agent either acts without the gate (fail-open) or refuses to act (fail-closed). Use fail-closed for anything you would have to apologise for; fail-open where the vendor deduplicates anyway.
Full contract, client patterns, and the honest availability posture: docs/FAILURE_MODES.md.
┌──────────────────────────────┐
agents ──────────▶│ control plane (stateless) │ REST + MCP │ Fastify · /v1 · /mcp · web │ └──────────────┬───────────────┘ │ ┌──────────────▼───────────────┐ │ Postgres │ │ effects · policies · ledger │ │ spend windows · audit │ └──────────────▲───────────────┘ │ ┌──────────────┴───────────────┐ webhooks ◀────────│ worker (long-running) │ │ lease reaper · delivery · GC│ └──────────────────────────────┘
The control plane is stateless and scales horizontally — it may run on serverless infrastructure. The worker may not. It expires leases on a timer whether or not a request is in flight; a serverless function cannot do that. Run it as a long-running container. Multiple replicas are safe (every claim uses FOR UPDATE SKIP LOCKED).
At-most-once is enforced by a database unique constraint on (workspace_id, effect_type, idempotency_key) — not by application logic.
Full detail: docs/handoff/ARCHITECTURE.md.
The control plane is stateless and can scale freely. The worker cannot — it expires leases on a timer whether or not a request arrives, so it must be a long-running process. That single constraint rules out purely serverless hosts (Vercel, Netlify functions) despite their being easier, and is why fly.toml runs both process groups from one image.
brew install flyctl && fly auth login # once, needs your browser
npm run deploy:fly
The script is idempotent: it creates the app, provisions managed Postgres, generates AUTH_SECRET once (never rotating it, since that would invalidate every API key), deploys both processes, and verifies readiness. It refuses to proceed unless preflight passes:
npm run deploy:preflight
Preflight runs the full suite and production build, then checks that AUTH_SECRET is strong and not the dev default, PUBLIC_URL is set (otherwise the manifest would advertise localhost), RATE_LIMIT_OVERRIDE is unset, private-network webhooks are off, CORS carries no wildcard, and — if Stripe is selected — that both the key and the webhook secret are present. It prints no secret values.
Any container platform works; only fly.toml is Fly-specific. Set DATABASE_URL, AUTH_SECRET, PUBLIC_URL, NODE_ENV=production, then run node dist/api/server.js (scale freely) and node dist/worker/main.js (at least one, always on).
To rehearse the exact production containers locally:
AUTH_SECRET=$(openssl rand -base64 32) docker compose up --build
| Command | What it does |
|---|---|
npm run dev | Control plane with reload |
npm run dev:worker | Worker with reload |
npm run dev:db / dev:db:down | Local Postgres in Docker |
npm run migrate | Apply migrations (advisory-locked; safe to run concurrently) |
npm run seed | Populate a workspace with realistic state |
npm test | Typecheck + unit + integration + e2e against a disposable database |
npm run test:unit / test:integration / test:e2e | One layer |
npm run typecheck / lint | TypeScript in strict mode |
npm run build | Compile to dist/ |
npm start / start:worker | Run the compiled build |
npm run mcp:stdio | MCP server over stdio |
npm run openapi | Write the OpenAPI document to disk |
npm run deploy:preflight | Verify the build and configuration are safe to deploy |
npm run deploy:fly | Deploy control plane, worker, and database to Fly.io |
npm run metrics | Operating metrics against the pricing-review thresholds |
npm run stripe:check | Report payment configuration and verify it against Stripe |
npm run stripe:listen | Forward Stripe events to a local instance and print a webhook secret |
npm run audit | Production dependency audit |
Every variable, with defaults and safety notes, is in .env.example. The two that are required:
| Variable | Notes |
|---|---|
DATABASE_URL | Postgres connection string |
AUTH_SECRET | 32+ random characters. Derives the API-key pepper and console session ids. Rotating it invalidates every API key and session. |
In NODE_ENV=production the process refuses to start if AUTH_SECRET is the development default or shorter than 32 characters, if CORS_ORIGINS contains *, or if WEBHOOK_ALLOW_PRIVATE_NETWORK is on.
| Surface | Path |
|---|---|
| OpenAPI 3.1 | /openapi.json — generated from the schemas the routes validate against |
| Capability manifest | /.well-known/agent-manifest.json — including what Ratchet *doesn't* do |
| Machine docs | /llms.txt |
| MCP tool schemas | /mcp/info |
| MCP (Streamable HTTP) | POST /mcp with Authorization: Bearer |
| MCP (stdio) | npx -y ratchet-mcp with RATCHET_API_KEY — see [`packa
Solo se muestra el principio; lee el resto en el repo