MCP server · Audited from source
Rails AI Context MCP server
by crisnahine/rails-ai-contextMIT licenceAudited 7 Oct 2026 · source 23f9fe7f10d1
Is it safe? No — BLOCK, grade F (50/100). It exposes 2 tools: 2 read, 0 write and 0 destructive. The audit recorded 55 findings (0 critical, 4 high, 21 medium, 22 low). Maintainer's description: 45 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.
Cite
Cite this page
ModelsAtlas. “Rails AI Context MCP server (crisnahine/rails-ai-context)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/crisnahine/rails-ai-context
Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Inventory / provenance at lib/rails_ai_context/payload.rb. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
55 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared3 observations
- NetworkDeclared3 observations
- ShellDeclared1 observation
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (55)
Sorted by severity · the 25 most severe of 55 are listed
HIGHInventory / provenanceinv.suspicious_name · lib/rails_ai_context/payload.rb
payload.rb
- Why
- member named after an attack tool
- Fix
- remove or justify
HIGHCode injectioncode.deserialize · lib/rails_ai_context/tools/query.rb:480
Marshal.load(read_before(reader, size, deadline))
- Why
- deserialises untrusted bytes into live objects
- Fix
- use json or yaml.safe_load
HIGHFilesystem / pathfs.credential_store · lib/rails_ai_context/configuration.rb:403
.ssh/* .aws/credentials .aws/config .netrc .pgpass .my.cnf
- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · lib/rails_ai_context/doctor.rb:605
.netrc .pgpass .aws/credentials **/id_rsa **/id_ed25519 **/id_ecdsa **/id_dsa .ssh/*
- Why
- touches a credential store
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · spec/lib/rails_ai_context/introspectors/schema_introspector_spec.rb:2398
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · spec/lib/rails_ai_context/redaction_properties_spec.rb:21
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · spec/lib/rails_ai_context/redaction_spec.rb:638
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · spec/lib/rails_ai_context/redaction_spec.rb:697
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.db_uri · spec/lib/rails_ai_context/redaction_spec.rb:704
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · spec/lib/rails_ai_context/redaction_properties_spec.rb:160
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · spec/lib/rails_ai_context/redaction_properties_spec.rb:161
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · spec/lib/rails_ai_context/redaction_spec.rb:298
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · spec/lib/rails_ai_context/tools/read_logs_spec.rb:369
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.github · spec/lib/rails_ai_context/tools/read_logs_spec.rb:372
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · spec/lib/rails_ai_context/redaction_spec.rb:341
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · spec/lib/rails_ai_context/redaction_spec.rb:350
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · spec/lib/rails_ai_context/redaction_spec.rb:424
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · spec/lib/rails_ai_context/redaction_spec.rb:437
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · spec/lib/rails_ai_context/redaction_spec.rb:438
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.slack · spec/lib/rails_ai_context/tools/read_logs_spec.rb:361
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.slack · spec/lib/rails_ai_context/tools/read_logs_spec.rb:365
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.stripe · spec/lib/rails_ai_context/redaction_spec.rb:939
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.stripe · spec/lib/rails_ai_context/tools/read_logs_spec.rb:124
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.stripe · spec/lib/rails_ai_context/tools/read_logs_spec.rb:353
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.stripe · spec/lib/rails_ai_context/tools/read_logs_spec.rb:357
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
2 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
Controllers | All controllers with actions, filters, strong params, and concerns | read |
Migrations | Migration history, pending migrations, and migration statistics | read |
Safer alternatives
svnscha/mcp-windbg
Model Context Protocol for WinDbg.
svnscha/mcp-windbg
Model Context Protocol for WinDbg.
study8677/antigravity-workspace-template
🧠 RepoBrain (formerly Antigravity) — Give your repo a brain. ChatGPT for your codebase: works in Claude Code, Cursor, Codex, Windsurf & more.
Audit history
- ✕BLOCK F 50 / 100
First audit ·
23f9fe7f10d1
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about Rails AI Context MCP server
What is the Rails AI Context MCP server?
What tools does Rails AI Context expose?
Is Rails AI Context safe to connect to an agent?
What credentials does Rails AI Context need?
How does Rails AI Context run?
How current is this page?
I already installed Rails AI Context. What should I do?
Can the verdict change?
Sources
- crisnahine/rails-ai-context on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 23f9fe7f10d1Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Rails AI Context MCP server?
- What tools does Rails AI Context expose?
- Is Rails AI Context safe to connect to an agent?