Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion docs/advanced-usage/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,33 @@ The file uses a JSON format:
"timeout": 90
}
}
}
}
```

## Disabling MCP Features

Roo Code provides two settings to control the use of MCP servers, to help you manage token usage and security:

### 1. Disable MCP Servers Entirely

If you don't want to use MCP servers at all, you can disable them completely:

1. Open the Roo Code Settings (gear icon ⚙️)
2. Find the "Enable MCP Servers" setting
3. Uncheck the box

This will prevent Roo Code from connecting to any MCP servers, and the `use_mcp_tool` and `access_mcp_resource` tools will not be available. This is the most secure option if you don't intend to use MCP.

### 2. Disable MCP Server Creation

Roo Code can be asked to assist in creating new MCP servers. This is a powerful feature, but it also consumes more tokens and could potentially introduce security risks if used improperly.

To disable MCP server creation:

1. Open the Roo Code Settings (gear icon ⚙️)
2. Find the "Enable MCP Server Creation" setting
3. Uncheck the box

With this option disabled, Roo Code will not attempt to create new MCP servers. You can still use existing, manually configured servers.

By default, both of these options are enabled.
1 change: 1 addition & 0 deletions docs/advanced-usage/rate-limits-costs.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ If you set the rate limit to 10 seconds, Roo Code will wait at least 10 seconds
* **Use Custom Instructions:** Provide custom instructions to guide Roo Code's behavior and reduce the need for lengthy explanations in each prompt.
* **Choose the Right Model:** Some models are more cost-effective than others. Consider using a smaller, faster model for tasks that don't require the full power of a larger model.
* **Use Modes:** Different modes can access different tools, for example `Architect` can't modify code, which makes it a safe choice when analyzing a complex codebase, without worrying about accidentally allowing expensive operations.
* **Disable MCP If Not Used:** If you're not using MCP (Model Context Protocol) features, consider [disabling it in the MCP settings](./mcp#disabling-mcp-features) to significantly reduce the size of the system prompt and save tokens.

By understanding and managing your API usage, you can use Roo Code effectively and efficiently.