Rails + Ruby Stack
Build Ruby on Rails applications with PostgreSQL, Docker, testing, and documentation tools in your AI editor.
Token Budget
Moderate token usage. You will have good room for prompts but watch if adding more servers.
Config
Paste in ~/.claude.json
{
"mcpServers": {
"github-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN"
}
},
"playwright-mcp": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
},
"docker-mcp": {
"command": "npx",
"args": [
"-y",
"docker-mcp"
]
},
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
],
"env": {
"POSTGRES_CONNECTION_STRING": "YOUR_POSTGRES_CONNECTION_STRING"
}
},
"context7-mcp": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Included Servers
PostgreSQL MCP
Anthropic
Query and interact with PostgreSQL databases, inspect schemas, and run SQL directly from your AI editor.
Rails convention is Postgres in production. Query your database, inspect Active Record schemas, and debug migrations inline.
Docker MCP
Community
Manage Docker containers, images, volumes, and networks. Run, stop, inspect, and monitor containers from your AI editor.
Containerize your Rails app with all its dependencies — Redis, Postgres, Sidekiq — in one Docker Compose stack.
Context7 MCP
Upstash
Pull up-to-date documentation and code examples for any library directly into your prompt context using the Context7 API.
Rails has strong conventions that change between versions. Up-to-date docs prevent your AI from generating Rails 6 patterns in a Rails 7 app.
GitHub MCP
Anthropic
Access the GitHub API to manage repositories, issues, pull requests, branches, and workflows directly from your AI editor.
Rails PRs tend to be large and convention-heavy. GitHub integration makes code review and CI management seamless.
Playwright MCP
Microsoft
Automate browser interactions, take screenshots, fill forms, and test web applications using Microsoft Playwright from your AI editor.
Rails system tests pair perfectly with Playwright. Test your full-stack Rails app from browser to database in one flow.
Recommended Skills
Skills that pair with the servers in this stack. Learn more
For PostgreSQL MCP
PostgreSQL optimization guide covering query performance, connection management, indexing strategies, and schema design.
npx skillsadd supabase/agent-skills/supabase-postgres-best-practicesPostgreSQL table design patterns including normalization, indexing, partitioning, and data type selection.
npx skillsadd wshobson/agents/postgresql-table-designFor Docker MCP
Multi-stage builds, image optimization, container security, Compose orchestration, and production deployment patterns.
npx skillsadd sickn33/antigravity-awesome-skills/docker-expertCI/CD pipelines, infrastructure automation, containerization, and cloud platform expertise. Pairs with Docker MCP for hands-on container management.
For GitHub MCP
Use gh CLI for all GitHub operations including stacked PR workflows, issue management, and CI/CD automation.
npx skillsadd callstackincubator/agent-skills/githubDebug and fix failing GitHub PR checks in GitHub Actions. Automatically diagnoses CI issues and suggests fixes.
npx skillsadd openai/skills/gh-fix-ciAddress PR review comments using GitHub CLI. Streamlines the code review response workflow.
npx skillsadd openai/skills/gh-address-commentsAutomated code review for TypeScript, JavaScript, Python, Go. Analyzes PRs for complexity, SOLID violations, and code smells.
For Playwright MCP
Official Microsoft Playwright CLI skill for browser automation, E2E testing, and web scraping workflows.
npx skillsadd microsoft/playwright-cliTest generation, coverage analysis, and E2E testing patterns. Pairs with Playwright MCP for automated browser testing.