Skip to content

Commit 6060e85

Browse files
committed
Add macOS and Linux configuration example for MCP in documentation
1 parent 00665ae commit 6060e85

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/features/mcp/using-mcp-in-roo.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,10 @@ This Windows-specific configuration:
233233
- The `-y` flag automatically answers "yes" to any prompts during installation
234234
- Runs the `@modelcontextprotocol/server-puppeteer` package which provides browser automation capabilities
235235

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+
238240
```json
239241
{
240242
"mcpServers": {
@@ -248,15 +250,19 @@ For macOS or Linux, you would use a different configuration:
248250
}
249251
}
250252
```
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
252258

253259
The same approach can be used for other MCP servers on Windows, adjusting the package name as needed for different server types.
254260

255-
### Runtime Version Manager Configuration
261+
## Runtime Version Manager Configuration
256262

257263
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:
258264

259-
#### mise Configuration Example
265+
### mise Configuration Example
260266

261267
[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:
262268

@@ -289,7 +295,7 @@ This configuration:
289295
- Points to the MCP server JavaScript file
290296
- Automatically allows the "search" and "batch_execute" tools
291297

292-
#### asdf Configuration Example
298+
### asdf Configuration Example
293299

294300
[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:
295301

0 commit comments

Comments
 (0)