Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Description from the maker (original English)
Budgets, propose-then-approve, and receipts for agents that buy for a human. Dry-run by default.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
RAIL_DATA_DIRYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"rail": {
"command": "npx",
"args": [
"-y",
"rail-mcp"
],
"env": {
"RAIL_DATA_DIR": "your-value"
}
}
}
}Run this in your terminal
claude mcp add rail --env RAIL_DATA_DIR=your-value -- npx -y rail-mcpFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"rail": {
"command": "npx",
"args": [
"-y",
"rail-mcp"
],
"env": {
"RAIL_DATA_DIR": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"rail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rail-mcp"
],
"env": {
"RAIL_DATA_DIR": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
RAIL_DATA_DIR envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 10, 2026
The registry name was verified with the GitHub account tstockham96, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.1) reached the registry 42 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Spec Driven Development, Remote Desktop Commander, My IP Help
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
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.
IP geolocation, ASN and a 0-100 risk score (VPN, proxy, Tor, datacenter) for any IP address.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Rail is a budget, approval and receipt layer that agents call when they buy something on a human's behalf, dry-run by default, wrapping Stripe Link for settlement rather than issuing cards.
It is not a marketplace, storefront, or outreach tool. Rail owns the budget, the approval gate, and the receipt ledger.
Requires Node.js 20+. Run the published package with npx -y rail-mcp. Default mode is dry-run: no network and no charges.
Claude Desktop and any other host that takes an mcpServers block:
{
"mcpServers": { "rail": { "command": "npx", "args": ["-y", "rail-mcp"] } } }
Cursor: one-click install (install links). The config value is the base64 of {"command":"npx","args":["-y","rail-mcp"]}.
Install Rail in Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=rail&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInJhaWwtbWNwIl19
Grok Bot: add a custom MCP with npx -y rail-mcp.
Do not put Stripe or Link secrets (STRIPE_SECRET_KEY, LINK_ACCESS_TOKEN, or live-spend flags) in this shared snippet. Real charges stay off unless those gates are set on purpose, outside the shared config. See Stripe Link seam.
Ledger files (budget.json, proposals.json, receipts.json) are written to ~/.rail in the user home directory, or to RAIL_DATA_DIR when that is set. They are local state, not part of the npm package. The default does not follow the process working directory, so a host that starts the server from / still writes under the home directory.
Set a budget, propose a purchase, have a human approve it, then read the receipt. Dry-run moves no money off the machine.
set_budget → { "amount_usd": 50, "note": "week1" }propose_purchase → { "merchant": "Acme", "amount_usd": 12, "rationale": "need widgets" }get_budget still shows remaining 50.00 and open_proposals: 1. The proposal is pending until a human decides.decide_proposal → { "proposal_id": "prop_…", "decision": "approve" }get_receipts returns one settled_dry_run receipt with a settlement_ref. Remaining budget is 38.00.Rejecting spends nothing. refund_receipt reverses a dry-run settlement and restores the budget.
| Tool | Purpose |
|---|---|
set_budget | Overwrite the local budget limit. Moves no money |
get_budget | Read budget, spent, remaining, open proposals count |
propose_purchase | Record a pending intent only. Moves no money. Needs a later human approval |
list_proposals | Read proposals by pending (default) / approved / rejected / all |
decide_proposal | Human confirmation step. approve settles (dry-run receipt + settlement_ref, remaining decremented). reject spends nothing. No double-decide |
get_receipts | Read receipts, newest first |
refund_receipt | Human confirmation step. Reverse a dry-run settlement and restore budget |
Proposing a purchase is cheap. Settling one is not. An agent may record intent without moving money. The human should confirm the call that settles a purchase or reverses a receipt.
Hosts should read title, description, and annotations from tools/list. Every hint is set explicitly. The spec defaults (readOnlyHint false, destructiveHint true, openWorldHint true) would otherwise treat every tool as a destructive open-world write. Rail's ledger is local. Default mode is dry-run: no network and no charge.
| Tool | readOnlyHint | destructiveHint | idempotentHint | openWorldHint | Host should |
|---|---|---|---|---|---|
set_budget | false | false | true | false | Allow. Overwrites the local limit only. The same arguments do not stack or spend |
get_budget | true | false | true | false | Allow. Read-only |
propose_purchase | false | false | false | false | Allow. Adds one pending intent and spends nothing. Each call creates a new proposal |
list_proposals | true | false | true | false | Allow. Read-only |
decide_proposal | false | true | true | false | Confirm with the human. approve settles and decrements remaining budget. A repeat does not settle again |
get_receipts | true | false | true | false | Allow. Read-only |
refund_receipt | false | true | true | false | Confirm with the human. Reverses a dry-run settlement and restores budget. A repeat does not refund again |
destructiveHint is the confirmation signal, and it is true only for decide_proposal and refund_receipt. openWorldHint is false on every tool: dry-run never leaves the ledger, and live Link stays behind separate environment gates. Annotations are hints for the host. They do not themselves move money.
Mode defaults to RAIL_MODE=dry_run. Money is stored as integer cents; tools display USD with 2 decimals. IDs: prop_…, rcpt_…, dry-run Link refs lsrq_dry_… on settlement_ref.
tsx is a dev dependency for dogfood in this repo. npm run smoke runs the TypeScript sources directly and does not need a build. npm start compiles first, then runs dist/index.js (the same file the rail-mcp bin points at).
npm install
npm start # tsc → dist/, then stdio MCP server npm run dev # tsx watch src/index.ts npm run smoke # dry-run ledger smoke test; throwaway dirs only (never ./data, ~/.rail, or RAIL_DATA_DIR)
npm run smoke forces RAIL_MODE=dry_run, never enables live charge gates, and writes the ledger only under temporary directories it creates and deletes. ./data, ~/.rail, and RAIL_DATA_DIR are left untouched even when RAIL_DATA_DIR is set in the environment. One check starts the server with its working directory at / and HOME pointed at a temp directory, then calls a tool. That call succeeds, and the ledger for that check is created under the temp home rather than /data or the real ~/.rail. An explicit RAIL_DATA_DIR still overrides the default in that launch.
Rail asks Link for a one-time credential. Rail still decides budget and policy and writes the receipt. This seam does not issue cards and does not render UI.
createSpendRequest returns a fake Link spend-request id and status dry_run_pending_human. No Stripe or Link HTTP. Approve stores that id as settlement_ref on a settled_dry_run receipt and decrements remaining budget.live mode not enabled — set keys and get explicit human approval unless both STRIPE_SECRET_KEY and RAIL_LIVE=1 are set. The proposal stays pending and no receipt is written.POST https://api.link.com/spend_requests body is scaffolded only (see src/stripeLink.ts). Nothing is sent unless RAIL_ALLOW_LIVE_CHARGE=1.LINK_ACCESS_TOKEN is also set. STRIPE_SECRET_KEY is a presence gate and is never sent. There is no Stripe Issuing card create. Docs: Link CLI, link-cli, Issuing for agents.link_pending_human and does not decrement the dry-run budget. CI and npm run smoke stay on dry-run and do not charge.| Env | Role |
|---|---|
RAIL_MODE | dry_run (default) or live |
RAIL_DATA_DIR | Ledger directory. Default is ~/.rail in the user home directory. An explicit value overrides the default |
STRIPE_SECRET_KEY | Required for live. Not used to issue cards or as a Link bearer token |
RAIL_LIVE=1 | Explicit live approval alongside the secret key |
RAIL_ALLOW_LIVE_CHARGE=1 | Additional gate before any Link HTTP |
LINK_ACCESS_TOKEN | Link OAuth token. Required before the scaffolded POST actually runs |
MIT. Copyright 2026 Thomas Stockham.