ui: Constants refactor (#26908)
* refactor: Constants * refactor: Constants/Enums cleanup * refactor: Constant objects instead of multiple single value constants * refactor: Cleanup constants
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
import type { RecommendedMCPServer } from '$lib/types';
|
||||
|
||||
// Suggested MCP servers shown as opt-in cards in the "Add New Server" dialog.
|
||||
// Rendering these cards never reaches the upstream domain - favicons come
|
||||
// from local bundles in static/recommended-mcp/ and the URL is only used
|
||||
// after the user clicks Add.
|
||||
export const RECOMMENDED_MCP_SERVERS: RecommendedMCPServer[] = [
|
||||
{
|
||||
description: 'Search the web and fetch full page content as clean markdown.',
|
||||
iconUrl: '/recommended-mcp/exa.ico',
|
||||
id: 'exa',
|
||||
name: 'Exa',
|
||||
url: 'https://mcp.exa.ai/mcp'
|
||||
},
|
||||
{
|
||||
description: 'Search and browse AI models, datasets, spaces, and docs on the Hugging Face Hub.',
|
||||
iconUrl: '/recommended-mcp/huggingface.ico',
|
||||
id: 'huggingface',
|
||||
name: 'Hugging Face',
|
||||
url: 'https://huggingface.co/mcp'
|
||||
},
|
||||
{
|
||||
description: 'Search repositories, issues, pull requests and interact with code on GitHub.',
|
||||
iconUrlDark: '/recommended-mcp/github-dark.png',
|
||||
iconUrlLight: '/recommended-mcp/github-light.png',
|
||||
id: 'github',
|
||||
name: 'GitHub',
|
||||
needsAuthorization: true,
|
||||
url: 'https://api.githubcopilot.com/mcp'
|
||||
},
|
||||
{
|
||||
description: 'Browse up-to-date documentation and code examples for libraries and frameworks.',
|
||||
iconUrl: '/recommended-mcp/context7.png',
|
||||
id: 'context7',
|
||||
name: 'Context7',
|
||||
url: 'https://mcp.context7.com/mcp'
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user