Claude Code: Add .mcp.json for rails-mcp-server

Public
Claude Code: Add .mcp.json for rails-mcp-server
Used 0 times
Created by
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
Comments

Sign up or Login to leave a comment.