diff --git a/docs/advanced-usage/mcp.md b/docs/advanced-usage/mcp.md index a17b3674..6d16ae78 100644 --- a/docs/advanced-usage/mcp.md +++ b/docs/advanced-usage/mcp.md @@ -60,4 +60,33 @@ The file uses a JSON format: "timeout": 90 } } -} \ No newline at end of file +} +``` + +## 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. \ No newline at end of file diff --git a/docs/advanced-usage/rate-limits-costs.md b/docs/advanced-usage/rate-limits-costs.md index 1d7384f0..c5844c27 100644 --- a/docs/advanced-usage/rate-limits-costs.md +++ b/docs/advanced-usage/rate-limits-costs.md @@ -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. \ No newline at end of file