import McpCapabilityMatrix, {
type CapabilityRow,
} from "@/components/ui/mcp-capability-matrix";
const servers = [
{ id: "filesystem", name: "filesystem" },
{ id: "git", name: "git" },
{ id: "linear", name: "linear" },
];
const capabilities: CapabilityRow[] = [
{ name: "search", kind: "tool", providers: ["filesystem", "linear"] },
{ name: "read_file", kind: "tool", providers: ["filesystem"] },
{ name: "list_issues", kind: "tool", providers: ["linear"] },
{ name: "diff", kind: "tool", providers: ["git"] },
{ name: "status", kind: "tool", providers: ["git", "linear"] },
{ name: "review_diff", kind: "prompt", providers: ["git"] },
];
export default function McpCapabilityMatrixDemo() {
return (
<div className="bg-background text-foreground w-full max-w-2xl p-6">
<McpCapabilityMatrix
servers={servers}
capabilities={capabilities}
resolve={(row) => row.providers[0]}
/>
</div>
);
}