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"
]
},
"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.