原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Rails AI Context

作者:crisnahine版本 5.39.1i★ –i在你的电脑上运行
注册名称io.github.crisnahine/rails-ai-context

安装

概览

作者提供的说明(英文原文)

35 MCP tools give AI agents live Rails schema, routes, models, and conventions.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 crisnahine 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18676 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18676 个服务器的 82% 更新
  • 基础检查结果等于或优于此分类中其他 18676 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Rails AI Context 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(5.39.1)于8天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Mcphost

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2114天前更新

在云端运行✓ desktopcommander.app

Mcphost

Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.

作者:j0yen起步阶段今天更新

在云端运行✓ mcphost.dev

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Your coding agent guesses your Rails app. Let it ask.

Website · Quick start · FAQ · What it does · A closer look · How it works · Tools reference · Contributing

Contents

  • What it does
  • Try it in your Rails app
  • A closer look: the schema, the model, the inherited filters, the trace, the app that cannot boot, the six rules
  • The tools
  • How it works
  • What it costs
  • Questions you should ask first
  • What it will not do
  • Install options and configuration
  • Troubleshooting
  • Development
  • Contributing and security
  • Learn more

What it does

An assistant writing Rails code knows what an average Rails app looks like. Yours has its own columns, associations, filters and test setup, and the assistant starts every session with none of that. It writes a migration for a column that exists, calls user.posts when the association is user.articles, scaffolds FactoryBot into a fixture suite, and misses the before_action a parent controller adds. You catch it, fix it, re-prompt, and something next to it breaks.

rails-ai-context gives the assistant 35 tools that read the app itself, over MCP from the AI tool or from the command line. Every answer is read from the app and says how sure it is, and most end with a hint for the next call.

WhenWhat the assistant getsA real line from an answer
It asks about a tableColumns with types, nulls and defaults, the indexes, the model on the tableindex_users_on_email on (email) (unique)
Before it calls an associationAssociations with their options, validations including the implicit ones, enums, scopes, callbacks, concernshas_many articles dependent: destroy (foreign_key: :author_id, inverse_of: :author)
Before it writes an actionThe actions, every filter with where it was inherited from, strong parameters, the layoutbefore authenticate_user! _(from ApplicationController)_ (skipped on: index, show)
Before it writes a testThe framework, where the factories or fixtures live, their traits, a template in the app's styleFactories: spec/factories (3 files)
It traces a methodThe definition and source, what it calls, every caller grouped by file and kind, the testsapp/services/article_publisher.rb (Service) · 11: return false unless @article.publishable?
When the app cannot bootThe same tools, from config/routes.rb, the schema dump and the source, saying so[STATIC] Static mode (static mode requested with --no-boot). Serving static analysis; runtime-only data is marked [UNAVAILABLE].

Each line comes from the sample app in this repository, a blog with Devise, an admin namespace, a JSON API, a Sidekiq job and a FactoryBot suite. The website records the whole answers every time it is built, by running the gem at that commit: crisnahine.github.io/rails-ai-context.

The install writes the files each AI tool reads, so the assistant knows the tools exist and how to ask: the MCP config, one root context file with six anti-hallucination rules, and rules that load when a model, a controller or a migration is open. The tools are read-only, the SQL tool runs inside a read-only transaction, and files that hold secrets are never served.

Try it in your Rails app

Open your AI tool at the root of your Rails app and paste this. It installs the gem, sets up the AI tool you are in, checks the result and tells you the one step left.

Install the rails-ai-context gem in this Rails app so you can read its schema, models, routes and code through its tools instead of guessing.
  1. Run ruby -v and bundle exec rails -v. rails-ai-context needs Ruby 3.1+ and Rails 7.0+. If either is older, stop and tell me.
  2. Pick TOOL, the key for the AI tool you are: claude (Claude Code), cursor (Cursor), copilot (GitHub Copilot in VS Code), opencode (OpenCode), codex (Codex CLI). If you are another AI tool, stop and tell me to use the "Another MCP client" prompt instead.
  3. Run bundle add rails-ai-context --group development --version '>= 5.35.0'. If the Gemfile already lists it, run bundle update rails-ai-context --conservative instead. Then run bundle exec rails-ai-context version: it must print 5.35.0 or newer, the first version with the flags used below. If it is older, the Gemfile pins it: change its rails-ai-context line to gem "rails-ai-context", ">= 5.35.0", group: :development and run bundle update rails-ai-context --conservative. If Bundler refuses (a frozen or deployment bundle), run gem install rails-ai-context -v '>= 5.35.0' instead and use rails-ai-context init --tools TOOL --defaults in step 4.
  4. Run bundle exec rails generate rails_ai_context:install --tools TOOL --defaults. If it fails because the app can't boot, run bundle exec rails-ai-context init --tools TOOL --defaults instead; that one reads the source files when the app won't start.
  5. Run bundle exec rails-ai-context tool onboard (or rails-ai-context tool onboard if you used gem install) and check it describes this app.
  6. Tell me which files changed, then the "Next step" lines the install printed for TOOL, word for word. I have to do that step before your rails-ai-context MCP tools appear.
<!-- END install-prompt -->

Rather type it yourself? In the Gemfile:

bundle add rails-ai-context --group development

bin/rails generate rails_ai_context:install --tools claude --defaults

Standalone, with no Gemfile change:

gem install rails-ai-context

rails-ai-context init --tools claude --defaults

As a Claude Code plugin, which adds the MCP server and gives each session the six rules, and writes no context files. It runs the installed gem, so install that first, and run it in the app's folder:

gem install rails-ai-context

claude plugin install rails-ai-context --marketpla

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx