import { McpHub } from "@/components/ui/mcp-hub";
/* An AI agent plugged into a product team's tools, checking each one in turn.
Logos come from Simple Icons: type any tool it knows (lowercase name, no
spaces) and its logo appears. */
const settings = {
accent: "#7f72e3",
hubLabel: "your AI agent",
tool1: "Notion",
tool2: "Figma",
tool3: "Dovetail",
tool4: "Linear",
tool5: "GitHub",
tool6: "Miro",
monochromeLogos: true,
tripDuration: 1.7,
};
const logo = (name: string) => `https://cdn.simpleicons.org/${name.toLowerCase().replace(/[^a-z0-9]/g, "")}`;
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
const names = [s.tool1, s.tool2, s.tool3, s.tool4, s.tool5, s.tool6].filter(Boolean);
return (
<div className="flex w-full items-center justify-center p-6">
<McpHub
className="max-w-5xl"
accent={s.accent}
hubLabel={s.hubLabel}
monochromeLogos={s.monochromeLogos}
tripDuration={s.tripDuration}
tools={names.map((name) => ({ name, logo: logo(name) }))}
/>
</div>
);
}