Skip to content

Commit 4e7c699

Browse files
author
Lasim
committed
refactor(frontend): remove MCP catalog contribution banner component
1 parent cfa74ab commit 4e7c699

File tree

4 files changed

+0
-107
lines changed

4 files changed

+0
-107
lines changed

services/backend/src/global-settings/global.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ export const globalSettings: GlobalSettingsModule = {
8181
encrypted: false,
8282
required: false
8383
},
84-
{
85-
key: 'global.show_mcp_catalog_banner',
86-
defaultValue: false,
87-
type: 'boolean',
88-
description: 'Show banner during MCP installation to inform users that adding new servers to the DeployStack catalog requires submitting a pull request to the awesome-mcp-server repository',
89-
encrypted: false,
90-
required: false
91-
},
9284
{
9385
key: 'global.show_user_walkthrough',
9486
defaultValue: false,

services/frontend/src/components/mcp-catalog/McpCatalogContributionBanner.vue

Lines changed: 0 additions & 74 deletions
This file was deleted.

services/frontend/src/components/mcp-server/wizard/McpServerSelectionStep.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { Button } from '@/components/ui/button'
77
import { Alert, AlertDescription } from '@/components/ui/alert'
88
import McpServerCard from '@/components/mcp-server/McpServerCard.vue'
99
import FeaturedMcpServers from '@/components/mcp-server/FeaturedMcpServers.vue'
10-
import McpCatalogContributionBanner from '@/components/mcp-catalog/McpCatalogContributionBanner.vue'
1110
import { McpCatalogService } from '@/services/mcpCatalogService'
1211
import { McpCategoriesService } from '@/services/mcpCategoriesService'
1312
import type { McpServerSearchParams, McpServerSearchResponse } from '@/types/mcp-catalog'
@@ -287,11 +286,6 @@ onMounted(() => {
287286
@install="handleInstallClick"
288287
@details="handleDetailsClick"
289288
/>
290-
291-
<!-- MCP Catalog Contribution Banner - show at the bottom of search results -->
292-
<div class="mt-8">
293-
<McpCatalogContributionBanner />
294-
</div>
295289
</div>
296290

297291
<!-- No Results -->
@@ -302,11 +296,6 @@ onMounted(() => {
302296
{{ t('actions.clearSearch') }}
303297
</Button>
304298
</div>
305-
306-
<!-- MCP Catalog Contribution Banner - show when no results found -->
307-
<div class="mt-8">
308-
<McpCatalogContributionBanner />
309-
</div>
310299
</div>
311300

312301
<!-- Empty State (when no search performed) -->

services/frontend/src/services/globalSettingsService.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,6 @@ export class GlobalSettingsService {
3535
}
3636
}
3737

38-
/**
39-
* Get the MCP catalog banner visibility setting
40-
*/
41-
static async shouldShowMcpCatalogBanner(): Promise<boolean> {
42-
try {
43-
const value = await this.getSetting('global.show_mcp_catalog_banner')
44-
// Convert string to boolean - 'true' becomes true, anything else becomes false
45-
return value === 'true'
46-
} catch (error) {
47-
console.error('Failed to check MCP catalog banner setting:', error)
48-
return false // Default to not showing banner on error
49-
}
50-
}
51-
5238
/**
5339
* Get the user walkthrough visibility setting
5440
* Uses user preferences for proper permissions (no 403 errors for normal users)

0 commit comments

Comments
 (0)