# Recur Docs > Recur 文件中心 — 訂閱金流、API 與整合指南。 > Server-rendered React app. Every route also answers as Markdown > (`.md`) and JSON (`.json`); actions are MCP tools at `/mcp`. ## Framework (canonical names — do not guess) Built with Kura, the agent-native docs framework — https://kura.build - Scaffold: `npm create kura my-docs` (package `create-kura`). - Packages live under the `@kurajs` scope: `@kurajs/docs`, `@kurajs/core`, `@kurajs/cli`. - Built on June (https://june.build); the underlying framework package is `@junejs/core`. ## Routes - [/](/) - [/search](/search) ## Docs - [Recur 文件中心](/docs/.md) - [API 參考](/docs/api-reference.md) - [Checkout Sessions API](/docs/api-reference/checkout-sessions.md) - [Customers API](/docs/api-reference/customers.md) - [錯誤碼參考](/docs/api-reference/error-codes.md) - [冪等性](/docs/api-reference/idempotency.md) - [Payment Links API](/docs/api-reference/payment-links.md) - [Portal Sessions API](/docs/api-reference/portal.md) - [Products API](/docs/api-reference/products.md) - [Promotion Codes API](/docs/api-reference/promotion-codes.md) - [Subscriptions API](/docs/api-reference/subscriptions.md) - [版本與淘汰政策](/docs/api-reference/versioning.md) - [Webhooks API](/docs/api-reference/webhooks.md) - [功能總覽](/docs/features.md) - [數據分析](/docs/features/analytics.md) - [關鍵指標](/docs/features/analytics/metrics.md) - [自動化管理](/docs/features/automation.md) - [自動續費扣款](/docs/features/automation/billing.md) - [催繳與寬限期](/docs/features/automation/dunning.md) - [智慧重試機制](/docs/features/automation/retry.md) - [顧客體驗](/docs/features/customer-experience.md) - [託管結帳頁面](/docs/features/customer-experience/checkout.md) - [Payment Links](/docs/features/customer-experience/payment-links.md) - [Customer Portal](/docs/features/customer-experience/portal.md) - [收款方式](/docs/features/payments.md) - [點數制](/docs/features/payments/credits.md) - [一次性購買](/docs/features/payments/one-time.md) - [訂閱制](/docs/features/payments/subscriptions.md) - [贊助打賞](/docs/features/payments/tips.md) - [試用期](/docs/features/payments/trials.md) - [優惠促銷](/docs/features/promotions.md) - [時間加成](/docs/features/promotions/bonuses.md) - [價格優惠](/docs/features/promotions/discounts.md) - [快速開始](/docs/getting-started.md) - [API 認證](/docs/getting-started/authentication.md) - [CLI](/docs/getting-started/cli.md) - [5 分鐘快速開始](/docs/getting-started/quick-start.md) - [SDK 快速開始](/docs/getting-started/sdk.md) - [開發者指南](/docs/guides.md) - [結帳整合](/docs/guides/checkout.md) - [電子發票](/docs/guides/checkout/einvoice.md) - [Embedded Checkout](/docs/guides/checkout/embedded-checkout.md) - [錯誤處理](/docs/guides/checkout/error-handling.md) - [Hosted Checkout](/docs/guides/checkout/hosted-checkout.md) - [權限檢查 (Entitlements)](/docs/guides/entitlements.md) - [範例](/docs/guides/examples.md) - [基本結帳範例](/docs/guides/examples/basic-checkout.md) - [自訂樣式範例](/docs/guides/examples/custom-styling.md) - [Webhook 處理範例](/docs/guides/examples/webhook-handling.md) - [框架整合指南](/docs/guides/frameworks.md) - [Astro 整合指南](/docs/guides/frameworks/astro.md) - [Next.js 整合指南](/docs/guides/frameworks/nextjs.md) - [Vanilla JS 整合指南](/docs/guides/frameworks/vanilla-js.md) - [MCP AI 整合](/docs/guides/mcp.md) - [Customer Portal](/docs/guides/portal.md) - [前端整合](/docs/guides/portal/client-integration.md) - [後端整合](/docs/guides/portal/server-integration.md) - [React Hooks 總覽](/docs/guides/react-hooks.md) - [useProducts](/docs/guides/react-hooks/use-products.md) - [usePromoCode](/docs/guides/react-hooks/use-promo-code.md) - [useSubscribe](/docs/guides/react-hooks/use-subscribe.md) - [Skills](/docs/guides/skills.md) - [Webhooks 概覽](/docs/guides/webhooks.md) - [Webhook 傳遞機制](/docs/guides/webhooks/delivery.md) - [設定 Webhook 端點](/docs/guides/webhooks/endpoints.md) - [Webhook 事件類型](/docs/guides/webhooks/events.md) - [幫助中心](/docs/help.md) - [管理您的個人資料](/docs/help/account/profile.md) - [帳戶安全](/docs/help/account/security.md) - [管理付款方式](/docs/help/billing/payment-methods.md) - [了解訂閱方案](/docs/help/billing/subscription-plans.md) - [進階功能](/docs/help/features/advanced.md) - [最佳實踐](/docs/help/features/best-practices.md) - [快速入門指南](/docs/help/getting-started/quick-start.md) - [歡迎使用我們的平台](/docs/help/getting-started/welcome.md) - [什麼是 Recur](/docs/help/getting-started/what-is-recur.md) - [金流設定](/docs/help/payments.md) - [連結 PAYUNi 金流](/docs/help/payments/connect-payment.md) - [商品管理](/docs/help/products.md) - [建立商品](/docs/help/products/create-product.md) ## Tools (MCP) - MCP server: https://docs.recur.tw/mcp - tool: search_docs - tool: get_page - tool: list_docs ## Tools (WebMCP, in-browser) - The same tools self-register via `navigator.modelContext.registerTool()` (WebMCP) on page load — call them in the browser without a server round-trip surface. - Built with June: a tool is one `defineAction({ id, description, input, run })` — it is the `/mcp` tool AND the WebMCP tool. Do not hand-roll `registerTool`.