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
Copy file name to clipboardExpand all lines: docs/features/mcp/using-mcp-in-roo.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,8 +233,10 @@ This Windows-specific configuration:
233
233
- The `-y` flag automatically answers "yes" to any prompts during installation
234
234
- Runs the `@modelcontextprotocol/server-puppeteer` package which provides browser automation capabilities
235
235
236
-
:::note
237
-
For macOS or Linux, you would use a different configuration:
236
+
### macOS and Linux Configuration Example
237
+
238
+
When setting up MCP servers on macOS or Linux, you can use a simpler configuration since you don't need the Windows Command Prompt. Here's an example of configuring a Puppeteer MCP server on macOS or Linux:
239
+
238
240
```json
239
241
{
240
242
"mcpServers": {
@@ -248,15 +250,19 @@ For macOS or Linux, you would use a different configuration:
248
250
}
249
251
}
250
252
```
251
-
:::
253
+
254
+
This configuration:
255
+
- Directly uses `npx` without needing a shell wrapper
256
+
- Uses the `-y` flag to automatically answer "yes" to any prompts during installation
257
+
- Runs the `@modelcontextprotocol/server-puppeteer` package which provides browser automation capabilities
252
258
253
259
The same approach can be used for other MCP servers on Windows, adjusting the package name as needed for different server types.
254
260
255
-
###Runtime Version Manager Configuration
261
+
## Runtime Version Manager Configuration
256
262
257
263
When working with multiple versions of programming languages or runtimes, you may use version managers like [asdf](https://asdf-vm.com/) or [mise](https://mise.jdx.dev/) (formerly rtx). These tools help manage multiple runtime versions on a single system. Here's how to configure MCP servers to work with these version managers:
258
264
259
-
####mise Configuration Example
265
+
### mise Configuration Example
260
266
261
267
[mise](https://mise.jdx.dev/) is a fast, modern runtime version manager that can be used to specify which version of Node.js, Python, or other runtimes to use for your MCP server:
262
268
@@ -289,7 +295,7 @@ This configuration:
289
295
- Points to the MCP server JavaScript file
290
296
- Automatically allows the "search" and "batch_execute" tools
291
297
292
-
####asdf Configuration Example
298
+
### asdf Configuration Example
293
299
294
300
[asdf](https://asdf-vm.com/) is a popular tool for managing multiple runtime versions. Here's how to configure an MCP server to use a specific Node.js version managed by asdf:
0 commit comments