python-sdk/mcp_python/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Soria Parra 935fe5d1a0
Make call_tool() return value covariant
`list` is invariant, hence handlers can't just return `list[str]`.
We need to use Sequence here.
2024-11-10 21:47:26 +00:00
..
__init__.py Make call_tool() return value covariant 2024-11-10 21:47:26 +00:00
__main__.py Format with ruff 2024-10-11 16:14:11 +01:00
session.py Formatting 2024-11-06 12:35:32 +00:00
sse.py Format with ruff 2024-10-11 16:14:11 +01:00
stdio.py Format with ruff 2024-10-11 16:14:11 +01:00
types.py Formatting 2024-11-06 12:35:32 +00:00
websocket.py Format with ruff 2024-10-11 16:14:11 +01:00