π The fast, Pythonic way to build MCP servers and clients.
Clarify installation for FastMCP 3.0 beta (#2953)
Jeremiah Lowinc14ef132dad9
diff --git a/docs/assets/brand/f-watercolor-waves-2.png b/docs/assets/brand/f-watercolor-waves-2.pngindex 56c712c66..3dc9951ee 100644Binary files a/docs/assets/brand/f-watercolor-waves-2.png and b/docs/assets/brand/f-watercolor-waves-2.png differdiff --git a/docs/assets/brand/f-watercolor-waves-dark-2.jpeg b/docs/assets/brand/f-watercolor-waves-dark-2.jpegindex b465842ca..ec3d1406c 100644Binary files a/docs/assets/brand/f-watercolor-waves-dark-2.jpeg and b/docs/assets/brand/f-watercolor-waves-dark-2.jpeg differdiff --git a/docs/getting-started/installation.mdx b/docs/getting-started/installation.mdxindex 78ef9db43..32e8ca951 100644--- a/docs/getting-started/installation.mdx+++ b/docs/getting-started/installation.mdx@@ -6,30 +6,33 @@ icon: arrow-down-to-lineWe recommend using [uv](https://docs.astral.sh/uv/getting-started/installation/) to install and manage FastMCP.+<Note>+FastMCP 3.0 is currently in beta. You must explicitly opt in to pre-release versions using the flags shown below.+</Note>+If you plan to use FastMCP in your project, you can add it as a dependency with:```bash-uv add fastmcp+uv add fastmcp --prerelease=allow```Alternatively, you can install it directly with `pip` or `uv pip`:<CodeGroup>```bash uv- uv pip install fastmcp+ uv pip install fastmcp --prerelease=allow``````bash pip- pip install fastmcp+ pip install fastmcp --pre```</CodeGroup>### Optional Dependencies-FastMCP provides optional extras for specific features:+FastMCP provides optional extras for specific features. For example, to install the background tasks extra:```bash-# Background tasks (Docket-based distributed task scheduling)-pip install "fastmcp[tasks]"+pip install "fastmcp[tasks]" --pre```See [Background Tasks](/servers/tasks) for details on the task system.diff --git a/docs/servers/tasks.mdx b/docs/servers/tasks.mdxindex dbc1725d4..f5130bbc6 100644--- a/docs/servers/tasks.mdx+++ b/docs/servers/tasks.mdx@@ -10,6 +10,10 @@ import { VersionBadge } from "/snippets/version-badge.mdx"<VersionBadge version="2.14.0" />+<Tip>+Background tasks require the `tasks` optional extra. See [installation instructions](#enabling-background-tasks) below.+</Tip>+FastMCP implements the MCP background task protocol ([SEP-1686](https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/tasks)), giving your servers a production-ready distributed task scheduler with a single decorator change.<Tip>@@ -39,9 +43,9 @@ MCP background tasks are different: they're **protocol-native**. This means MCP<VersionBadge version="3.0.0" /> Background tasks require the `tasks` extra:```bash-pip install "fastmcp[tasks]"+pip install "fastmcp[tasks]" --pre# or with uv-uv add "fastmcp[tasks]"+uv add "fastmcp[tasks]" --prerelease=allow```Add `task=True` to any tool, resource, resource template, or prompt decorator. This marks the component as capable of background execution.