Skip to content

Commit db1c755

Browse files
committed
Update Starlette dependency to >=0.49.1
Updates the Starlette dependency constraint from >=0.27 to >=0.49.1 across the main project and example servers to address security vulnerabilities in earlier versions.
1 parent 6f2cd0c commit db1c755

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

examples/servers/simple-streamablehttp-stateless/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.10"
77
authors = [{ name = "Anthropic, PBC." }]
88
keywords = ["mcp", "llm", "automation", "web", "fetch", "http", "streamable", "stateless"]
99
license = { text = "MIT" }
10-
dependencies = ["anyio>=4.5", "click>=8.2.0", "httpx>=0.27", "mcp", "starlette", "uvicorn"]
10+
dependencies = ["anyio>=4.5", "click>=8.2.0", "httpx>=0.27", "mcp", "starlette>=0.49.1", "uvicorn"]
1111

1212
[project.scripts]
1313
mcp-simple-streamablehttp-stateless = "mcp_simple_streamablehttp_stateless.server:main"

examples/servers/simple-streamablehttp/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.10"
77
authors = [{ name = "Anthropic, PBC." }]
88
keywords = ["mcp", "llm", "automation", "web", "fetch", "http", "streamable"]
99
license = { text = "MIT" }
10-
dependencies = ["anyio>=4.5", "click>=8.2.0", "httpx>=0.27", "mcp", "starlette", "uvicorn"]
10+
dependencies = ["anyio>=4.5", "click>=8.2.0", "httpx>=0.27", "mcp", "starlette>=0.49.1", "uvicorn"]
1111

1212
[project.scripts]
1313
mcp-simple-streamablehttp = "mcp_simple_streamablehttp.server:main"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"httpx>=0.27.1",
2727
"httpx-sse>=0.4",
2828
"pydantic>=2.11.0,<3.0.0",
29-
"starlette>=0.27",
29+
"starlette>=0.49.1",
3030
"python-multipart>=0.0.9",
3131
"sse-starlette>=1.6.1",
3232
"pydantic-settings>=2.5.2",

uv.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)