([
// // Add some mock servers for testing
// {
@@ -100,7 +101,7 @@ const McpView = ({ onDone }: McpViewProps) => {
style={{
color: "var(--vscode-foreground)",
fontSize: "13px",
- marginBottom: "20px",
+ marginBottom: "16px",
marginTop: "5px",
}}>
The{" "}
@@ -118,7 +119,6 @@ const McpView = ({ onDone }: McpViewProps) => {
- {/* Server List */}
{servers.length > 0 && (
{
)}
- {/* Edit Settings Button */}
+ {/* Server Configuration Button */}
+
{
onClick={() => {
vscode.postMessage({ type: "openMcpSettings" })
}}>
-
- Edit MCP Settings
+
+ Configure MCP Servers
+ {/* Advanced Settings Link */}
+
+ {
+ vscode.postMessage({
+ type: "openExtensionSettings",
+ text: "cline.mcp",
+ })
+ }}
+ style={{ fontSize: "12px" }}>
+ Advanced MCP Settings
+
+
+
{/* Bottom padding */}
diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx
index 8f13de7914..6c1daf60e0 100644
--- a/webview-ui/src/components/settings/SettingsView.tsx
+++ b/webview-ui/src/components/settings/SettingsView.tsx
@@ -4,6 +4,7 @@ import { useExtensionState } from "../../context/ExtensionStateContext"
import { validateApiConfiguration, validateModelId } from "../../utils/validate"
import { vscode } from "../../utils/vscode"
import ApiOptions from "./ApiOptions"
+import SettingsButton from "../common/SettingsButton"
const IS_DEV = false // FIXME: use flags when packaging
@@ -130,14 +131,29 @@ const SettingsView = ({ onDone }: SettingsViewProps) => {
>
)}
+
+ vscode.postMessage({ type: "openExtensionSettings" })}
+ style={{
+ margin: "0 0 16px 0",
+ }}>
+
+ Advanced Settings
+
+