🚀 The fast, Pythonic way to build MCP servers and clients.
Pin httpx < 1.0 and simplify beta install docs (#2975)
Jeremiah Lowin41c56481af4b
diff --git a/docs/deployment/prefect-horizon.mdx b/docs/deployment/prefect-horizon.mdxindex 4ca9a05f4..a7d053813 100644--- a/docs/deployment/prefect-horizon.mdx+++ b/docs/deployment/prefect-horizon.mdx@@ -1,7 +1,7 @@---title: Prefect HorizonsidebarTitle: Prefect Horizon-description: Managed hosting and governance for MCP servers+description: The MCP platform from the FastMCP teamicon: cloud---diff --git a/docs/getting-started/installation.mdx b/docs/getting-started/installation.mdxindex 9aeba83c9..9eb54bb16 100644--- a/docs/getting-started/installation.mdx+++ b/docs/getting-started/installation.mdx@@ -8,17 +8,17 @@ icon: arrow-down-to-lineWe recommend using [uv](https://docs.astral.sh/uv/getting-started/installation/) to install and manage FastMCP.<Note>-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`).</Note>```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 Dependenciesdiff --git a/docs/servers/tasks.mdx b/docs/servers/tasks.mdxindex 585781a04..24fdd4d9d 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<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+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.tomlindex a2951b1e8..cedae204c 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.lockindex f92b18d51..e99b98367 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" },