From 7c3a686981e591db6e728ecd9252182b49ade268 Mon Sep 17 00:00:00 2001 From: Todd Geist Date: Wed, 6 May 2026 14:08:15 -0700 Subject: [PATCH 1/3] docs: add installer walkthrough video --- .../content/docs/ai/install-and-connect.mdx | 13 ++--- apps/docs/src/components/YouTubeVideo.tsx | 47 +++++++++++++++++++ apps/docs/src/mdx-components.tsx | 2 + 3 files changed, 54 insertions(+), 8 deletions(-) create mode 100644 apps/docs/src/components/YouTubeVideo.tsx diff --git a/apps/docs/content/docs/ai/install-and-connect.mdx b/apps/docs/content/docs/ai/install-and-connect.mdx index 97ad8452..e331b236 100644 --- a/apps/docs/content/docs/ai/install-and-connect.mdx +++ b/apps/docs/content/docs/ai/install-and-connect.mdx @@ -3,16 +3,13 @@ title: Install and Connect description: Install ProofKit and confirm your agent can see your FileMaker file. --- -import { Callout } from "fumadocs-ui/components/callout"; import { Step, Steps } from "fumadocs-ui/components/steps"; The first milestone is simple: your coding agent should be able to communicate with an open FileMaker file through ProofKit. ProofKit installs several pieces that work together: a FileMaker add-on, a FileMaker plug-in, a connector script, an MCP server, and agent integrations. - - Capture the installer screen for macOS, including any step where the agent integrations are selected or confirmed. - + ## Install ProofKit @@ -36,15 +33,15 @@ ProofKit installs several pieces that work together: a FileMaker add-on, a FileM - **Run the Connect to MCP script.** + **Enable the ProofKit plug-in.** - In FileMaker Pro, run the **Connect to MCP** script installed by the add-on. It opens the connector Web Viewer that registers your file with the local MCP server. + In FileMaker Pro, open the Plug-Ins settings and confirm the ProofKit plug-in is enabled. The **Connect to MCP** script needs this plug-in to communicate with the local MCP server. - **Keep the connector open and enable the plug-in if asked.** + **Run the Connect to MCP script.** - Leave the connector Web Viewer open in Browse mode while you work. The plug-in provides the local API used by the MCP server and the Web Viewer proxy used for verification. + In FileMaker Pro, run the **Connect to MCP** script installed by the add-on. It opens the connector Web Viewer that registers your file with the local MCP server. Leave the connector Web Viewer open in Browse mode while you work. diff --git a/apps/docs/src/components/YouTubeVideo.tsx b/apps/docs/src/components/YouTubeVideo.tsx new file mode 100644 index 00000000..ff8581b3 --- /dev/null +++ b/apps/docs/src/components/YouTubeVideo.tsx @@ -0,0 +1,47 @@ +interface YouTubeVideoProps { + title: string; + videoId?: string; + url?: string; +} + +function getYouTubeVideoId({ url, videoId }: Pick): string { + if (videoId) { + return videoId; + } + + if (!url) { + throw new Error("YouTubeVideo requires either a url or videoId."); + } + + const parsedUrl = new URL(url); + + if (parsedUrl.hostname === "youtu.be") { + return parsedUrl.pathname.slice(1); + } + + if (parsedUrl.pathname.startsWith("/embed/")) { + return parsedUrl.pathname.split("/")[2] ?? ""; + } + + return parsedUrl.searchParams.get("v") ?? ""; +} + +export function YouTubeVideo(props: YouTubeVideoProps) { + const videoId = getYouTubeVideoId(props); + const src = `https://www.youtube-nocookie.com/embed/${videoId}`; + + return ( +
+
+