# ruby-native

An MCP server bundled with the ruby_native gem: it checks your Rails views and config before a build goes to the App Store or Google Play.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 27
- Author: ruby-native
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ruby-native/gem
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/ruby-native

## What it does

The `ruby_native` gem is the Rails side of Ruby Native: view helpers, a YAML config file, endpoints mounted at `/native`, and a CLI for previewing and deploying builds. The MCP server speaks over stdin and stdout and hands those checks to a coding agent.

Seven tools split into two groups. Three work from your working copy with no account: `check_views` flags misspelled or duplicated `data-native-*` attributes, `lookup_signals` maps each attribute to the gem version it needs, `validate_config` reports what the apps reject in `config/ruby_native.yml`. The other four read your account with the token from `ruby_native login` — build status, decode errors reported by real devices over the last 48 hours, and which deployed build your users can install.

Ruby Native signals fail quietly by design: an unknown `data-native-*` attribute is ignored, so a typo raises nothing and logs nothing. That is why `check_views` and `deployed_builds` come as a pair — one compares templates against the gem in your Gemfile, the other against the binary already in the store. `ruby_native preview` needs `cloudflared` installed.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- catch a typo in a `data-native-*` attribute before a build
- explain why a correct attribute does nothing on the phone
- see what the apps reject in `config/ruby_native.yml`
- read decode errors reported by real devices
- check which gem version a signal requires

## Example prompts
- Check my views for misspelled `data-native-*` attributes
- Validate `config/ruby_native.yml` and tell me what the apps will reject
- Show decode errors from devices over the last 48 hours

## Similar
- [mobile-mcp](https://affpapa.org/en/nevibecode/mcp/mobile-mcp.md) — MCP server · ★ 9946
- [mobilerun](https://affpapa.org/en/nevibecode/mcp/mobilerun.md) — MCP server · ★ 9751
- [e2e](https://affpapa.org/en/nevibecode/mcp/e2e.md) — MCP server · ★ 11912
- [XcodeBuildMCP](https://affpapa.org/en/nevibecode/mcp/xcodebuildmcp.md) — MCP server · ★ 6505
- [ShipSwift](https://affpapa.org/en/nevibecode/mcp/shipswift.md) — MCP server · ★ 3244
- [agent-device](https://affpapa.org/en/nevibecode/mcp/agent-device.md) — MCP server · ★ 5149

---
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
