mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 22:14:18 +02:00
Removes deprecations that shipped replacements in 3.0:
- FastMCP.as_proxy() classmethod -> create_proxy()
- import_server() -> mount()
- mount(prefix=) -> namespace=
- mount(as_proxy=) -> now meaningless; mounts always invoke lifespan/middleware
- add_tool_transformation() -> add_transform(ToolTransform({...}))
- remove_tool_transformation() -> pure no-op that warned callers it had no
effect; removed entirely
- FastMCP.remove_tool() -> mcp.local_provider.remove_tool()
Also drops the now-unused URI_PATTERN/re import and FastMCPDeprecationWarning
import. The _REMOVED_KWARGS TypeError shim is retained.
|
||
|---|---|---|
| .. | ||
| openapi | ||
| server | ||
| __init__.py | ||
| conftest.py | ||
| test_deprecated.py | ||
| test_elicitation.py | ||
| test_exclude_args.py | ||
| test_function_component_imports.py | ||
| test_openapi_deprecations.py | ||
| test_settings.py | ||
| test_tool_injection_middleware.py | ||
| test_tool_serializer.py | ||