MCP Server 2.0 (#452)

* MCP Server 2.0

- Updated application version from 2.23.14 to 2.24.0 in package.json.
- MCP Server improved with new features
- Migrated functionality from Dev Tools to MCP Server
- Improved getMonitoringProvider not to crash application when misconfigured
This commit is contained in:
Giancarlo Buomprisco
2026-02-11 20:42:01 +01:00
committed by GitHub
parent 059408a70a
commit f3ac595d06
123 changed files with 17803 additions and 5265 deletions

View File

@@ -11,7 +11,6 @@ import {
LanguagesIcon,
LayoutDashboardIcon,
MailIcon,
ServerIcon,
} from 'lucide-react';
import {
@@ -55,20 +54,14 @@ const routes = [
Icon: LanguagesIcon,
},
{
label: 'MCP Server',
Icon: ServerIcon,
children: [
{
label: 'Database',
path: '/mcp-server/database',
Icon: DatabaseIcon,
},
{
label: 'PRD Manager',
path: '/mcp-server/prds',
Icon: FileTextIcon,
},
],
label: 'Database',
path: '/database',
Icon: DatabaseIcon,
},
{
label: 'PRD Manager',
path: '/prds',
Icon: FileTextIcon,
},
];

View File

@@ -2,12 +2,13 @@
import { AlertCircle, CheckCircle2, XCircle } from 'lucide-react';
import { Alert, AlertDescription, AlertTitle } from '@kit/ui/alert';
import { Card, CardContent } from '@kit/ui/card';
export const ServiceStatus = {
CHECKING: 'checking',
SUCCESS: 'success',
WARNING: 'warning',
INFO: 'info',
ERROR: 'error',
} as const;
@@ -16,6 +17,8 @@ type ServiceStatusType = (typeof ServiceStatus)[keyof typeof ServiceStatus];
const StatusIcons = {
[ServiceStatus.CHECKING]: <AlertCircle className="h-6 w-6 text-yellow-500" />,
[ServiceStatus.SUCCESS]: <CheckCircle2 className="h-6 w-6 text-green-500" />,
[ServiceStatus.WARNING]: <AlertCircle className="h-6 w-6 text-amber-500" />,
[ServiceStatus.INFO]: <AlertCircle className="h-6 w-6 text-blue-500" />,
[ServiceStatus.ERROR]: <XCircle className="h-6 w-6 text-red-500" />,
};
@@ -30,7 +33,7 @@ interface ServiceCardProps {
export const ServiceCard = ({ name, status }: ServiceCardProps) => {
return (
<Card className="w-full max-w-2xl">
<CardContent className="pt-6">
<CardContent className="p-4">
<div className="space-y-4">
<div className="flex items-center justify-between">
<div className="flex items-center space-x-4">