@reinteractive/rails-insight 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,14 +50,14 @@ npx @reinteractive/rails-insight --project-root /path/to/your/rails/app
|
|
|
50
50
|
|
|
51
51
|
## Claude Code Integration
|
|
52
52
|
|
|
53
|
-
Add to your Claude Code MCP configuration:
|
|
53
|
+
Add to your Claude Code MCP configuration (`~/.claude/claude_desktop_config.json` or via `claude mcp add`):
|
|
54
54
|
|
|
55
55
|
```json
|
|
56
56
|
{
|
|
57
57
|
"mcpServers": {
|
|
58
58
|
"railsinsight": {
|
|
59
|
-
"command": "
|
|
60
|
-
"args": ["-
|
|
59
|
+
"command": "node",
|
|
60
|
+
"args": ["/opt/homebrew/lib/node_modules/@reinteractive/rails-insight/bin/railsinsight.js", "-p", "."]
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -71,14 +71,22 @@ In your `.cursor/mcp.json`:
|
|
|
71
71
|
{
|
|
72
72
|
"mcpServers": {
|
|
73
73
|
"railsinsight": {
|
|
74
|
-
"command": "
|
|
75
|
-
"args": ["-
|
|
74
|
+
"command": "node",
|
|
75
|
+
"args": ["/opt/homebrew/lib/node_modules/@reinteractive/rails-insight/bin/railsinsight.js", "-p", "."]
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
First install globally, then confirm the path:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npm install -g @reinteractive/rails-insight
|
|
85
|
+
npm root -g
|
|
86
|
+
# e.g. /opt/homebrew/lib/node_modules — update args above to match
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
The `-p .` flag sets the project root to your current workspace directory.
|
|
82
90
|
|
|
83
91
|
## VS Code Integration
|
|
84
92
|
|