Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update dependencies

Jeremiah Lowina07772791253
diff --git a/pyproject.toml b/pyproject.toml
index 4bf2562f7..26720e1f1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,6 +9,8 @@ dependencies = [
"rich>=13.9.4",
"typer>=0.15.2",
"websockets>=15.0.1",
+ "fastapi>=0.115.12",
+ "openapi-pydantic>=0.5.1",
]
requires-python = ">=3.10"
readme = "README.md"
@@ -18,14 +20,7 @@ license = { text = "Apache-2.0" }
fastmcp = "fastmcp.cli:app"
[project.optional-dependencies]
-openapi = [
- "fastapi>=0.115.12",
- "openapi-pydantic>=0.5.1",
-]
-[build-system]
-requires = ["hatchling>=1.21.0", "hatch-vcs>=0.4.0"]
-build-backend = "hatchling.build"
[dependency-groups]
dev = [
@@ -41,6 +36,9 @@ dev = [
"pdbpp>=0.10.3",
"dirty-equals>=0.9.0",
]
+[build-system]
+requires = ["hatchling>=1.21.0", "hatch-vcs>=0.4.0"]
+build-backend = "hatchling.build"
[tool.uv]
# no default groups
diff --git a/uv.lock b/uv.lock
index 5181f743b..a3b445223 100644
--- a/uv.lock
+++ b/uv.lock
@@ -254,22 +254,18 @@ wheels = [
[[package]]
name = "fastmcp"
-version = "0.4.2.dev38+g8f79109.d20250410"
+version = "0.4.2.dev40+g8720a78.d20250410"
source = { editable = "." }
dependencies = [
{ name = "dotenv" },
+ { name = "fastapi" },
{ name = "mcp" },
+ { name = "openapi-pydantic" },
{ name = "rich" },
{ name = "typer" },
{ name = "websockets" },
]
-[package.optional-dependencies]
-openapi = [
- { name = "fastapi" },
- { name = "openapi-pydantic" },
-]
-
[package.dev-dependencies]
dev = [
{ name = "copychat" },
@@ -288,9 +284,9 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "dotenv", specifier = ">=0.9.9" },
- { name = "fastapi", marker = "extra == 'openapi'", specifier = ">=0.115.12" },
+ { name = "fastapi", specifier = ">=0.115.12" },
{ name = "mcp", specifier = ">=1.6.0,<2.0.0" },
- { name = "openapi-pydantic", marker = "extra == 'openapi'", specifier = ">=0.5.1" },
+ { name = "openapi-pydantic", specifier = ">=0.5.1" },
{ name = "rich", specifier = ">=13.9.4" },
{ name = "typer", specifier = ">=0.15.2" },
{ name = "websockets", specifier = ">=15.0.1" },