diff --git a/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte b/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte
index 54c8d2a2a8..28cac01a8f 100644
--- a/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte
+++ b/tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte
@@ -17,7 +17,6 @@
import { chatStore } from '$lib/stores/chat.svelte';
import { activeMessages, usedModalities } from '$lib/stores/conversations.svelte';
import { useModelChangeValidation } from '$lib/hooks/use-model-change-validation.svelte';
- import { parseMcpServerSettings } from '$lib/config/mcp';
interface Props {
canSend?: boolean;
@@ -168,10 +167,6 @@
});
let showMcpDialog = $state(false);
-
- // MCP servers state (simplified - just need to check if any exist)
- let mcpServers = $derived(parseMcpServerSettings(currentConfig.mcpServers));
- let hasMcpServers = $derived(mcpServers.length > 0);
@@ -180,15 +175,11 @@
{disabled}
{hasAudioModality}
{hasVisionModality}
- showMcpOption={!hasMcpServers}
- onMcpClick={() => (showMcpDialog = true)}
{onFileUpload}
{onSystemPromptClick}
/>
- {#if hasMcpServers}
- (showMcpDialog = true)} />
- {/if}
+ (showMcpDialog = true)} />