diff --git a/docs/deployment/prefect-horizon.mdx b/docs/deployment/prefect-horizon.mdx index 4ca9a05f4b..a7d053813c 100644 --- a/docs/deployment/prefect-horizon.mdx +++ b/docs/deployment/prefect-horizon.mdx @@ -1,7 +1,7 @@ --- title: Prefect Horizon sidebarTitle: Prefect Horizon -description: Managed hosting and governance for MCP servers +description: The MCP platform from the FastMCP team icon: cloud --- diff --git a/docs/getting-started/installation.mdx b/docs/getting-started/installation.mdx index 9aeba83c93..9eb54bb16e 100644 --- a/docs/getting-started/installation.mdx +++ b/docs/getting-started/installation.mdx @@ -8,17 +8,17 @@ icon: arrow-down-to-line We recommend using [uv](https://docs.astral.sh/uv/getting-started/installation/) to install and manage FastMCP. -FastMCP 3.0 is currently in beta. Install by specifying the version explicitly. +FastMCP 3.0 is currently in beta. Package managers won't install beta versions by default—you must explicitly request one (e.g., `>=3.0.0b1`). ```bash -pip install fastmcp==3.0.0b1 +pip install "fastmcp>=3.0.0b1" ``` -If you plan to use FastMCP in a uv-managed project, you can add it as a dependency with: +Or with uv: ```bash -uv add fastmcp --prerelease=allow +uv add "fastmcp>=3.0.0b1" ``` ### Optional Dependencies diff --git a/docs/servers/tasks.mdx b/docs/servers/tasks.mdx index 585781a04e..24fdd4d9d9 100644 --- a/docs/servers/tasks.mdx +++ b/docs/servers/tasks.mdx @@ -43,9 +43,7 @@ MCP background tasks are different: they're **protocol-native**. This means MCP Background tasks require the `tasks` extra: ```bash -pip install "fastmcp[tasks]==3.0.0b1" -# or with uv -uv add "fastmcp[tasks]" --prerelease=allow +pip install "fastmcp[tasks]>=3.0.0b1" ``` Add `task=True` to any tool, resource, resource template, or prompt decorator. This marks the component as capable of background execution. diff --git a/pyproject.toml b/pyproject.toml index a2951b1e86..cedae204cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [{ name = "Jeremiah Lowin" }] dependencies = [ "python-dotenv>=1.1.0", "exceptiongroup>=1.2.2", - "httpx>=0.28.1", + "httpx>=0.28.1,<1.0", "mcp>=1.24.0,<2.0", "openapi-pydantic>=0.5.1", "opentelemetry-api>=1.20.0", diff --git a/uv.lock b/uv.lock index f92b18d517..e99b98367d 100644 --- a/uv.lock +++ b/uv.lock @@ -754,7 +754,7 @@ requires-dist = [ { name = "authlib", specifier = ">=1.6.5" }, { name = "cyclopts", specifier = ">=4.0.0" }, { name = "exceptiongroup", specifier = ">=1.2.2" }, - { name = "httpx", specifier = ">=0.28.1" }, + { name = "httpx", specifier = ">=0.28.1,<1.0" }, { name = "jsonref", specifier = ">=1.1.0" }, { name = "jsonschema-path", specifier = ">=0.3.4" }, { name = "mcp", specifier = ">=1.24.0,<2.0" },