Install
$ agentstack add mcp-alexzeitler-rails-diff-mcp ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Rails Diff MCP Server
MCP server that exposes Rails version diffs as tools. Data comes from the railsdiff/rails-new-output GitHub repository, where each Rails version is tagged with the output of rails new.
Tools
| Tool | Description | |------|-------------| | list_rails_versions | List all available Rails versions (sorted) | | compare_rails_versions | Compare two versions — returns a list of changed files | | get_file_diff | Get the patch for a specific file between two versions |
Setup
Prerequisites
- Docker and Docker Compose
- Optional:
GITHUB_TOKENenv var to avoid GitHub API rate limits
Start the server
docker compose up -d
The server listens on http://localhost:8080/mcp with a health check at http://localhost:8080/healthz.
Register in your MCP client
Example for Claude Code:
claude mcp add --transport http rails-diff http://localhost:8080/mcp
Restart your MCP client to pick up the new server.
Development
bun install
bun src/index.ts
The server starts on port 8080 by default. Override with PORT env var.
Configuration
| Env var | Description | Default | |---------|-------------|---------| | PORT | Server listen port | 8080 | | GITHUB_TOKEN | GitHub personal access token (raises API rate limit) | none |
Credits
Built on top of RailsDiff by Andy Stewart and contributors. The diff data comes from railsdiff/rails-new-output.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: AlexZeitler
- Source: AlexZeitler/rails-diff-mcp
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.