Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Your agent asks before it acts, so the same real-world action is attempted at most once.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
RATCHET_API_KEY, RATCHET_BASE_URL비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
웹, 데스크톱, 모바일의 Claude에서 쓸 수 있어요:
https://ratchetgate.com/mcpClaude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"ratchet": {
"command": "npx",
"args": [
"-y",
"ratchet-mcp"
],
"env": {
"RATCHET_API_KEY": "your-value",
"RATCHET_BASE_URL": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
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-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"ratchet": {
"url": "https://ratchetgate.com/mcp"
}
}
}프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"ratchet": {
"command": "npx",
"args": [
"-y",
"ratchet-mcp"
],
"env": {
"RATCHET_API_KEY": "your-value",
"RATCHET_BASE_URL": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"ratchet": {
"type": "http",
"url": "https://ratchetgate.com/mcp"
}
}
}프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"ratchet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ratchet-mcp"
],
"env": {
"RATCHET_API_KEY": "your-value",
"RATCHET_BASE_URL": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요:
https://ratchetgate.com/mcp메뉴 이름은 요금제나 시기에 따라 조금 다를 수 있어요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
RATCHET_BASE_URL env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
아직 이 서버의 도구 목록을 읽지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
게시자(ratchetgate.com)가 저장소 소유자(thearchitect0x-glitch)가 아니에요. 다른 사람이 등록했을 수 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요
아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요
아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 0개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: RATCHET_API_KEY
둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.3.0)은 2개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되기 때문에, 원격 MCP 서버를 지원하는 앱(예: 개발자 모드의 ChatGPT)에서도 쓸 수 있어요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Zendesk
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
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.
Zendesk MCP Pack — tickets, users, organizations via OAuth.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요