Skip to content

Commit c14ef13

Browse files
authored
Clarify installation for FastMCP 3.0 beta (#2953)
1 parent 3df3858 commit c14ef13

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed
-719 KB
Loading
4.23 KB
Loading

docs/getting-started/installation.mdx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,33 @@ icon: arrow-down-to-line
66

77
We recommend using [uv](https://docs.astral.sh/uv/getting-started/installation/) to install and manage FastMCP.
88

9+
<Note>
10+
FastMCP 3.0 is currently in beta. You must explicitly opt in to pre-release versions using the flags shown below.
11+
</Note>
12+
913
If you plan to use FastMCP in your project, you can add it as a dependency with:
1014

1115
```bash
12-
uv add fastmcp
16+
uv add fastmcp --prerelease=allow
1317
```
1418

1519
Alternatively, you can install it directly with `pip` or `uv pip`:
1620
<CodeGroup>
1721
```bash uv
18-
uv pip install fastmcp
22+
uv pip install fastmcp --prerelease=allow
1923
```
2024

2125
```bash pip
22-
pip install fastmcp
26+
pip install fastmcp --pre
2327
```
2428
</CodeGroup>
2529

2630
### Optional Dependencies
2731

28-
FastMCP provides optional extras for specific features:
32+
FastMCP provides optional extras for specific features. For example, to install the background tasks extra:
2933

3034
```bash
31-
# Background tasks (Docket-based distributed task scheduling)
32-
pip install "fastmcp[tasks]"
35+
pip install "fastmcp[tasks]" --pre
3336
```
3437

3538
See [Background Tasks](/servers/tasks) for details on the task system.

docs/servers/tasks.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import { VersionBadge } from "/snippets/version-badge.mdx"
1010

1111
<VersionBadge version="2.14.0" />
1212

13+
<Tip>
14+
Background tasks require the `tasks` optional extra. See [installation instructions](#enabling-background-tasks) below.
15+
</Tip>
16+
1317
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.
1418

1519
<Tip>
@@ -39,9 +43,9 @@ MCP background tasks are different: they're **protocol-native**. This means MCP
3943
<VersionBadge version="3.0.0" /> Background tasks require the `tasks` extra:
4044

4145
```bash
42-
pip install "fastmcp[tasks]"
46+
pip install "fastmcp[tasks]" --pre
4347
# or with uv
44-
uv add "fastmcp[tasks]"
48+
uv add "fastmcp[tasks]" --prerelease=allow
4549
```
4650

4751
Add `task=True` to any tool, resource, resource template, or prompt decorator. This marks the component as capable of background execution.

0 commit comments

Comments
 (0)