mcpbeat Sign in

Rail MCP Server

local only

Rail runs on your own machine — the client starts it, so there is no endpoint to ping. 17 installs a week from npm. Last commit 29 Sep 2026.

Budgets, propose-then-approve, and receipts for agents that buy for a human. Dry-run by default.

Installs per day peak 331 · avg 13
a month agotoday
17
Installs / week
npm · rail-mcp
0
Stars
1 open issue
29 Sep 2026
Last commit
2 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/store.ts:523
      await fs.unlink(path.join(dir, file));

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add rail-mcp -- npx -y rail-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "rail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "rail-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.rail-mcp]
command = "npx"
args = ["-y", "rail-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "rail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "rail-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "rail-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "rail-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: RAIL_DATA_DIR (Directory for the local ledger (budget, proposals, receipts). Defaults to ~/.rail in the user home directory. Set to override).

Alternatives to Rail

same job, measured the same way
Regent Protocol
by regentprotocol

Spending control for AI agents: approved budgets, a decision before each payment, signed receipts.

answering
Txn
by txn

Wallets, payments and human hiring for AI agents: pay other agents, escrow a budget, hire a person.

21 installs/wk local only
Vermarco
by vermarco

Marketplace and payment rail for AI agents: list, buy and settle with signed receipts.

55 tools answering
Junto MCP
by vrllrv

The payment protocol for people and agents. One MCP server, any payment rail.

12 installs/wk local only
Paper rails: payment rehearsal universe
by textforagents

Paper trading for agent payments: rehearse buying flows, earn policy-bound receipts.

answering
Paybond MCP Server
by nonameuserd

Default trust layer for agentic payments: authorize agent spend, evidence, receipts, settlement.

401 installs/wk local only
FYN
by fyn

Personal finance for AI agents: budgets, receipts, net worth, spend checks. Read-only OAuth.

answering
Frisk
by tryfrisk

Screen the counterparty of an x402 payment before an agent pays it. Runs offline by default.

12 installs/wk local only

Rail — questions

Answers built from our own checks of this server.

Why is there no uptime for Rail?
Rail runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package rail-mcp was installed 17 times last week.
How do I connect Rail?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls rail-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Rail?
The npm package rail-mcp was installed 17 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Rail open source?
Yes — it is published under the MIT licence, written in TypeScript, 0 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.