rails-ai-context is a Ruby gem that enhances AI coding by allowing it to query a Rails application's schema, models, routes, and conventions directly, reducing the need for guesswork and correction loops.
From the registry: 38 MCP tools give AI agents live Rails schema, routes, models, and conventions.

$ gem install rails-ai-contexthttps://rubygems.org/gems/rails-ai-context$ rails-ai-context initPlease install the `rails-ai-context` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Ruby >= 3.2, Rails >= 7.1** — Required runtime
- **Install rails-ai-context gem** — Add to Gemfile (development group) or install standalone Run: `gem install rails-ai-context` (https://rubygems.org/gems/rails-ai-context)
- **Initialize in your Rails app** — Run the setup wizard to configure AI tool integration Run: `rails-ai-context init`
Canonical MCP server config (stdio transport):
- command: `rails-ai-context`
- args: ["serve"]
Note: 38 read-only tools for Rails app introspection: schema, models, routes, controllers, views, tests. Uses Prism AST parsing with VERIFIED/INFERRED confidence tags. Also supports HTTP transport via Rails engine mount. In-app: rails ai:serve
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.