Rails Ai Context
Claimed45 MCP tools that give AI coding agents ground truth about your Rails app: schema, models, routes, controllers, views, jobs, conventions. Works with Claude Code, Cursor, GitHub Copilot, OpenCode and Codex CLI. MCP or CLI, in-Gemfile or standalone, and it still answers when the app can't boot.
Set up this server
More in Communication
Browse the full directoryBadge
Show this listing on your README and website
Get verified and your listing links back to your site with a do-follow link. The badge is optional while first-100 launch spots remain.
Security profile
Exposure: Broad
Reaches into the environment, credential files or other agents' configuration.
What this server can reach, from a static read of the shipped code. Nothing was executed and nothing here is a verdict: a browser tool has to run commands and an API wrapper has to call its API. Decide what fits your setup.
Detected
- Reads or writes other agents' configuration
Touches folders such as ~/.claude, ~/.codex or ~/.cursor, which hold settings and sometimes keys.
- Accesses credential files
References SSH keys, cloud credential files or token stores.
- Reads local configuration files
Loads a .env, .npmrc or config file. Normal for a server that needs an API key.
- Contains instructions aimed at AI agents
Text in code or agent-facing files that steers a model. Worth reading before you trust it.
- Passes model output on without checks
Model output reaches HTML, SQL or a shell without validation.
Dependencies with known advisories
None found in the lockfiles and manifests checked against OSV.dev.
Left out of the profile
2 pattern matches in documentation, configuration or CI files were recorded but are not part of the profile, because they do not run when the server does. The owner dashboard lists them.
40 of 40 tools
Documented tools (40)
From project documentation. A server handshake does not verify each tool’s description or behavior.
analyze_feature
Full-stack: models + controllers + routes + services + jobs + views + tests
dependency_graph
Model/service dependency graph in Mermaid or text format
generate_test
Test scaffolding matching your project's patterns
get_active_support
Concerns registry, deprecators, MessageVerifier usage, onload hooks, cache store
get_autoload
Zeitwerk mode, autoload/eager-load paths, collapsed dirs, custom inflections
get_callbacks
Callbacks in Rails execution order with source
get_component_catalog
ViewComponent/Phlex: props, slots, previews, sidecar assets
get_concern
Concern methods + source + which models include it
get_config
Database, auth framework, assets, cache, queue, Action Cable
get_context
Composite: schema + model + controller + routes + views in one call
get_controllers
Actions + inherited filters + render map + strong params
get_conventions
Auth checks, flash messages, create action template, test patterns
get_edit_context
Method-aware code extraction with class context
get_engines
Mounted engines (with known-engine descriptions) + loaded engine classes
get_env
Environment variables + credentials keys (not values)
get_env_config
Per-environment config: notable toggles + every config key each env sets
get_frontend_stack
React/Vue/Svelte/Angular, Hotwire, TypeScript, package manager
get_gems
Notable gems with versions, categories, config file locations
get_helper_methods
App + framework helpers with view cross-references
get_i18n
Locales, translation files with key counts, per-locale coverage, fallbacks
get_job_pattern
Queue, retries, guard clauses, broadcasts, schedules
get_mailers
Mailer classes with delivery actions and delivery method
get_model_details
AST-parsed associations, validations, scopes, enums, macros - each result tagged [VERIFIED] or [INFERRED]
get_partial_interface
What locals to pass + what methods are called on them
get_routes
Code-ready helpers (postpath(@record)) + required params
get_schema
Columns with indexed/unique/encrypted/default hints
get_service_pattern
Interface, dependencies, side effects, callers
get_stimulus
HTML data-attributes (dashes!) + targets + values + actions
get_test_info
Fixtures + relationships + test template matching your patterns
get_turbo_map
Broadcast → subscription wiring + mismatch warnings
get_view
Templates with ivars, Turbo wiring, Stimulus refs, partial locals
migration_advisor
Migration code generation with reversibility + affected models
onboard
Narrative app walkthrough (quick/standard/full)
performance_check
N+1 risks, missing indexes, countercache, eager load candidates
query
Safe read-only SQL with timeout, row limit, column redaction
read_logs
Reverse file tail with level filtering and sensitive data redaction
search_code
Trace: definition + source + callers + tests. Also: definition, call, class filters
search_docs
Bundled topic index with weighted keyword search
security_scan
Brakeman static analysis - SQL injection, XSS, mass assignment
validate
Syntax + semantic + Brakeman security in one call
Tool change history
FAQ
Questions about Rails Ai Context MCP Server
- How do I connect Rails Ai Context MCP Server to Claude?
- The project does not publish a launch command that MCPVault could verify. Open the repository linked on this page for its install steps; the listing names Claude Code, Cursor as compatible clients.
- Is Rails Ai Context MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Rails Ai Context MCP Server do?
- Rails Ai Context MCP Server documents 40 tools to the agent, including analyze_feature, dependency_graph, generate_test. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.