-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Description
Problem
When running npx -y grab@latest init and selecting MCP connection for agents (e.g., Claude Code, Codex, Droid), the MCP server configuration is written to the global config files:
- Droid →
~/.factory/mcp.json - Claude Code →
~/.claude.json - Codex →
~/.codex/config.toml
This means the react-grab-mcp server is enabled for all projects, not just the one where React Grab was installed.
Expected Behavior
The MCP config should be written to project-level config files by default. For example:
- Droid →
.factory/mcp.json(in project root) - Claude Code →
.claude/settings.jsonor.mcp.json(in project root)
This keeps the MCP server scoped to the project that actually uses React Grab.
Suggestion
Either:
- Default to project-level MCP config (preferred), or
- Add a prompt during
initasking users to choose betweenprojectandglobalscope for MCP configuration
Environment
- React Grab: 0.1.19
- OS: macOS
- Agents: Claude Code, Codex, Droid
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels