Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/assets/brand/f-watercolor-waves-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/brand/f-watercolor-waves-dark-2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions docs/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,33 @@ icon: arrow-down-to-line

We 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.
Expand Down
8 changes: 6 additions & 2 deletions docs/servers/tasks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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.
Expand Down