From d08ef476fde65b3c7cf6e227c48fd6566c7a5c6d Mon Sep 17 00:00:00 2001 From: Rabi Shanker Guha Date: Fri, 20 Mar 2026 16:49:15 +0530 Subject: [PATCH 1/3] Add a cron job to auto update context7 daily --- .github/workflows/context7.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/context7.yml diff --git a/.github/workflows/context7.yml b/.github/workflows/context7.yml new file mode 100644 index 000000000..6776087ce --- /dev/null +++ b/.github/workflows/context7.yml @@ -0,0 +1,20 @@ +name: Refresh Context7 docs + +on: + schedule: + - cron: "0 6 * * *" + workflow_dispatch: + +jobs: + refresh: + runs-on: ubuntu-latest + steps: + - uses: rennf93/upsert-context7@v1.1 + with: + operation: refresh + + - name: Show result + run: | + echo "Success: ${{ steps.refresh.outputs.success }}" + echo "Status: ${{ steps.refresh.outputs.status-code }}" + echo "Message: ${{ steps.refresh.outputs.message }}" From e84a57a026adafff093f395feffbe5b483818555 Mon Sep 17 00:00:00 2001 From: Rabi Shanker Guha Date: Fri, 20 Mar 2026 16:49:24 +0530 Subject: [PATCH 2/3] Update broken GH link on docs --- docs/app/docs/[[...slug]]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app/docs/[[...slug]]/page.tsx b/docs/app/docs/[[...slug]]/page.tsx index 77b887bb9..8d5c34f60 100644 --- a/docs/app/docs/[[...slug]]/page.tsx +++ b/docs/app/docs/[[...slug]]/page.tsx @@ -22,7 +22,7 @@ export default async function Page(props: PageProps<"/docs/[[...slug]]">) { From a8ad33d887a4665ab6a1b135585a2fc821a6ddbe Mon Sep 17 00:00:00 2001 From: Rabi Shanker Guha Date: Fri, 20 Mar 2026 17:19:08 +0530 Subject: [PATCH 3/3] Add docs MCP server instructions --- docs/components/docs-route-layout.tsx | 19 ++++++--------- docs/content/docs/mcp/index.mdx | 35 ++++++++++++++++++++++++--- 2 files changed, 38 insertions(+), 16 deletions(-) diff --git a/docs/components/docs-route-layout.tsx b/docs/components/docs-route-layout.tsx index 4c86eae35..e2269a913 100644 --- a/docs/components/docs-route-layout.tsx +++ b/docs/components/docs-route-layout.tsx @@ -3,6 +3,7 @@ import { DocsNavbar } from "@/components/docs-navbar"; import { baseOptions, siteConfig } from "@/lib/layout.shared"; import { DocsLayout } from "fumadocs-ui/layouts/docs"; +import { Play, Plug } from "lucide-react"; import Link from "next/link"; import type { ReactNode } from "react"; @@ -53,18 +54,7 @@ export function DocsRouteLayout({ tree, children }: DocsRouteLayoutProps) { href="/playground" label="Playground" external - icon={ - - - - } + icon={} /> } /> + } + /> ), }} diff --git a/docs/content/docs/mcp/index.mdx b/docs/content/docs/mcp/index.mdx index 605e58518..7de8eb9ab 100644 --- a/docs/content/docs/mcp/index.mdx +++ b/docs/content/docs/mcp/index.mdx @@ -1,8 +1,35 @@ --- -title: MCP Server -description: Docs MCP Server — coming soon. +title: Documentation MCP Server +description: Connect OpenUI documentation to your AI coding tools via MCP. --- -## Coming Soon +## MCP Server -The Docs MCP Server is under construction. Check back soon. +OpenUI docs are available through [Context7](https://context7.com), which provides a Model Context Protocol (MCP) server that AI coding tools can query directly. + +Add `use context7` to any prompt, or reference the library explicitly: + +``` +use library /thesysdev/openui +``` + +## Quick setup + +The fastest way to get started — authenticates via OAuth, generates an API key, and installs the appropriate skill: + +```bash +npx ctx7 setup +``` + +Use `--cursor`, `--claude`, or `--opencode` to target a specific agent. + +## Manual setup + +For manual installation instructions for 30+ clients (Cursor, VS Code, Claude Desktop, Windsurf, ChatGPT, Lovable, Replit, JetBrains, and more), see the [Context7 MCP Clients](https://context7.com/docs/resources/all-clients) page. + +## LLM-friendly docs + +For tools that support `llms.txt`, or if you want to load docs directly into context: + +- [`/llms.txt`](/llms.txt) — index of all doc pages +- [`/llms-full.txt`](/llms-full.txt) — full documentation in a single file