McpConfigWarnings
List problems found while reading MCP configuration files, usually above McpServerList. Warnings are grouped by file with the field path, a kind badge and the message; exact duplicates are shown once. Known kinds are duplicate-name, unknown-field and invalid-value; any other string is accepted and shown as is unless you add a label for it in labels.kinds. With no warnings nothing renders. onOpenFile adds an Open file button to each group. The grouping is exported as groupConfigWarnings.
Getting Started
$pnpm add @sinups/ai-kit @mantine/core @mantine/hooks @tabler/icons-reactExamples
Wide
Narrow
API reference
Prop
Type
Required
warnings
McpConfigWarning[]
Yes
Warnings produced while reading MCP configuration files; nothing renders when empty, exact duplicates are shown once
onOpenFile
(file: string) => void
No
Adds an "Open file" button to every file group
labels
Partial<McpConfigWarningsLabels>
No
Title, button and warning kind overrides
className
string
No
Class name added to the root element
style
React.CSSProperties
No
Inline styles added to the root element