Compare commits

...

1 commit

Author SHA1 Message Date
zzstoatzz
3739fc3751 docs: use --prerelease=explicit for install instructions
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 13:41:41 -06:00
2 changed files with 5 additions and 7 deletions

View file

@ -12,13 +12,13 @@ FastMCP 3.0 is currently in beta. Install by specifying the version explicitly.
</Note>
```bash
pip install fastmcp==3.0.0b1
uv add "fastmcp>=3.0.0b1" --prerelease=explicit
```
If you plan to use FastMCP in a uv-managed project, you can add it as a dependency with:
Or with pip:
```bash
uv add fastmcp --prerelease=allow
pip install "fastmcp>=3.0.0b1" --pre
```
### Optional Dependencies
@ -26,7 +26,7 @@ uv add fastmcp --prerelease=allow
FastMCP provides optional extras for specific features. For example, to install the background tasks extra:
```bash
pip install "fastmcp[tasks]==3.0.0b1"
uv add "fastmcp[tasks]>=3.0.0b1" --prerelease=explicit
```
See [Background Tasks](/servers/tasks) for details on the task system.

View file

@ -43,9 +43,7 @@ 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]==3.0.0b1"
# or with uv
uv add "fastmcp[tasks]" --prerelease=allow
uv add "fastmcp[tasks]>=3.0.0b1" --prerelease=explicit
```
Add `task=True` to any tool, resource, resource template, or prompt decorator. This marks the component as capable of background execution.