Skip to content

Commit beb1508

Browse files
authored
Add Os-specific MCP configuration example to documentation (#110)
1 parent b104dbe commit beb1508

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,51 @@ Common issues and solutions:
203203
* **Permission Errors:** Ensure proper API keys and credentials are configured in your `mcp_settings.json` (for global settings) or `.roo/mcp.json` (for project settings).
204204
* **Tool Not Available:** Confirm the server is properly implementing the tool and it's not disabled in settings
205205
* **Slow Performance:** Try adjusting the network timeout value for the specific MCP server
206+
207+
## Platform-Specific MCP Configuration Examples
208+
209+
### Windows Configuration Example
210+
211+
When setting up MCP servers on Windows, you'll need to use the Windows Command Prompt (`cmd`) to execute commands. Here's an example of configuring a Puppeteer MCP server on Windows:
212+
213+
```json
214+
{
215+
"mcpServers": {
216+
"puppeteer": {
217+
"command": "cmd",
218+
"args": [
219+
"/c",
220+
"npx",
221+
"-y",
222+
"@modelcontextprotocol/server-puppeteer"
223+
]
224+
}
225+
}
226+
}
227+
```
228+
229+
This Windows-specific configuration:
230+
- Uses the `cmd` command to access the Windows Command Prompt
231+
- Uses `/c` to tell cmd to execute the command and then terminate
232+
- Uses `npx` to run the package without installing it permanently
233+
- The `-y` flag automatically answers "yes" to any prompts during installation
234+
- Runs the `@modelcontextprotocol/server-puppeteer` package which provides browser automation capabilities
235+
236+
:::note
237+
For macOS or Linux, you would use a different configuration:
238+
```json
239+
{
240+
"mcpServers": {
241+
"puppeteer": {
242+
"command": "npx",
243+
"args": [
244+
"-y",
245+
"@modelcontextprotocol/server-puppeteer"
246+
]
247+
}
248+
}
249+
}
250+
```
251+
:::
252+
253+
The same approach can be used for other MCP servers on Windows, adjusting the package name as needed for different server types.

0 commit comments

Comments
 (0)