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: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@
49
49
"configuration": {
50
50
"title": "Cline",
51
51
"properties": {
52
-
"cline.mcp.includeInPrompt": {
52
+
"cline.mcp.enabled": {
53
53
"type": "boolean",
54
54
"default": true,
55
55
"description": "Include MCP server functionality in AI prompts. When disabled, the AI will not be aware of MCP capabilities. This saves context window tokens."
Copy file name to clipboardExpand all lines: src/core/prompts/system.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ Usage:
178
178
}
179
179
180
180
${
181
-
mcpHub.shouldIncludeInPrompt()
181
+
mcpHub.isMcpEnabled()
182
182
? `
183
183
## use_mcp_tool
184
184
Description: Request to use a tool provided by a connected MCP server. Each MCP server can provide multiple tools with different capabilities. Tools have defined input schemas that specify required and optional parameters.
@@ -301,7 +301,7 @@ return (
301
301
</diff>
302
302
</replace_in_file>
303
303
${
304
-
mcpHub.shouldIncludeInPrompt()
304
+
mcpHub.isMcpEnabled()
305
305
? `
306
306
307
307
## Example 4: Requesting to use an MCP tool
@@ -348,7 +348,7 @@ It is crucial to proceed step-by-step, waiting for the user's message after each
348
348
By waiting for and carefully considering the user's response after each tool use, you can react accordingly and make informed decisions about how to proceed with the task. This iterative process helps ensure the overall success and accuracy of your work.
349
349
350
350
${
351
-
mcpHub.shouldIncludeInPrompt()
351
+
mcpHub.isMcpEnabled()
352
352
? `
353
353
====
354
354
@@ -849,7 +849,7 @@ CAPABILITIES
849
849
: ""
850
850
}
851
851
${
852
-
mcpHub.shouldIncludeInPrompt()
852
+
mcpHub.isMcpEnabled()
853
853
? `
854
854
- You have access to MCP servers that may provide additional tools and resources. Each server may provide different capabilities that you can use to accomplish tasks more effectively.
855
855
`
@@ -891,7 +891,7 @@ RULES
891
891
: ""
892
892
}
893
893
${
894
-
mcpHub.shouldIncludeInPrompt()
894
+
mcpHub.isMcpEnabled()
895
895
? `
896
896
- MCP operations should be used one at a time, similar to other tool usage. Wait for confirmation of success before proceeding with additional operations.
0 commit comments