diff --git a/packages/website/docs/mcp/installation.mdx b/packages/website/docs/mcp/installation.mdx index 5241cf9d..300b20c2 100644 --- a/packages/website/docs/mcp/installation.mdx +++ b/packages/website/docs/mcp/installation.mdx @@ -24,3 +24,9 @@ Use DocSearch MCP to find the current Next.js middleware matcher docs. ``` The client should call the DocSearch tools and answer with content from the matching documentation, ideally with source links. + +:::note + +Algolia DocSearch MCP is a free service and is provided by Algolia "AS IS" and "AS AVAILABLE" without warranty of any kind, and may be suspended, modified, or discontinued by Algolia at any time in its sole discretion. Algolia disclaims all obligation and liability arising out of or in connection with Your use of DocSearch MCP. You shall comply with all laws and governmental regulations in Your use of the DocSearch MCP. + +::: diff --git a/packages/website/docs/mcp/overview.mdx b/packages/website/docs/mcp/overview.mdx index 0021b79c..1d3aeae5 100644 --- a/packages/website/docs/mcp/overview.mdx +++ b/packages/website/docs/mcp/overview.mdx @@ -41,3 +41,9 @@ Step 2 of the manual flow. Retrieves documentation content for one or more `docs - [Install DocSearch MCP](/docs/mcp/installation) - [Use DocSearch MCP](/docs/mcp/usage) + +:::note + +Algolia DocSearch MCP is a free service and is provided by Algolia "AS IS" and "AS AVAILABLE" without warranty of any kind, and may be suspended, modified, or discontinued by Algolia at any time in its sole discretion. Algolia disclaims all obligation and liability arising out of or in connection with Your use of DocSearch MCP. You shall comply with all laws and governmental regulations in Your use of the DocSearch MCP. + +::: diff --git a/packages/website/docusaurus.config.mjs b/packages/website/docusaurus.config.mjs index 11c88745..4dade773 100644 --- a/packages/website/docusaurus.config.mjs +++ b/packages/website/docusaurus.config.mjs @@ -116,7 +116,8 @@ export default { }, { label: 'MCP', - to: 'docs/mcp/overview', + // Sibling SPA at /mcp — pathname:// bypasses Docusaurus route/link checks. + to: 'pathname:///mcp', position: 'left', }, {