Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: mcp ui

DarkPhoenix2704f00c64e37cf7
diff --git a/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue b/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue
index df37ae0a31..76f96fefde 100644
--- a/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue
+++ b/packages/nc-gui/components/dashboard/settings/base/MCP/Code.vue
@@ -42,7 +42,7 @@ const onCopyToClipboard = async () => {
<template>
<div class="nc-mcp-code-tab-wrapper h-80 flex flex-col mt-2">
<div class="flex h-9 bg-gray-50 border-b-1 border-nc-border-gray-medium rounded-t-lg items-center px-3">
- <div class="flex-1 text-nc-content-gray leading-5">JSON</div>
+ <div class="flex-1 text-nc-content-gray leading-5">MCP Configuration</div>
<NcButton type="text" size="small" class="!hover:bg-gray-200" @click="onCopyToClipboard">
<div class="flex items-center gap-2 text-small leading-[18px] min-w-80px justify-center">
<GeneralIcon
diff --git a/packages/nc-gui/components/dashboard/settings/base/MCP/Modal.vue b/packages/nc-gui/components/dashboard/settings/base/MCP/Modal.vue
index aced5f4768..be8f4067d1 100644
--- a/packages/nc-gui/components/dashboard/settings/base/MCP/Modal.vue
+++ b/packages/nc-gui/components/dashboard/settings/base/MCP/Modal.vue
@@ -97,7 +97,15 @@ const code = computed(
<div class="text-nc-content-gray font-bold leading-6">
{{ $t('labels.mcpSetup') }}
</div>
-
+ <NcAlert type="info" class="mt-3 max-w-[640px] w-full mx-auto">
+ <template #message>
+ {{ $t('labels.mcpTokenVisibilityInfo') }}
+ </template>
+ <template #description>
+ {{ $t('labels.mcpTokenVisibilityInfoDescription') }} <br />
+ {{ $t('labels.mcpTokenVisibilityInfoDescription2') }}
+ </template>
+ </NcAlert>
<NcTabs v-model:active-key="activeTab">
<a-tab-pane key="claude" class="!h-full">
<template #tab>
@@ -185,16 +193,6 @@ const code = computed(
</a-tab-pane>
</NcTabs>
</div>
-
- <NcAlert type="info" class="mt-3 max-w-[640px] w-full mx-auto">
- <template #message>
- {{ $t('labels.mcpTokenVisibilityInfo') }}
- </template>
- <template #description>
- {{ $t('labels.mcpTokenVisibilityInfoDescription') }} <br />
- {{ $t('labels.mcpTokenVisibilityInfoDescription2') }}
- </template>
- </NcAlert>
</div>
<div class="h-full bg-gray-50 border-l-1 w-80 p-5 rounded-br-2xl border-gray-200">
<div class="w-full flex flex-col gap-3">