8000 Integrate FastMCP · jonaku/mcp-python-sdk@557e90d · GitHub
[go: up one dir, main page]

Skip to content

Commit 557e90d

Browse files
committed
Integrate FastMCP
This commit integrates FastMCP, a high-level MCP server implementation originally written by Jeremiah Lowin, into the official MCP SDK. It also updates dependencies and adds new dev dependencies. It moves the existing SDK into a .lowlevel .
1 parent e98291e commit 557e90d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+4875
-521
lines changed

pyproject.toml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
4-
51
[project]
62
name = "mcp"
73
version = "1.1.2.dev0"
@@ -29,11 +25,31 @@ dependencies = [
2925
"anyio>=4.5",
3026
"httpx>=0.27",
3127
"httpx-sse>=0.4",
32-
"pydantic>=2.7.2",
28+
"pydantic>=2.7.2,<3.0.0",
3329
"starlette>=0.27",
3430
"sse-starlette>=1.6.1",
31+
"pydantic-settings>=2.6.1",
32+
]
33+
34+
[project.optional-dependencies]
35+
rich = ["rich>=13.9.4"]
36+
37+
[tool.uv]
38+
resolution = "lowest-direct"
39+
dev-dependencies = [
40+
"pyright>=1.1.378",
41+
"pytest>=8.3.3",
42+
"ruff>=0.6.9",
43+
"trio>=0.26.2",
44+
"pytest-flakefinder>=1.1.0",
45+
"pytest-xdist>=3.6.1",
46+
"pytest-asyncio>=0.24.0",
3547
]
3648

49+
[build-system]
50+
requires = ["hatchling"]
51+
build-backend = "hatchling.build"
52+
3753
[project.urls]
3854
Homepage = "https://modelcontextprotocol.io"
3955
Repository = "https://github.com/modelcontextprotocol/python-sdk"
@@ -58,15 +74,6 @@ target-version = "py310"
5874
[tool.ruff.lint.per-file-ignores]
5975
"__init__.py" = ["F401"]
6076

61-
[tool.uv]
62-
resolution = "lowest-direct"
63-
dev-dependencies = [
64-
"pyright>=1.1.378",
65-
"pytest>=8 5DC8 .3.3",
66-
"ruff>=0.6.9",
67-
"trio>=0.26.2",
68-
]
69-
7077
[tool.uv.workspace]
7178
members = ["examples/servers/*"]
7279

0 commit comments

Comments
 (0)
0