π The fast, Pythonic way to build MCP servers and clients.
docs: pass referrers on outbound links, add organization schema and page descriptions (#6287)
Gabriel Madureiraf32d524cb03e
diff --git a/docs/changelog.mdx b/docs/changelog.mdxindex f06aef139..7e57bf706 100644--- a/docs/changelog.mdx+++ b/docs/changelog.mdx@@ -1,5 +1,6 @@---title: "Changelog"+description: "Release notes for every FastMCP version, with the changes, fixes, and contributors in each release."icon: "list-check"rss: truetag: NEWdiff --git a/docs/clients/client-groups.mdx b/docs/clients/client-groups.mdxindex 78eacac08..fa374f5b6 100644--- a/docs/clients/client-groups.mdx+++ b/docs/clients/client-groups.mdx@@ -1,6 +1,7 @@---title: Client GroupssidebarTitle: Client Groups+description: "Use ClientGroup to coordinate several FastMCP clients, each on its own connection, and route namespaced tool calls back to the server that owns them."icon: layer-grouptag: NEW---diff --git a/docs/docs.json b/docs/docs.jsonindex 49afbfb9c..97fc92616 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -563,6 +563,20 @@"search": {"prompt": "Search the docs..."},+ "seo": {+ "organization": {+ "name": "FastMCP",+ "legalName": "Prefect Technologies, Inc.",+ "url": "https://gofastmcp.com",+ "logo": "https://gofastmcp.com/assets/brand/wordmark.png",+ "sameAs": [+ "https://github.com/PrefectHQ/fastmcp",+ "https://x.com/fastmcp",+ "https://bsky.app/profile/gofastmcp.com",+ "https://www.prefect.io"+ ]+ }+ },"styling": {"codeblocks": {"theme": {diff --git a/docs/getting-started/quickstart.mdx b/docs/getting-started/quickstart.mdxindex de2c2d3c6..52a733060 100644--- a/docs/getting-started/quickstart.mdx+++ b/docs/getting-started/quickstart.mdx@@ -1,5 +1,6 @@---title: Quickstart+description: "Build a FastMCP server with one tool, run it, call it from a client, add a visual UI, and deploy it so it is reachable over the internet."icon: rocket-launch---diff --git a/docs/outbound-referrer.js b/docs/outbound-referrer.jsnew file mode 100644index 000000000..eb014ac90--- /dev/null+++ b/docs/outbound-referrer.js@@ -0,0 +1,36 @@+// Mintlify renders every external link with rel="noreferrer", so prefect.io and+// other destinations see docs traffic as "direct". Dropping that token right+// before the browser follows the link lets the Referer header through; the+// site's Referrer-Policy header still limits what is sent (origin only).+(function () {+ if (typeof window === "undefined") return;++ var EVENTS = ["pointerdown", "mousedown", "click", "auxclick", "keydown"];++ function allowReferrer(event) {+ var target = event.target;+ if (!target || typeof target.closest !== "function") {+ return;+ }++ var link = target.closest('a[rel~="noreferrer"]');+ if (!link) {+ return;+ }++ var tokens = (link.getAttribute("rel") || "").split(/\s+/).filter(Boolean);+ tokens = tokens.filter(function (token) {+ return token !== "noreferrer";+ });++ if (tokens.indexOf("noopener") === -1) {+ tokens.push("noopener");+ }++ link.setAttribute("rel", tokens.join(" "));+ }++ EVENTS.forEach(function (eventName) {+ document.addEventListener(eventName, allowReferrer, true);+ });+})();diff --git a/docs/updates.mdx b/docs/updates.mdxindex 5f92de568..67a0e56e0 100644--- a/docs/updates.mdx+++ b/docs/updates.mdx@@ -1,6 +1,7 @@---title: "FastMCP Updates"sidebarTitle: "Updates"+description: "Summaries of each FastMCP release, with links to the full release notes on GitHub."icon: "sparkles"tag: NEW---diff --git a/docs/v2/changelog.mdx b/docs/v2/changelog.mdxindex e167f016b..42a201ffb 100644--- a/docs/v2/changelog.mdx+++ b/docs/v2/changelog.mdx@@ -1,5 +1,6 @@---title: "Changelog"+description: "Release notes for the FastMCP 2.x line, with the changes, fixes, and contributors in each release."icon: "list-check"rss: true---diff --git a/docs/v2/getting-started/installation.mdx b/docs/v2/getting-started/installation.mdxindex d70eac1ac..2a101329a 100644--- a/docs/v2/getting-started/installation.mdx+++ b/docs/v2/getting-started/installation.mdx@@ -1,5 +1,6 @@---title: Installation+description: "Install FastMCP 2 with uv or pip, verify the install, and pin your dependency to the 2.x line. Archived guide for the 2.x release line."icon: arrow-down-to-line---## Install FastMCPdiff --git a/docs/v2/getting-started/quickstart.mdx b/docs/v2/getting-started/quickstart.mdxindex 117efcd0a..ec76cc021 100644--- a/docs/v2/getting-started/quickstart.mdx+++ b/docs/v2/getting-started/quickstart.mdx@@ -1,5 +1,6 @@---title: Quickstart+description: "Create a FastMCP 2 server with a tool, run it, call it from a client, and deploy it. Archived guide for the 2.x release line."icon: rocket-launch---diff --git a/docs/v2/updates.mdx b/docs/v2/updates.mdxindex 903745a01..72520ae46 100644--- a/docs/v2/updates.mdx+++ b/docs/v2/updates.mdx@@ -1,6 +1,7 @@---title: "FastMCP Updates"sidebarTitle: "Updates"+description: "Summaries of each FastMCP 2.x release, with links to the full release notes on GitHub."icon: "sparkles"tag: NEW---diff --git a/docs/v3/changelog.mdx b/docs/v3/changelog.mdxindex 9ee438d53..f8e809461 100644--- a/docs/v3/changelog.mdx+++ b/docs/v3/changelog.mdx@@ -1,5 +1,6 @@---title: "Changelog"+description: "Release notes for the FastMCP 3.x line, with the changes, fixes, and contributors in each release."icon: "list-check"rss: truetag: NEWdiff --git a/docs/v3/development/v3-notes/auth-provider-env-vars.mdx b/docs/v3/development/v3-notes/auth-provider-env-vars.mdxindex c61f61cbe..7c69abec0 100644--- a/docs/v3/development/v3-notes/auth-provider-env-vars.mdx+++ b/docs/v3/development/v3-notes/auth-provider-env-vars.mdx@@ -1,5 +1,6 @@---title: Auth Provider Environment Variables+description: "Why FastMCP 3.0 removed automatic environment variable loading from auth providers, and how to read those variables yourself."---## Decision: Remove automatic environment variable loading from auth providersdiff --git a/docs/v3/development/v3-notes/v3-features.mdx b/docs/v3/development/v3-notes/v3-features.mdxindex 3d656248a..fe5171750 100644--- a/docs/v3/development/v3-notes/v3-features.mdx+++ b/docs/v3/development/v3-notes/v3-features.mdx@@ -1,5 +1,6 @@---title: v3.0 Feature Tracking+description: "Tracking notes for the major features that landed in FastMCP 3.0, kept for release note preparation."---This document tracks major features in FastMCP v3.0 for release notes preparation.diff --git a/docs/v3/getting-started/quickstart.mdx b/docs/v3/getting-started/quickstart.mdxindex 97d9f3c79..cfa9224ca 100644--- a/docs/v3/getting-started/quickstart.mdx+++ b/docs/v3/getting-started/quickstart.mdx@@ -1,5 +1,6 @@---title: Quickstart+description: "Create a FastMCP 3 server with a tool, run it, call it from a client, give it a visual UI, and deploy it. Archived guide for the 3.x release line."icon: rocket-launch---diff --git a/docs/v3/updates.mdx b/docs/v3/updates.mdxindex 0faf12da9..cd174f0c4 100644--- a/docs/v3/updates.mdx+++ b/docs/v3/updates.mdx@@ -1,6 +1,7 @@---title: "FastMCP Updates"sidebarTitle: "Updates"+description: "Summaries of each FastMCP 3.x release, with links to the full release notes on GitHub."icon: "sparkles"tag: NEW---