
Ruby Native
io.github.ruby-native由 GitHub 帳號 ruby-native 發布v0.19.1更新於 Oct 30, 2026
Ship a Rails app to the App Store and Google Play. Every ruby_native command as a tool.
發布方自己的服務:NativeExpress
概覽
Ruby Native 的 MCP 伺服器讓助理檢查 Rails 應用程式的原生檢視訊號與設定,並驅動 App Store 與 Google Play 的建置與上架。
- 可以做什麼
- 在本機檢查樣板與設定:找出拼錯、重複或版本過新的 data-native 屬性,列出所有訊號及其所需 gem 版本,並指出應用程式會直接拒絕或默默忽略的設定值。
- 檢視帳號與建置狀態:上架進度與阻礙、近 48 小時實機回報的設定錯誤、使用者可安裝的建置,以及單一建置的結果。
- 準備發布素材:權限、測試人員、圖示、截圖設定與擷取、上架資訊推送與拉取、示範帳號。
- 提交或撤回審核:提交需兩次呼叫確認,助理必須先展示內容才能送往 Apple。
- 適用情境
- 適合透過 Ruby Native 把 Rails 產品發布為 iOS 與 Android 應用程式的團隊,尤其是希望由編碼助理完成整合設定、驗證檢視輔助方法與設定,並準備或提交商店上架資訊的情況。
- 執行需求
- 以 ruby_native gem 的 mcp 指令在本機透過 stdio 執行,通常為 bundle exec ruby_native mcp,並註冊到專案的 .mcp.json。需要已安裝該 gem 的 Rails 應用程式;check_views 另需 herb gem。帳號類工具使用 ruby_native login 儲存的權杖,或外掛中可選提供的權杖。預覽功能需要 cloudflared。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Ruby Native,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ruby_native
Ruby Native turns a Rails app into iOS and Android apps. This gem is the Rails-side integration: view helpers, a YAML config file, endpoints auto-mounted at /native, and a CLI for previewing and deploying builds. Full docs, including the complete helper reference and config schema, live at rubynative.com/docs.
It is built for teams with a Rails product whose customers want an app. You keep one codebase and one roadmap: Ruby Native renders the HTML you already write as native tab bars, navigation, forms, and push notifications, builds the apps in the cloud with no Xcode or Android Studio, and submits them to the App Store and Google Play. A coding agent can drive every step through the bundled MCP server, stopping only for the few clicks Apple keeps for a person. Apps built with it run on 150,000+ devices. Pricing is one plan per app, $199 a month or $1,990 a year, at rubynative.com/pricing; the phone preview costs nothing and needs no account.
Installation
The engine auto-mounts at /native. No route configuration needed.
Getting started
Run the install generator:
This creates config/ruby_native.yml with tabs taken from your routes. If you use a coding agent, hand it the rest here:
Then say: set up Ruby Native in this app. It wires the layout, checks its own work, and later drafts the listing, captures screenshots, and submits for review, stopping only for the few clicks Apple keeps for a person. By hand, the same steps are:
-
Edit the config with your colors and tabs (see below).
-
Add the stylesheet and
viewport-fit=coverto your layout<head>:viewport-fit=coveris required for CSSenv(safe-area-inset-*)variables to resolve to real values instead of0. -
Add the tab bar to your layout
<body>: -
Preview it on your phone (see below).
The full walkthrough, including safe area layout and hiding web-only navigation with native_app?, is at rubynative.com/docs/setup.
Configuration
config/ruby_native.yml controls the native shell:
Changes are picked up without restarting the server in development. See rubynative.com/docs for the full schema: appearance and dark mode, navbar branding, Advanced Mode, OAuth, and linked domains.
Preview
Preview your app on a real device without deploying:
This starts a Cloudflare tunnel and shows a QR code for the Ruby Native app to scan. Your Rails server needs to be running separately. Requires cloudflared:
The tunnel points at port 3000, or at PORT when it is set, the same way rails server picks its port. Pass --port 4000 to override, or --url for an upstream that isn't on localhost.
See rubynative.com/docs/cli for deploy, login, and auto-deploying from CI.
React and Vue
Building with Inertia instead of ERB? @ruby-native/react and @ruby-native/vue provide the same helpers as npm packages, versioned alongside this gem. See rubynative.com/docs/inertia for setup.
AI agents
Every docs page serves markdown: append .md to the URL or request Accept: text/markdown. For an index of everything, fetch rubynative.com/llms.txt, or llms-full.txt for the complete docs as a single file.
MCP server
Docs tell an agent what to write. They don't tell it whether what it wrote works, and Ruby Native's signals fail silently on purpose: an app that doesn't recognize a data-native-* attribute ignores it. A typo renders nothing, raises nothing, and logs nothing, so it survives right up until someone opens the build and notices the missing button.
ruby_native mcp closes that loop. It speaks MCP over stdin and stdout. Three tools answer from your working copy, with no account involved:
Four more read your account, using the token ruby_native login already stored:
The pairs are the point. validate_config says what will fail to decode; config_errors says what did, on which devices. check_views compares your templates against the gem in your Gemfile; deployed_builds compares them against the binary in the store, which is usually the answer to "the attribute is right but nothing happens on my phone".
Full reference at rubynative.com/docs/cli. Register it in the project's .mcp.json, which Claude Code reads:
Then say: set up Ruby Native in this app.
Installed as the Claude Code plugin (claude plugin marketplace add ruby-native/gem, then claude plugin install ruby-native@ruby-native), the server is the same command. The plugin asks for an optional Ruby Native token; leave it blank and the account tools use the login ruby_native login stored on this machine.
Or, in a client that takes JSON:
The rest stage things with Ruby Native and reach Apple only on a build or a click on the dashboard: permissions_set, testers_add, icon_set, screenshots_setup, screenshots_capture, listing_push, listing_pull, and demo_account_set, each the same as its CLI command. submit is the one tool that reaches Apple on its own: it takes two calls with a token in between, so the agent has to show you what is going before it can send it, and withdraw takes it back out of the queue until Apple approves. The first three tools never leave your machine; the rest send your CLI token to rubynative.com. check_views needs the herb gem, same as ruby_native check.
License
MIT.
來源:README.md,提交 6c7f332
工具
0版本歷史
3- v0.19.1最新Oct 29, 2026
- v0.18.1Oct 24, 2026
- v0.18.0Oct 23, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Native 整合
NativeExpress
express.native.www官方發布者
確定行動應用程式首個版本的範圍,從免費的 Expo 模板開始,並通過應用程式商店審核。AI 翻譯
Purple8 — AI-Native Application Backend
ai.purple8.www
遠端 MCP 後端,為 AI 助理提供 176 個工具,用來建置與運作應用程式的資料、驗證、工作流程、SLA、人工介入與 RAG。

Pages Native
由 GitHub 帳號 viames 發布
原生 Apple Pages:受保護的編輯、模板、批處理、配方歷史和 PDF 預覽。AI 翻譯

Numbers Native
由 GitHub 帳號 viames 發布
讓助手在 macOS 上透過 Numbers 應用程式建立、檢視與編輯真正的 Apple Numbers 試算表,支援公式、圖表與 CSV。

NativeKeel
由 GitHub 帳號 AlicanAkyol 發布
唯讀的 MCP 伺服器,用來檢查 React Native 與 Expo 專案的升級阻礙、商店規則、當機風險、安全性與無障礙問題。