You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This creates or updates the `.mcp.json` file in your current directory with the native HTTP transport configuration.
56
+
By default, this creates or updates the user-level configuration file (`~/.claude/settings.local.json`). To install at the project level instead, use the `--scope` flag:
This creates or updates the `.mcp.json` file in your current directory, which can be committed to version control.
57
63
58
64
**With environment variable substitution:**
59
65
@@ -163,6 +169,24 @@ This allows for:
163
169
-**Development**: Use actual values when env vars are set
164
170
-**Distribution**: Use substitution when sharing configs with your team
165
171
172
+
### `--scope`
173
+
174
+
Configuration scope that determines where the MCP server configuration is installed. Defaults to `user`.
175
+
176
+
```bash
177
+
gram install claude-code --toolset speakeasy-admin --scope user
178
+
```
179
+
180
+
**Available scopes:**
181
+
-**`user`** (default): Installs to user-level configuration (`~/.claude/settings.local.json`). Configuration is available across all projects for the current user.
182
+
-**`project`**: Installs to project-level configuration (`.mcp.json` in current directory). Configuration can be committed to version control and shared with team members.
183
+
184
+
**When to use each scope:**
185
+
- Use `user` scope for personal toolsets or when you want the same MCP servers available in all your projects
186
+
- Use `project` scope when specific MCP servers should be shared with your team through version control
187
+
188
+
**Note:** This flag applies to Claude Code and Gemini CLI installations. Cursor and Claude Desktop installations use their own installation mechanisms that don't support scope selection.
189
+
166
190
## Examples
167
191
168
192
### Example 1: Quick Setup with Automatic Configuration
0 commit comments