# Wever Labs Agentic Rails

Wever Labs Agentic Rails — a remote MCP server that lets an agent browse rails, price a run, execute it, and come back with a hashed package plus a signed receipt.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 708 installs
- Author: davidwever
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/davidwever/wever-labs-agentic-rails
- Updated: 2026-06-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/wever-labs-agentic-rails

## What it does

The server hands an agent a set of rail tools. `list_rails` and `get_active_rail_catalog` show which contracts are live and which fields a run needs; `quote_run` returns the units and currency; `start_rail_run` opens a run against an idempotency key and a payment reference.

After the run, `fetch_return_package` gives the package contract and its hash, `record_receipt` ties a receipt to the run, and `verify_receipt` checks the hash and signature link. A separate group signs and rotates: `sign_receipt`, `verify_managed_receipt_signature`, `rotate_signing_secret`, plus verification against a declared signing version. Scoped credentials have their own path — issue, enforce, and a dry run where one write is allowed and another is refused.

A paid run does not complete on its own. `complete_agent_self_serve_paid_rail_run` waits for a payment reference or a verified checkout, and the movement fee is quoted apart from tool access, which costs nothing. Persistence tools expect Supabase: `validate_persistent_store` lists the environment variables and tables they read, so the write test fails until that store exists.

## Requirements
- Remote server: `https://wever-labs-agentic-rails--davidwever.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http wever-labs-agentic-rails https://wever-labs-agentic-rails--davidwever.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add wever-labs-agentic-rails --url https://wever-labs-agentic-rails--davidwever.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "wever-labs-agentic-rails": {
            "url": "https://wever-labs-agentic-rails--davidwever.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "wever-labs-agentic-rails": {
            "type": "http",
            "url": "https://wever-labs-agentic-rails--davidwever.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http wever-labs-agentic-rails https://wever-labs-agentic-rails--davidwever.run.tools
```

## When to use it
- price a rail run before committing to it
- run a paid rail and pull the return package
- match a receipt hash and signature to its run
- issue a scoped credential and prove the write boundary
- build a payload for a directory submission

## Example prompts
- List the active rails and the fields a run needs
- Quote the movement fee and start a paid run with the checkout reference
- Verify the receipt signature against its declared signing version

## Similar
- [inertia-rails-architecture](https://affpapa.org/en/nevibecode/skills/inertia-rails-architecture.md) — skill · 555 installs
- [Tidewave Rails](https://affpapa.org/en/nevibecode/mcp/tidewave-rails.md) — MCP server · ★ 476 repo stars
- [Rails AI Context](https://affpapa.org/en/nevibecode/mcp/rails-ai-context.md) — MCP server · ★ 189 repo stars
- [x402receipts](https://affpapa.org/en/nevibecode/mcp/x402receipts.md) — MCP server · ★ 1 repo stars
- [rails-expert](https://affpapa.org/en/nevibecode/skills/rails-expert.md) — skill · 5100 installs
- [ruby-rails](https://affpapa.org/en/nevibecode/skills/ruby-rails.md) — skill · 907 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
