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
+66Lines changed: 66 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,3 +251,69 @@ For macOS or Linux, you would use a different configuration:
251
251
:::
252
252
253
253
The same approach can be used for other MCP servers on Windows, adjusting the package name as needed for different server types.
254
+
255
+
### Runtime Version Manager Configuration
256
+
257
+
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
+
259
+
#### mise Configuration Example
260
+
261
+
[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:
- Uses the `mise` command to manage runtime versions
286
+
- The `x` subcommand executes a command with the configured runtime version
287
+
- The `--` separates mise arguments from the command to run
288
+
- Runs `node` with the specific version configured in your mise settings
289
+
- Points to the MCP server JavaScript file
290
+
- Automatically allows the "search" and "batch_execute" tools
291
+
292
+
#### asdf Configuration Example
293
+
294
+
[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:
- Directly references the Node.js executable from the asdf installations directory
316
+
- Sets the `ASDF_NODE_VERSION` environment variable to ensure consistent version use
317
+
- Points to the MCP server JavaScript file
318
+
319
+
Using version managers ensures that your MCP servers run with the correct runtime version, regardless of the system's default version, providing consistency across different environments and preventing version conflicts.
0 commit comments