open-index/open-npm huggingface dataset:
npm package: @railslab/mcp
Description: MCP server for Rails Lab — connect Claude to agent payments
Latest version: 2.1.0

# @railslab/mcp

MCP server for Rails Lab — connect Claude Code, Claude Desktop, and Cursor to agent payments natively via Model Context Protocol.

## Quick Setup

```bash
npx @railslab/mcp setup
```

This walks you through an interactive setup — wallet key, daily budget — and writes the MCP config to `~/.claude/settings.json` automatically. Restart Claude Code and try: "check my budget".

## Manual Configuration

Add to `~/.claude/settings.json`:

```json
{
  "mcpServers": {
    "rails-lab": {
      "command": "npx",
      "args": ["@railslab/mcp"],
      "env": {
        "LEET_API_KEY": "<your-key>",
        "LEET_API_URL": "https://<your-server-url>"
      }
    }
  }
}
```

## Available Tools

| Tool | Description |
|------|-------------|
| `pay` | Execute a payment with budget and policy enforcement |
| `check_budget` | Check your agent's current budget status and remaining spend |
| `get_policies` | List all policies that apply to your agent |
| `list_transactions` | List your agent's past transactions |
| `get_spend_summary` | Get aggregated spend data for a time period |
| `get_health` | Check Rails Lab system status and available protocols |

## How It Works

The package runs as a stdio MCP server that Claude spawns as a subprocess. Tool calls are forwarded to the remote Rails Lab API over HTTPS using your agent's API key. No local database, no heavy dependencies.

## Links

- [Rails Lab Repository](https://github.com/railslab-ai/railslab)
npm package: @railslts/rails-ujs
Description: Ruby on Rails unobtrusive scripting adapter
Latest version: 5.2.8

= Action View

Action View is a framework for handling view template lookup and rendering, and provides
view helpers that assist when building HTML forms, Atom feeds and more.
Template formats that Action View handles are ERB (embedded Ruby, typically
used to inline short Ruby snippets inside HTML), and XML Builder.

== Download and installation

The latest version of Action View can be installed with RubyGems:

  $ gem install actionview

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/5-2-stable/actionview


== License

Action View is released under the MIT license:

* https://opensource.org/licenses/MIT


== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports for the Ruby on Rails project can be filed here:

* https://github.com/rails/rails/issues

Feature requests should be discussed on the rails-core mailing list here:

* https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-core
npm package: @railsmob/events
Description: Simple and well-tested events
Author: Ivan Zotov
Latest version: 0.2.1

# Events

[![downloads][downloads-badge]][npmcharts]
[![version][version-badge]][package]
[![license][license-badge]][license]
[![coverage][codecov-badge]][codecov]
[![PRs Welcome][prs-badge]][prs]


## LICENSE

MIT

[version-badge]: https://img.shields.io/npm/v/@railsmob/events.svg?style=flat-square
[package]: https://www.npmjs.com/package/@railsmob/events
[downloads-badge]: https://img.shields.io/npm/dm/@railsmob/events.svg?style=flat-square
[npmcharts]: http://npmcharts.com/compare/@railsmob/events
[license-badge]: https://img.shields.io/npm/l/@railsmob/events.svg?style=flat-square
[license]: https://github.com/railsmob/events/blob/master/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com
[codecov]: https://codecov.io/gh/railsmob/events
[codecov-badge]: https://img.shields.io/codecov/c/github/railsmob/events.svg?style=flat-square
npm package: @railsmob/store
Description: Small and well-tested store
Author: Ivan Zotov
Latest version: 0.2.2

# Store

[![downloads][downloads-badge]][npmcharts]
[![version][version-badge]][package]
[![license][license-badge]][license]
[![coverage][codecov-badge]][codecov]
[![PRs Welcome][prs-badge]][prs]


## LICENSE

MIT

[version-badge]: https://img.shields.io/npm/v/@railsmob/store.svg?style=flat-square
[package]: https://www.npmjs.com/package/@railsmob/store
[downloads-badge]: https://img.shields.io/npm/dm/@railsmob/store.svg?style=flat-square
[npmcharts]: http://npmcharts.com/compare/@railsmob/store
[license-badge]: https://img.shields.io/npm/l/@railsmob/store.svg?style=flat-square
[license]: https://github.com/railsmob/store/blob/master/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com
[codecov]: https://codecov.io/gh/railsmob/store
[codecov-badge]: https://img.shields.io/codecov/c/github/railsmob/store.svg?style=flat-square