Claude Code: Add .mcp.json for rails-mcp-server
Used 0 times
A
Andy Waite
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/xGqsW9"
Template Source
Review the code before running this template on your machine.
file ".mcp.json", <<~EOS
{
"mcpServers": {
"rails-mcp-server": {
"type": "stdio",
"command": "rails-mcp-server",
"args": [],
"env": {}
}
}
}
EOS