import { Logo } from '@/components/logo'; import { pageMetadata } from '@/lib/seo'; import Link from 'next/link'; export const metadata = pageMetadata({ title: 'Docs', description: 'BuildMyMCPServer documentation — quickstart, MCP concepts, the OAuth 2.1 flow, authoring tools, self-hosting and the API reference.', path: '/docs', }); const SECTIONS: { heading: string; items: { href: string; label: string }[] }[] = [ { heading: 'Get started', items: [ { href: '/docs', label: 'Quickstart' }, { href: '/docs/concepts', label: 'MCP concepts' }, ], }, { heading: 'Auth', items: [{ href: '/docs/oauth', label: 'OAuth 2.1 flow' }], }, { heading: 'Build', items: [ { href: '/docs/authoring', label: 'Authoring tools' }, { href: '/docs/self-hosting', label: 'Self-hosting' }, ], }, { heading: 'Reference', items: [ { href: '/docs/api-reference', label: 'API reference' }, { href: '/docs/faq', label: 'FAQ' }, ], }, ]; export default function DocsLayout({ children }: { children: React.ReactNode }) { return (
/ docs
{children}
); }