diff --git a/apps/web/src/app/docs/page.tsx b/apps/web/src/app/docs/page.tsx index cbe2609..27a85f4 100644 --- a/apps/web/src/app/docs/page.tsx +++ b/apps/web/src/app/docs/page.tsx @@ -3,7 +3,7 @@ import { CodeBlock as Code } from "@/components/CodeBlock"; export const metadata = { title: "docs — c0mpute", - description: "CLI reference and cookbook for c0mpute: install, identity, workers, transcode jobs, AI inference, reputation, plugins, and health checks.", + description: "CLI reference and cookbook for c0mpute: install, identity, workers, transcode jobs, AI inference, reputation, plugins, WebMCP tools for AI agents, and health checks.", alternates: { canonical: "https://c0mpute.com/docs" }, }; @@ -242,6 +242,42 @@ c0mpute doctor --report # send anonymized telemetry`} +
+

+ c0mpute.com speaks{" "} + WebMCP — a + browser AI agent visiting the site can call its tools directly instead + of scraping the page. Tools register on{" "} + document.modelContext and are a no-op in browsers that + don't implement the (draft) spec. +

+

Tools exposed on every page:

+ +

Any WebMCP-capable client can enumerate them:

+ +{`// in a page context on c0mpute.com +const tools = await document.modelContext.getTools(); +const status = await document.modelContext.callTool("c0mpute_network_status", {});`} + +
+

Architecture decisions live in the{" "}