Skip to content

Commit 23b4932

Browse files
committed
feat: update MCP server creation descriptions and add links for better guidance
1 parent 0f450ae commit 23b4932

File tree

2 files changed

+33
-5
lines changed

2 files changed

+33
-5
lines changed

webview-ui/src/components/mcp/McpView.tsx

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,25 @@ const McpView = ({ onDone }: McpViewProps) => {
8484
}}>
8585
<span style={{ fontWeight: "500" }}>{t("mcp:enableServerCreation.title")}</span>
8686
</VSCodeCheckbox>
87-
<p
87+
<div
8888
style={{
8989
fontSize: "12px",
9090
marginTop: "5px",
9191
color: "var(--vscode-descriptionForeground)",
9292
}}>
93-
{t("mcp:enableServerCreation.description")}
94-
</p>
93+
<Trans i18nKey="mcp:enableServerCreation.description">
94+
<VSCodeLink
95+
href={buildDocLink(
96+
"features/mcp/using-mcp-in-roo#how-to-use-roo-to-create-an-mcp-server",
97+
"mcp_server_creation",
98+
)}
99+
style={{ display: "inline" }}>
100+
Learn about server creation
101+
</VSCodeLink>
102+
<strong>new</strong>
103+
</Trans>
104+
<p style={{ marginTop: "8px" }}>{t("mcp:enableServerCreation.hint")}</p>
105+
</div>
95106
</div>
96107

97108
{/* Server List */}
@@ -128,6 +139,21 @@ const McpView = ({ onDone }: McpViewProps) => {
128139
{t("mcp:editProjectMCP")}
129140
</Button>
130141
</div>
142+
<div
143+
style={{
144+
marginTop: "15px",
145+
fontSize: "12px",
146+
color: "var(--vscode-descriptionForeground)",
147+
}}>
148+
<VSCodeLink
149+
href={buildDocLink(
150+
"features/mcp/using-mcp-in-roo#editing-mcp-settings-files",
151+
"mcp_edit_settings",
152+
)}
153+
style={{ display: "inline" }}>
154+
{t("mcp:learnMoreEditingSettings")}
155+
</VSCodeLink>
156+
</div>
131157
</>
132158
)}
133159
</TabContent>

webview-ui/src/i18n/locales/en/mcp.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
"description": "Enable the Model Context Protocol (MCP) to let Roo Code use extra tools and services from external servers. This expands what Roo can do for you. <0>Learn More</0>",
55
"enableToggle": {
66
"title": "Enable MCP Servers",
7-
"description": "When enabled, Roo will be able to interact with MCP servers for advanced functionality. If you're not using MCP, you can disable this to reduce Roo's token usage."
7+
"description": "Turn this ON to let Roo use tools from connected MCP servers. This gives Roo more capabilities. If you don't plan to use these extra tools, turn it OFF to help reduce API token costs."
88
},
99
"enableServerCreation": {
1010
"title": "Enable MCP Server Creation",
11-
"description": "When enabled, Roo can help you create new MCP servers via commands like \"add a new tool to...\". If you don't need to create MCP servers you can disable this to reduce Roo's token usage."
11+
"description": "Enable this to have Roo help you build <1>new</1> custom MCP servers. <0>Learn about server creation</0>.",
12+
"hint": "Hint: To reduce API token costs, disable this setting when you are not actively asking Roo to create a new MCP server."
1213
},
1314
"editGlobalMCP": "Edit Global MCP",
1415
"editProjectMCP": "Edit Project MCP",
16+
"learnMoreEditingSettings": "Learn more about editing MCP settings files",
1517
"tool": {
1618
"alwaysAllow": "Always allow",
1719
"parameters": "Parameters",

0 commit comments

Comments
 (0)