mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-20 12:34:17 +02:00
Compare commits
1 commit
main
...
docs/fix-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3739fc3751 |
2 changed files with 5 additions and 7 deletions
|
|
@ -12,13 +12,13 @@ FastMCP 3.0 is currently in beta. Install by specifying the version explicitly.
|
||||||
</Note>
|
</Note>
|
||||||
|
|
||||||
```bash
|
```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
|
```bash
|
||||||
uv add fastmcp --prerelease=allow
|
pip install "fastmcp>=3.0.0b1" --pre
|
||||||
```
|
```
|
||||||
|
|
||||||
### Optional Dependencies
|
### 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:
|
FastMCP provides optional extras for specific features. For example, to install the background tasks extra:
|
||||||
|
|
||||||
```bash
|
```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.
|
See [Background Tasks](/servers/tasks) for details on the task system.
|
||||||
|
|
|
||||||
|
|
@ -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:
|
<VersionBadge version="3.0.0" /> Background tasks require the `tasks` extra:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install "fastmcp[tasks]==3.0.0b1"
|
uv add "fastmcp[tasks]>=3.0.0b1" --prerelease=explicit
|
||||||
# or with uv
|
|
||||||
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.
|
Add `task=True` to any tool, resource, resource template, or prompt decorator. This marks the component as capable of background execution.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue