Skip to content

Commit 12e07e8

Browse files
authored
Add instructions about disabling mcp (#43)
1 parent 99d1c82 commit 12e07e8

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

docs/advanced-usage/mcp.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,33 @@ The file uses a JSON format:
6060
"timeout": 90
6161
}
6262
}
63-
}
63+
}
64+
```
65+
66+
## Disabling MCP Features
67+
68+
Roo Code provides two settings to control the use of MCP servers, to help you manage token usage and security:
69+
70+
### 1. Disable MCP Servers Entirely
71+
72+
If you don't want to use MCP servers at all, you can disable them completely:
73+
74+
1. Open the Roo Code Settings (gear icon ⚙️)
75+
2. Find the "Enable MCP Servers" setting
76+
3. Uncheck the box
77+
78+
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.
79+
80+
### 2. Disable MCP Server Creation
81+
82+
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.
83+
84+
To disable MCP server creation:
85+
86+
1. Open the Roo Code Settings (gear icon ⚙️)
87+
2. Find the "Enable MCP Server Creation" setting
88+
3. Uncheck the box
89+
90+
With this option disabled, Roo Code will not attempt to create new MCP servers. You can still use existing, manually configured servers.
91+
92+
By default, both of these options are enabled.

docs/advanced-usage/rate-limits-costs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ If you set the rate limit to 10 seconds, Roo Code will wait at least 10 seconds
4646
* **Use Custom Instructions:** Provide custom instructions to guide Roo Code's behavior and reduce the need for lengthy explanations in each prompt.
4747
* **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.
4848
* **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.
49+
* **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.
4950

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

0 commit comments

Comments
 (0)